Skip to content

Commit bef5d59

Browse files
committed
Link to SpringProperties Javadoc from the Testing chapter
Closes gh-26492
1 parent 99bd811 commit bef5d59

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/docs/asciidoc/testing.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,9 @@ constructor takes precedence over both `@TestConstructor` and the default mode.
18461846
=====
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
1849-
default mode may be set via the `SpringProperties` mechanism.
1849+
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.
18501852
18511853
As of Spring Framework 5.3, the default mode may also be configured as a
18521854
https://junit.org/junit5/docs/current/user-guide/#running-tests-config-params[JUnit Platform configuration parameter].
@@ -1878,7 +1880,8 @@ change the default mode.
18781880
=====
18791881
The default _enclosing configuration inheritance mode_ is `INHERIT`, but it can be
18801882
changed by setting the `spring.test.enclosing.configuration` JVM system property to
1881-
`OVERRIDE`. Alternatively, the default mode may be set via the `SpringProperties`
1883+
`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`]
18821885
mechanism.
18831886
=====
18841887

@@ -4565,8 +4568,9 @@ The size of the context cache is bounded with a default maximum size of 32. When
45654568
maximum size is reached, a least recently used (LRU) eviction policy is used to evict and
45664569
close stale contexts. You can configure the maximum size from the command line or a build
45674570
script by setting a JVM system property named `spring.test.context.cache.maxSize`. As an
4568-
alternative, you can set the same property programmatically by using the
4569-
`SpringProperties` API.
4571+
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.
45704574

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

0 commit comments

Comments
 (0)