Skip to content

Commit c649b74

Browse files
committed
Use api-spring-framework attribute for links to SpringProperties
See gh-26492
1 parent bef5d59 commit c649b74

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/docs/asciidoc/testing.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,8 +1847,7 @@ constructor takes precedence over both `@TestConstructor` and the default mode.
18471847
The default _test constructor autowire mode_ can be changed by setting the
18481848
`spring.test.constructor.autowire.mode` JVM system property to `all`. Alternatively, the
18491849
default mode may be set via the
1850-
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
1851-
mechanism.
1850+
{api-spring-framework}/core/SpringProperties.html[`SpringProperties`] mechanism.
18521851
18531852
As of Spring Framework 5.3, the default mode may also be configured as a
18541853
https://junit.org/junit5/docs/current/user-guide/#running-tests-config-params[JUnit Platform configuration parameter].
@@ -1881,8 +1880,7 @@ change the default mode.
18811880
The default _enclosing configuration inheritance mode_ is `INHERIT`, but it can be
18821881
changed by setting the `spring.test.enclosing.configuration` JVM system property to
18831882
`OVERRIDE`. Alternatively, the default mode may be set via the
1884-
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
1885-
mechanism.
1883+
{api-spring-framework}/core/SpringProperties.html[`SpringProperties`] mechanism.
18861884
=====
18871885

18881886
The <<testcontext-framework>> honors `@NestedTestConfiguration` semantics for the
@@ -4569,8 +4567,7 @@ maximum size is reached, a least recently used (LRU) eviction policy is used to
45694567
close stale contexts. You can configure the maximum size from the command line or a build
45704568
script by setting a JVM system property named `spring.test.context.cache.maxSize`. As an
45714569
alternative, you can set the same property via the
4572-
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
4573-
mechanism.
4570+
{api-spring-framework}/core/SpringProperties.html[`SpringProperties`] mechanism.
45744571

45754572
Since having a large number of application contexts loaded within a given test suite can
45764573
cause the suite to take an unnecessarily long time to run, it is often beneficial to

0 commit comments

Comments
 (0)