diff --git a/pom.xml b/pom.xml index 20abf02..0641337 100644 --- a/pom.xml +++ b/pom.xml @@ -83,12 +83,6 @@ 5.9.2 test - - org.junit.platform - junit-platform-runner - 1.9.2 - test - org.mockito mockito-junit-jupiter @@ -237,23 +231,6 @@ - - coverage - - - - org.eluder.coveralls - coveralls-maven-plugin - - - ${project.build.directory}/site/jacoco/jacoco.xml - ${project.build.directory}/site/jacoco-it/jacoco.xml - - - - - - release diff --git a/src/test/java/io/xlate/inject/PropertyResourceProducerBeanWithConfigurationFile.java b/src/test/java/io/xlate/inject/PropertyResourceProducerBeanWithConfigurationFile.java index f6f97f8..68ca92b 100644 --- a/src/test/java/io/xlate/inject/PropertyResourceProducerBeanWithConfigurationFile.java +++ b/src/test/java/io/xlate/inject/PropertyResourceProducerBeanWithConfigurationFile.java @@ -16,29 +16,26 @@ ******************************************************************************/ package io.xlate.inject; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; + +import java.util.Properties; + +import javax.inject.Inject; + import org.jboss.weld.junit5.WeldInitiator; import org.jboss.weld.junit5.WeldJunit5Extension; import org.jboss.weld.junit5.WeldSetup; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; -import org.junit.platform.runner.JUnitPlatform; -import org.junit.runner.RunWith; -import javax.inject.Inject; -import java.util.Properties; - -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; - -@RunWith(JUnitPlatform.class) @ExtendWith(WeldJunit5Extension.class) -class PropertyResourceProducerBeanWithConfigurationFile { - - @WeldSetup - WeldInitiator weld = WeldInitiator - .from(PropertyResourceProducerBean.class, TestFileProvider.class) - .build(); +class PropertyResourceProducerBeanWithConfigurationFileIT { + @WeldSetup + WeldInitiator weld = WeldInitiator + .from(PropertyResourceProducerBean.class, TestFileProvider.class) + .build(); @Inject @PropertyResource @@ -51,9 +48,6 @@ class PropertyResourceProducerBeanWithConfigurationFile { @Test void testGlobalFile() { - WeldInitiator weld = WeldInitiator - .from(PropertyResourceProducerBean.class, TestFileProvider.class) - .build(); assertNotNull(defaultProps); System.out.println(defaultProps); assertEquals(3, defaultProps.size()); @@ -64,9 +58,6 @@ void testGlobalFile() { @Test void testGlobalFileOverriddenByLocalLocation() { - WeldInitiator weld = WeldInitiator - .from(PropertyResourceProducerBean.class, TestFileProvider.class) - .build(); assertNotNull(props2); System.out.println(props2); assertEquals(3, props2.size());