This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch CAMEL-13965 in repository https://gitbox.apache.org/repos/asf/camel.git
commit ae5f510bbfe4d5f122a6c1b441a89555687f20f8 Author: aldettinger <aldettin...@gmail.com> AuthorDate: Wed Sep 11 10:43:55 2019 +0200 CAMEL-13965: Moved classes to a dedicated junit5 package --- .../apache/camel/test/spring/junit5/CamelAnnotationsHandler.java | 4 ++-- .../camel/test/spring/junit5/CamelSpringBootExecutionListener.java | 2 +- .../org/apache/camel/test/spring/junit5/CamelSpringBootRunner.java | 2 +- .../java/org/apache/camel/test/spring/junit5/CamelSpringRunner.java | 4 ++-- .../camel/test/spring/junit5/CamelSpringTestContextLoader.java | 6 +++--- .../junit5/CamelSpringTestContextLoaderTestExecutionListener.java | 2 +- .../org/apache/camel/test/spring/junit5/CamelSpringTestHelper.java | 2 +- .../org/apache/camel/test/spring/junit5/CamelSpringTestSupport.java | 2 +- .../camel/test/spring/junit5/CamelTestContextBootstrapper.java | 2 +- .../main/java/org/apache/camel/test/spring/junit5/DisableJmx.java | 2 +- .../camel/test/spring/junit5/DisableJmxTestExecutionListener.java | 2 +- .../org/apache/camel/test/spring/junit5/EnableRouteCoverage.java | 2 +- .../java/org/apache/camel/test/spring/junit5/ExcludeRoutes.java | 2 +- .../java/org/apache/camel/test/spring/junit5/MockEndpoints.java | 2 +- .../org/apache/camel/test/spring/junit5/MockEndpointsAndSkip.java | 2 +- .../org/apache/camel/test/spring/junit5/ProvidesBreakpoint.java | 2 +- .../org/apache/camel/test/spring/junit5/RouteCoverageDumper.java | 2 +- .../apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java | 2 +- .../java/org/apache/camel/test/spring/junit5/ShutdownTimeout.java | 2 +- .../camel/test/spring/junit5/StopWatchTestExecutionListener.java | 2 +- .../java/org/apache/camel/test/spring/junit5/UseAdviceWith.java | 2 +- .../spring/junit5/UseOverridePropertiesWithPropertiesComponent.java | 2 +- .../AdviceWithInterceptSendToEndpointWithLoadbalancerTest.java | 2 +- .../org/apache/camel/test/issues/AdviceWithOnCompletionTest.java | 2 +- .../camel/test/issues/AdviceWithOnExceptionMultipleIssueTest.java | 2 +- .../java/org/apache/camel/test/issues/MockEndpointsAndSkipTest.java | 2 +- .../test/java/org/apache/camel/test/patterns/DebugSpringTest.java | 2 +- .../test/java/org/apache/camel/test/patterns/ProduceBeanTest.java | 2 +- .../test/java/org/apache/camel/test/patterns/SimpleMockTest.java | 2 +- .../org/apache/camel/test/spring/CamelSpringActiveProfileTest.java | 1 + .../spring/CamelSpringOverridePropertiesForPropertyInjectTest.java | 3 +++ .../apache/camel/test/spring/CamelSpringOverridePropertiesTest.java | 3 +++ .../camel/test/spring/CamelSpringPropertiesLocationElementTest.java | 2 ++ .../test/spring/CamelSpringRouteProcessorDumpRouteCoverageTest.java | 1 + .../spring/CamelSpringRunnerDisableJmxInheritedOverrideTest.java | 2 +- .../apache/camel/test/spring/CamelSpringRunnerDisableJmxTest.java | 1 + .../camel/test/spring/CamelSpringRunnerExcludeRoutesTest.java | 1 + .../org/apache/camel/test/spring/CamelSpringRunnerPlainTest.java | 3 +++ .../camel/test/spring/CamelSpringRunnerProvidesBreakpointTest.java | 2 +- .../CamelSpringRunnerShutdownTimeoutInheritedOverrideTest.java | 1 + .../camel/test/spring/CamelSpringRunnerShutdownTimeoutTest.java | 1 + .../camel/test/spring/CamelSpringRunnerTestPropertySourceTest.java | 2 ++ .../camel/test/spring/CamelSpringRunnerUseAdviceWithTest.java | 2 ++ .../camel/test/spring/CamelSpringTestSupportActiveProfileTest.java | 1 + 44 files changed, 57 insertions(+), 35 deletions(-) diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelAnnotationsHandler.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelAnnotationsHandler.java index d28eb14..7b27f29 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelAnnotationsHandler.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelAnnotationsHandler.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.reflect.Method; import java.lang.reflect.Modifier; @@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.core.annotation.AnnotationUtils; -import static org.apache.camel.test.spring.CamelSpringTestHelper.getAllMethods; +import static org.apache.camel.test.spring.junit5.CamelSpringTestHelper.getAllMethods; public final class CamelAnnotationsHandler { diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringBootExecutionListener.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringBootExecutionListener.java index 9b59ba8..6af0e50 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringBootExecutionListener.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringBootExecutionListener.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import org.apache.camel.spring.SpringCamelContext; import org.slf4j.Logger; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringBootRunner.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringBootRunner.java index d499bb8..63877ca 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringBootRunner.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringBootRunner.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.util.List; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringRunner.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringRunner.java index 9f2569a..64a86f9 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringRunner.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringRunner.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.util.List; @@ -24,7 +24,7 @@ import org.springframework.test.context.TestExecutionListener; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; /** - * An implementation bringing the functionality of {@link org.apache.camel.test.spring.CamelSpringTestSupport} to + * An implementation bringing the functionality of {@link org.apache.camel.test.spring.junit5.CamelSpringTestSupport} to * Spring Test based test cases. This approach allows developers to implement tests * for their Spring based applications/routes using the typical Spring Test conventions * for test development. diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestContextLoader.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestContextLoader.java index df4d626..60a7539 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestContextLoader.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestContextLoader.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.reflect.Method; import java.lang.reflect.Modifier; @@ -38,7 +38,7 @@ import org.apache.camel.spi.PropertiesComponent; import org.apache.camel.spring.SpringCamelContext; import org.apache.camel.test.ExcludingPackageScanClassResolver; import org.apache.camel.test.junit4.CamelTestSupport; -import org.apache.camel.test.spring.CamelSpringTestHelper.DoToSpringCamelContextsStrategy; +import org.apache.camel.test.spring.junit5.CamelSpringTestHelper.DoToSpringCamelContextsStrategy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.config.BeanPostProcessor; @@ -55,7 +55,7 @@ import org.springframework.test.context.support.AbstractGenericContextLoader; import org.springframework.test.context.support.GenericXmlContextLoader; import org.springframework.util.StringUtils; -import static org.apache.camel.test.spring.CamelSpringTestHelper.getAllMethods; +import static org.apache.camel.test.spring.junit5.CamelSpringTestHelper.getAllMethods; /** * Replacement for the default {@link GenericXmlContextLoader} that provides hooks for diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestContextLoaderTestExecutionListener.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestContextLoaderTestExecutionListener.java index 8bd41f6..f22d5b5 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestContextLoaderTestExecutionListener.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestContextLoaderTestExecutionListener.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import org.springframework.core.Ordered; import org.springframework.test.context.TestContext; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestHelper.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestHelper.java index 7242054..1c8e91a 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestHelper.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestHelper.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.reflect.Method; import java.util.Arrays; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestSupport.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestSupport.java index 4e8ff41..d77b6ab 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestSupport.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelSpringTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.util.Arrays; import java.util.HashSet; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelTestContextBootstrapper.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelTestContextBootstrapper.java index 192d2d3..6120d02 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelTestContextBootstrapper.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/CamelTestContextBootstrapper.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import org.springframework.test.context.ContextLoader; import org.springframework.test.context.support.DefaultTestContextBootstrapper; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/DisableJmx.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/DisableJmx.java index 0117544..2289569 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/DisableJmx.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/DisableJmx.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/DisableJmxTestExecutionListener.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/DisableJmxTestExecutionListener.java index cc04c96..6cc9761 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/DisableJmxTestExecutionListener.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/DisableJmxTestExecutionListener.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import org.apache.camel.api.management.JmxSystemPropertyKeys; import org.springframework.test.context.TestContext; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/EnableRouteCoverage.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/EnableRouteCoverage.java index a6e9c00..4b3c7db 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/EnableRouteCoverage.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/EnableRouteCoverage.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ExcludeRoutes.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ExcludeRoutes.java index d1315c5..c0e0ddb 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ExcludeRoutes.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ExcludeRoutes.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/MockEndpoints.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/MockEndpoints.java index 3eff4ce..0a0da64 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/MockEndpoints.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/MockEndpoints.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/MockEndpointsAndSkip.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/MockEndpointsAndSkip.java index dc09818..bad37b7 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/MockEndpointsAndSkip.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/MockEndpointsAndSkip.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ProvidesBreakpoint.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ProvidesBreakpoint.java index 19a6fdc..e5620dc 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ProvidesBreakpoint.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ProvidesBreakpoint.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java index be8a29e..34816ef 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.io.ByteArrayInputStream; import java.io.File; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java index 55474fa..b5b6d8e 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.util.function.Function; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ShutdownTimeout.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ShutdownTimeout.java index 2c3ac6c..a8c8efd 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ShutdownTimeout.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/ShutdownTimeout.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/StopWatchTestExecutionListener.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/StopWatchTestExecutionListener.java index f9e3585..39e8fca 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/StopWatchTestExecutionListener.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/StopWatchTestExecutionListener.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import org.apache.camel.util.StopWatch; import org.apache.camel.util.TimeUtils; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/UseAdviceWith.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/UseAdviceWith.java index a114705..a5e0dab 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/UseAdviceWith.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/UseAdviceWith.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/UseOverridePropertiesWithPropertiesComponent.java b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/UseOverridePropertiesWithPropertiesComponent.java index 0051181..8dff150 100644 --- a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/UseOverridePropertiesWithPropertiesComponent.java +++ b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/UseOverridePropertiesWithPropertiesComponent.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.test.spring; +package org.apache.camel.test.spring.junit5; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithInterceptSendToEndpointWithLoadbalancerTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithInterceptSendToEndpointWithLoadbalancerTest.java index 1456d1d..9ef5490 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithInterceptSendToEndpointWithLoadbalancerTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithInterceptSendToEndpointWithLoadbalancerTest.java @@ -19,7 +19,7 @@ package org.apache.camel.test.issues; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.model.RouteDefinition; import org.apache.camel.reifier.RouteReifier; -import org.apache.camel.test.spring.CamelSpringTestSupport; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnCompletionTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnCompletionTest.java index eeae215..4eb0244 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnCompletionTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnCompletionTest.java @@ -19,7 +19,7 @@ package org.apache.camel.test.issues; import org.apache.camel.builder.AdviceWithRouteBuilder; import org.apache.camel.model.RouteDefinition; import org.apache.camel.reifier.RouteReifier; -import org.apache.camel.test.spring.CamelSpringTestSupport; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionMultipleIssueTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionMultipleIssueTest.java index a9c7007..5d20a3e 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionMultipleIssueTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/AdviceWithOnExceptionMultipleIssueTest.java @@ -20,7 +20,7 @@ import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.AdviceWithRouteBuilder; import org.apache.camel.reifier.RouteReifier; -import org.apache.camel.test.spring.CamelSpringTestSupport; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/MockEndpointsAndSkipTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/MockEndpointsAndSkipTest.java index b2dcbff..259e6f8 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/MockEndpointsAndSkipTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/issues/MockEndpointsAndSkipTest.java @@ -16,7 +16,7 @@ */ package org.apache.camel.test.issues; -import org.apache.camel.test.spring.CamelSpringTestSupport; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/DebugSpringTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/DebugSpringTest.java index 72e841a..e82d2e0 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/DebugSpringTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/DebugSpringTest.java @@ -20,7 +20,7 @@ import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.model.ProcessorDefinition; -import org.apache.camel.test.spring.CamelSpringTestSupport; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.GenericApplicationContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/ProduceBeanTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/ProduceBeanTest.java index dc1b762..f36ff86 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/ProduceBeanTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/ProduceBeanTest.java @@ -16,7 +16,7 @@ */ package org.apache.camel.test.patterns; -import org.apache.camel.test.spring.CamelSpringTestSupport; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java index c257e68..a15db3e 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/patterns/SimpleMockTest.java @@ -20,7 +20,7 @@ import org.apache.camel.EndpointInject; import org.apache.camel.Produce; import org.apache.camel.ProducerTemplate; import org.apache.camel.component.mock.MockEndpoint; -import org.apache.camel.test.spring.CamelSpringTestSupport; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringActiveProfileTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringActiveProfileTest.java index 8ef9de6..8623a82 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringActiveProfileTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringActiveProfileTest.java @@ -20,6 +20,7 @@ import org.apache.camel.CamelContext; import org.apache.camel.Produce; import org.apache.camel.ProducerTemplate; import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.test.spring.junit5.CamelSpringRunner; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java index 493e9a8..939d6ce 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java @@ -20,6 +20,9 @@ import java.util.Properties; import org.apache.camel.Produce; import org.apache.camel.ProducerTemplate; +import org.apache.camel.test.spring.junit5.CamelSpringRunner; +import org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper; +import org.apache.camel.test.spring.junit5.UseOverridePropertiesWithPropertiesComponent; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.annotation.DirtiesContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesTest.java index d28e2dd..c4aea6c 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesTest.java @@ -22,6 +22,9 @@ import org.apache.camel.EndpointInject; import org.apache.camel.Produce; import org.apache.camel.ProducerTemplate; import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.test.spring.junit5.CamelSpringRunner; +import org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper; +import org.apache.camel.test.spring.junit5.UseOverridePropertiesWithPropertiesComponent; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.annotation.DirtiesContext; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringPropertiesLocationElementTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringPropertiesLocationElementTest.java index 13389e5..737c5fa 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringPropertiesLocationElementTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringPropertiesLocationElementTest.java @@ -24,6 +24,8 @@ import org.apache.camel.Produce; import org.apache.camel.ProducerTemplate; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.component.properties.PropertiesComponent; +import org.apache.camel.test.spring.junit5.CamelSpringRunner; +import org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRouteProcessorDumpRouteCoverageTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRouteProcessorDumpRouteCoverageTest.java index bb0c79b..61f3c82 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRouteProcessorDumpRouteCoverageTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRouteProcessorDumpRouteCoverageTest.java @@ -20,6 +20,7 @@ import java.io.File; import org.apache.camel.management.JmxManagementStrategy; import org.apache.camel.test.junit4.TestSupport; +import org.apache.camel.test.spring.junit5.EnableRouteCoverage; import org.junit.BeforeClass; import org.junit.Test; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerDisableJmxInheritedOverrideTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerDisableJmxInheritedOverrideTest.java index e53e8e9..4befba9 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerDisableJmxInheritedOverrideTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerDisableJmxInheritedOverrideTest.java @@ -17,7 +17,7 @@ package org.apache.camel.test.spring; import org.apache.camel.impl.engine.DefaultManagementStrategy; - +import org.apache.camel.test.spring.junit5.DisableJmx; import org.junit.Test; import static org.junit.Assert.assertEquals; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerDisableJmxTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerDisableJmxTest.java index 937e050..2a1d59b 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerDisableJmxTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerDisableJmxTest.java @@ -17,6 +17,7 @@ package org.apache.camel.test.spring; import org.apache.camel.management.JmxManagementStrategy; +import org.apache.camel.test.spring.junit5.DisableJmx; import org.junit.Test; import static org.junit.Assert.assertEquals; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerExcludeRoutesTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerExcludeRoutesTest.java index 3244a60..898e9e4 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerExcludeRoutesTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerExcludeRoutesTest.java @@ -16,6 +16,7 @@ */ package org.apache.camel.test.spring; +import org.apache.camel.test.spring.junit5.ExcludeRoutes; import org.junit.Test; import static org.junit.Assert.assertNull; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerPlainTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerPlainTest.java index f5d0fb6..a289f1a 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerPlainTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerPlainTest.java @@ -25,6 +25,9 @@ import org.apache.camel.ProducerTemplate; import org.apache.camel.ServiceStatus; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.impl.engine.DefaultManagementStrategy; +import org.apache.camel.test.spring.junit5.CamelSpringRunner; +import org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper; +import org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener; import org.apache.camel.util.StopWatch; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerProvidesBreakpointTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerProvidesBreakpointTest.java index 3a89e1e..9e28cb4 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerProvidesBreakpointTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerProvidesBreakpointTest.java @@ -21,7 +21,7 @@ import org.apache.camel.NamedNode; import org.apache.camel.Processor; import org.apache.camel.processor.interceptor.BreakpointSupport; import org.apache.camel.spi.Breakpoint; - +import org.apache.camel.test.spring.junit5.ProvidesBreakpoint; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerShutdownTimeoutInheritedOverrideTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerShutdownTimeoutInheritedOverrideTest.java index 0d19466..8c45cd6 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerShutdownTimeoutInheritedOverrideTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerShutdownTimeoutInheritedOverrideTest.java @@ -18,6 +18,7 @@ package org.apache.camel.test.spring; import java.util.concurrent.TimeUnit; +import org.apache.camel.test.spring.junit5.ShutdownTimeout; import org.junit.Test; import static org.junit.Assert.assertEquals; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerShutdownTimeoutTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerShutdownTimeoutTest.java index 3b33cb7..4e2005b 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerShutdownTimeoutTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerShutdownTimeoutTest.java @@ -18,6 +18,7 @@ package org.apache.camel.test.spring; import java.util.concurrent.TimeUnit; +import org.apache.camel.test.spring.junit5.ShutdownTimeout; import org.junit.Test; import static org.junit.Assert.assertEquals; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerTestPropertySourceTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerTestPropertySourceTest.java index 576a4d6..d2b88c5 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerTestPropertySourceTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerTestPropertySourceTest.java @@ -20,6 +20,8 @@ import org.apache.camel.EndpointInject; import org.apache.camel.Produce; import org.apache.camel.ProducerTemplate; import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.test.spring.junit5.CamelSpringRunner; +import org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.BootstrapWith; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerUseAdviceWithTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerUseAdviceWithTest.java index a826b8a..94d026c 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerUseAdviceWithTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringRunnerUseAdviceWithTest.java @@ -17,6 +17,8 @@ package org.apache.camel.test.spring; import org.apache.camel.ServiceStatus; +import org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener; +import org.apache.camel.test.spring.junit5.UseAdviceWith; import org.apache.camel.util.StopWatch; import org.junit.Before; import org.junit.Test; diff --git a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringTestSupportActiveProfileTest.java b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringTestSupportActiveProfileTest.java index 29a4e77..880e93b 100644 --- a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringTestSupportActiveProfileTest.java +++ b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringTestSupportActiveProfileTest.java @@ -16,6 +16,7 @@ */ package org.apache.camel.test.spring; +import org.apache.camel.test.spring.junit5.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext;