1
0
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:
The-Lum 2024-02-12 19:13:02 +00:00
parent 68fdb662fe
commit e11d974ce5
16 changed files with 20 additions and 20 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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 {

View File

@ -1,4 +1,4 @@
package net.sourceforge.plantuml.test;
package test.utils;
import static org.assertj.core.api.Assertions.assertThat;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package net.sourceforge.plantuml.test;
package test.utils;
import static java.util.Objects.requireNonNull;

View File

@ -1,4 +1,4 @@
package net.sourceforge.plantuml.test;
package test.utils;
import static java.nio.charset.StandardCharsets.UTF_8;