You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2019/09/25 14:48:42 UTC
[camel] branch master updated (d9353ff -> ccaa06e)
This is an automated email from the ASF dual-hosted git repository.
aldettinger pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.
from d9353ff Regen
add ccaa06e CAMEL-13965: Added the @CamelSpringBootTest annotation
No new revisions were added by this update.
Summary of changes:
components/camel-spring-boot/pom.xml | 7 +--
.../src/main/docs/spring-boot.adoc | 52 ++++++++++++++++++++-
.../MyApplicationTest.java} | 40 +++++++---------
.../boot/{mockendpoints => example}/MyRoute.java | 6 +--
.../spring/boot/issues/StreamCachingTest.java | 4 +-
.../spring/boot/mockendpoints/AdviceWithTest.java | 11 ++---
.../MockEndpointsAndSkipDirtiesContextTest.java | 9 ++--
.../boot/mockendpoints/MockEndpointsTest.java | 9 ++--
.../camel/spring/boot/routefilter/BarTest.java | 10 ++--
.../routefilter/FooExcludeRouteAnnotationTest.java | 9 ++--
.../camel/spring/boot/routefilter/FooTest.java | 7 ++-
.../src/main/docs/test-spring-junit5.adoc | 1 +
.../junit5/CamelSpringBootExecutionListener.java | 24 ++++++++--
...melSpringTest.java => CamelSpringBootTest.java} | 8 ++--
...ringTestContextLoaderTestExecutionListener.java | 23 +++++----
.../test/spring/junit5/CamelSpringTestSupport.java | 2 +-
.../junit5/DisableJmxTestExecutionListener.java | 15 +++++-
.../junit5/SpringTestExecutionListenerSorter.java | 49 ++++++++++++++++++++
.../junit5/StopWatchTestExecutionListener.java | 17 ++++++-
.../SpringTestExecutionListenerSorterTest.java | 54 ++++++++++++++++++++++
20 files changed, 264 insertions(+), 93 deletions(-)
copy components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/{componentroute/ComponentRouteTest.java => example/MyApplicationTest.java} (60%)
copy components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/{mockendpoints => example}/MyRoute.java (88%)
copy components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/{CamelSpringTest.java => CamelSpringBootTest.java} (91%)
create mode 100644 components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/SpringTestExecutionListenerSorter.java
create mode 100644 components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/SpringTestExecutionListenerSorterTest.java