diff --git a/pom.xml b/pom.xml index b963429..40c394c 100644 --- a/pom.xml +++ b/pom.xml @@ -105,16 +105,18 @@ slf4j-api ${slf4j.version} - - org.apache.logging.log4j - log4j-slf4j2-impl - 2.21.1 - junit junit 4.13.2 + + + org.apache.logging.log4j + log4j-slf4j2-impl + 2.21.1 + test + @@ -169,7 +171,7 @@ maven-surefire-plugin 3.2.2 - de.rwh.utils.test.DockerTest + de.hsheilbronn.mi.utils.test.IntegrationTest @@ -180,7 +182,7 @@ **/* - de.rwh.utils.test.DockerTest + de.hsheilbronn.mi.utils.test.IntegrationTest diff --git a/src/main/java/de/rwh/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRule.java b/src/main/java/de/hsheilbronn/mi/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRule.java similarity index 99% rename from src/main/java/de/rwh/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRule.java rename to src/main/java/de/hsheilbronn/mi/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRule.java index 478643d..7d1e6c0 100644 --- a/src/main/java/de/rwh/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRule.java +++ b/src/main/java/de/hsheilbronn/mi/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRule.java @@ -1,4 +1,4 @@ -package de.rwh.utils.test; +package de.hsheilbronn.mi.utils.test; import java.io.ByteArrayOutputStream; import java.sql.Connection; diff --git a/src/main/java/de/rwh/utils/test/PostgreSqlContainerLiquibaseTemplateClassRule.java b/src/main/java/de/hsheilbronn/mi/utils/test/PostgreSqlContainerLiquibaseTemplateClassRule.java similarity index 99% rename from src/main/java/de/rwh/utils/test/PostgreSqlContainerLiquibaseTemplateClassRule.java rename to src/main/java/de/hsheilbronn/mi/utils/test/PostgreSqlContainerLiquibaseTemplateClassRule.java index 943ad70..a0e7444 100644 --- a/src/main/java/de/rwh/utils/test/PostgreSqlContainerLiquibaseTemplateClassRule.java +++ b/src/main/java/de/hsheilbronn/mi/utils/test/PostgreSqlContainerLiquibaseTemplateClassRule.java @@ -1,4 +1,4 @@ -package de.rwh.utils.test; +package de.hsheilbronn.mi.utils.test; import java.io.ByteArrayOutputStream; import java.sql.Connection; diff --git a/src/main/java/de/rwh/utils/test/PostgresTemplateRule.java b/src/main/java/de/hsheilbronn/mi/utils/test/PostgresTemplateRule.java similarity index 98% rename from src/main/java/de/rwh/utils/test/PostgresTemplateRule.java rename to src/main/java/de/hsheilbronn/mi/utils/test/PostgresTemplateRule.java index f35a156..feafcc8 100644 --- a/src/main/java/de/rwh/utils/test/PostgresTemplateRule.java +++ b/src/main/java/de/hsheilbronn/mi/utils/test/PostgresTemplateRule.java @@ -1,4 +1,4 @@ -package de.rwh.utils.test; +package de.hsheilbronn.mi.utils.test; import java.sql.Connection; import java.sql.PreparedStatement; diff --git a/src/main/java/de/rwh/utils/test/TemplateClassRule.java b/src/main/java/de/hsheilbronn/mi/utils/test/TemplateClassRule.java similarity index 90% rename from src/main/java/de/rwh/utils/test/TemplateClassRule.java rename to src/main/java/de/hsheilbronn/mi/utils/test/TemplateClassRule.java index 9703d9e..2266c6d 100644 --- a/src/main/java/de/rwh/utils/test/TemplateClassRule.java +++ b/src/main/java/de/hsheilbronn/mi/utils/test/TemplateClassRule.java @@ -1,4 +1,4 @@ -package de.rwh.utils.test; +package de.hsheilbronn.mi.utils.test; import org.apache.commons.dbcp2.BasicDataSource; diff --git a/src/test/java/de/rwh/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRuleTest.java b/src/test/java/de/hsheilbronn/mi/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRuleTest.java similarity index 97% rename from src/test/java/de/rwh/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRuleTest.java rename to src/test/java/de/hsheilbronn/mi/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRuleTest.java index 4b30752..64c5fc6 100644 --- a/src/test/java/de/rwh/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRuleTest.java +++ b/src/test/java/de/hsheilbronn/mi/utils/test/ExternalPostgreSqlLiquibaseTemplateClassRuleTest.java @@ -1,4 +1,4 @@ -package de.rwh.utils.test; +package de.hsheilbronn.mi.utils.test; import static org.junit.Assert.assertEquals; @@ -17,7 +17,7 @@ import org.slf4j.LoggerFactory; import org.slf4j.bridge.SLF4JBridgeHandler; -@Category(DockerTest.class) +@Category(IntegrationTest.class) public class ExternalPostgreSqlLiquibaseTemplateClassRuleTest { static diff --git a/src/test/java/de/hsheilbronn/mi/utils/test/IntegrationTest.java b/src/test/java/de/hsheilbronn/mi/utils/test/IntegrationTest.java new file mode 100644 index 0000000..0ec7126 --- /dev/null +++ b/src/test/java/de/hsheilbronn/mi/utils/test/IntegrationTest.java @@ -0,0 +1,6 @@ +package de.hsheilbronn.mi.utils.test; + +public interface IntegrationTest +{ + +} diff --git a/src/test/java/de/rwh/utils/test/PostgreSqlContainerLiquibaseTemplateClassRuleTest.java b/src/test/java/de/hsheilbronn/mi/utils/test/PostgreSqlContainerLiquibaseTemplateClassRuleTest.java similarity index 98% rename from src/test/java/de/rwh/utils/test/PostgreSqlContainerLiquibaseTemplateClassRuleTest.java rename to src/test/java/de/hsheilbronn/mi/utils/test/PostgreSqlContainerLiquibaseTemplateClassRuleTest.java index a9d8d3d..8dbb7af 100644 --- a/src/test/java/de/rwh/utils/test/PostgreSqlContainerLiquibaseTemplateClassRuleTest.java +++ b/src/test/java/de/hsheilbronn/mi/utils/test/PostgreSqlContainerLiquibaseTemplateClassRuleTest.java @@ -1,4 +1,4 @@ -package de.rwh.utils.test; +package de.hsheilbronn.mi.utils.test; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/de/rwh/utils/test/DockerTest.java b/src/test/java/de/rwh/utils/test/DockerTest.java deleted file mode 100644 index 17ab474..0000000 --- a/src/test/java/de/rwh/utils/test/DockerTest.java +++ /dev/null @@ -1,6 +0,0 @@ -package de.rwh.utils.test; - -public interface DockerTest -{ - -} diff --git a/src/test/resources/log4j2.xml b/src/test/resources/log4j2.xml index d679a8c..21f5b7d 100644 --- a/src/test/resources/log4j2.xml +++ b/src/test/resources/log4j2.xml @@ -1,22 +1,13 @@ - - - + - - - + + + - - + - - - - -