mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-28 07:46:28 +00:00
refactor: place net.sourceforge.plantuml.test
on test.utils
Create `test` folder with: - `example` - `utils` And put all `net.sourceforge.plantuml.test` on `test.utils`. _[no other change]_
This commit is contained in:
parent
68fdb662fe
commit
e11d974ce5
@ -1,9 +1,9 @@
|
||||
package net.sourceforge.plantuml;
|
||||
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
import static net.sourceforge.plantuml.test.TestUtils.writeUtf8File;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.util.Lists.newArrayList;
|
||||
import static test.utils.TestUtils.writeUtf8File;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.sourceforge.plantuml;
|
||||
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
import static net.sourceforge.plantuml.test.TestUtils.writeUtf8File;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.util.Lists.newArrayList;
|
||||
import static test.utils.TestUtils.writeUtf8File;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
import java.io.ByteArrayInputStream;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.plantuml.tim.stdlib;
|
||||
|
||||
import static net.sourceforge.plantuml.test.JunitUtils.StringJsonConverter;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutput;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutputFromInput;
|
||||
import static test.utils.JunitUtils.StringJsonConverter;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.plantuml.tim.stdlib;
|
||||
|
||||
import static net.sourceforge.plantuml.test.JunitUtils.StringJsonConverter;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutput;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutputFromInput;
|
||||
import static test.utils.JunitUtils.StringJsonConverter;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.plantuml.tim.stdlib;
|
||||
|
||||
import static net.sourceforge.plantuml.test.JunitUtils.StringJsonConverter;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutput;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutputFromInput;
|
||||
import static test.utils.JunitUtils.StringJsonConverter;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.plantuml.tim.stdlib;
|
||||
|
||||
import static net.sourceforge.plantuml.test.JunitUtils.StringJsonConverter;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutput;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutputFromInput;
|
||||
import static test.utils.JunitUtils.StringJsonConverter;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.plantuml.tim.stdlib;
|
||||
|
||||
import static net.sourceforge.plantuml.test.JunitUtils.StringJsonConverter;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutput;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutputFromInput;
|
||||
import static test.utils.JunitUtils.StringJsonConverter;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.plantuml.tim.stdlib;
|
||||
|
||||
import static net.sourceforge.plantuml.test.JunitUtils.StringJsonConverter;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutput;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutputFromInput;
|
||||
import static test.utils.JunitUtils.StringJsonConverter;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package net.sourceforge.plantuml.tim.stdlib;
|
||||
|
||||
import static net.sourceforge.plantuml.test.JunitUtils.StringJsonConverter;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutput;
|
||||
import static net.sourceforge.plantuml.tim.TimTestUtils.assertTimExpectedOutputFromInput;
|
||||
import static test.utils.JunitUtils.StringJsonConverter;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.DisplayNameGenerator.ReplaceUnderscores;
|
||||
|
@ -1,11 +1,11 @@
|
||||
package testhelper;
|
||||
package test.example;
|
||||
|
||||
import static net.sourceforge.plantuml.test.PlantUmlTestUtils.exportDiagram;
|
||||
import static test.utils.PlantUmlTestUtils.exportDiagram;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class TestHelper {
|
||||
class TestExample {
|
||||
|
||||
@Test
|
||||
public void test_help_themes() throws Exception {
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.plantuml.test;
|
||||
package test.utils;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package net.sourceforge.plantuml.test;
|
||||
package test.utils;
|
||||
|
||||
import static net.sourceforge.plantuml.test.ImageTestUtils.assertImageSizeEqual;
|
||||
import static net.sourceforge.plantuml.test.ImageTestUtils.assertImagesEqual;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.fail;
|
||||
import static test.utils.ImageTestUtils.assertImageSizeEqual;
|
||||
import static test.utils.ImageTestUtils.assertImagesEqual;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.plantuml.test;
|
||||
package test.utils;
|
||||
|
||||
import org.junit.jupiter.params.converter.ArgumentConversionException;
|
||||
import org.junit.jupiter.params.converter.SimpleArgumentConverter;
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.plantuml.test;
|
||||
package test.utils;
|
||||
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.plantuml.test;
|
||||
package test.utils;
|
||||
|
||||
import static java.util.Objects.requireNonNull;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package net.sourceforge.plantuml.test;
|
||||
package test.utils;
|
||||
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
|
Loading…
Reference in New Issue
Block a user