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


The following commit(s) were added to refs/heads/CAMEL-13965 by this push:
     new a4d8cfe  CAMEL-13965: Added links in the documentation
a4d8cfe is described below

commit a4d8cfe37c05edc2d1e6ca32a6d898d42afcd201
Author: aldettinger <aldettin...@gmail.com>
AuthorDate: Mon Sep 16 15:44:40 2019 +0200

    CAMEL-13965: Added links in the documentation
---
 .../camel-test-spring-junit5/src/main/docs/test-spring-junit5.adoc    | 4 ++--
 docs/components/modules/ROOT/nav.adoc                                 | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-test-spring-junit5/src/main/docs/test-spring-junit5.adoc 
b/components/camel-test-spring-junit5/src/main/docs/test-spring-junit5.adoc
index 62c92ad..58717f0 100644
--- a/components/camel-test-spring-junit5/src/main/docs/test-spring-junit5.adoc
+++ b/components/camel-test-spring-junit5/src/main/docs/test-spring-junit5.adoc
@@ -34,7 +34,7 @@ public class SimpleMockTest extends CamelSpringTestSupport {
 }
 ----
 
-This approach provides feature parity with 
`org.apache.camel.test.junit5.CamelTestSupport` from `camel-test-junit5` but 
does not support Spring annotations on the test class such as `@Autowired`, 
`@DirtiesContext`, and `@ContextConfiguration`.
+This approach provides feature parity with 
`org.apache.camel.test.junit5.CamelTestSupport` from 
xref:components::test-junit5.adoc[camel-test-junit5] but does not support 
Spring annotations on the test class such as `@Autowired`, `@DirtiesContext`, 
and `@ContextConfiguration`.
 
 Instead of instantiating the `CamelContext` and routes programmatically, this 
class relies on a Spring context to wire the needed components together. If 
your test extends this class, you must provide the Spring context by 
implementing the following method.
 [source,java]
@@ -134,7 +134,7 @@ Tips: It's possible to run JUnit 4 & JUnit 5 based Camel 
Spring tests side by si
 `camel-test-spring-junit5` and `junit-vintage-engine`. This configuration 
allows to migrate a Camel Spring test at once.
 
 === Typical migration steps linked to JUnit 5 support in Camel Test Spring
-* Migration steps linked to JUnit 5 support in Camel Test itself should have 
been applied first
+* Migration steps linked to xref:components::test-junit5.adoc[JUnit 5 support 
in Camel Test itself] should have been applied first
 * Imports of `org.apache.camel.test.spring.\*` should be replaced with 
`org.apache.camel.test.spring.junit5.*`
 * Usage of `@RunWith(CamelSpringRunner.class)` should be replaced with 
`@CamelSpringTest`
 * Usage of `@BootstrapWith(CamelTestContextBootstrapper.class)` should be 
replaced with `@CamelSpringTest`
diff --git a/docs/components/modules/ROOT/nav.adoc 
b/docs/components/modules/ROOT/nav.adoc
index d983783..4389777 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -349,6 +349,7 @@
 * xref:test-cdi.adoc[CDI Testing]
 * xref:test-junit5.adoc[Test Module]
 * xref:test-karaf.adoc[Test Karaf]
+* xref:test-spring-junit5.adoc[Camel Test Spring JUnit 5]
 * xref:test-spring.adoc[Test Spring]
 * xref:test.adoc[Test Module]
 * xref:testcontainers-spring.adoc[Testcontainers Spring]

Reply via email to