Skip to content

Commit 7a9bf15

Browse files
committed
Link to SpringProperties Javadoc from the Testing chapter
Closes gh-26492
1 parent 8a150ee commit 7a9bf15

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/docs/asciidoc/testing.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,9 @@ constructor takes precedence over both `@TestConstructor` and the default mode.
18261826
=====
18271827
The default _test constructor autowire mode_ can be changed by setting the
18281828
`spring.test.constructor.autowire.mode` JVM system property to `all`. Alternatively, the
1829-
default mode may be changed via the `SpringProperties` mechanism.
1829+
default mode may be set via the
1830+
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
1831+
mechanism.
18301832
18311833
If the `spring.test.constructor.autowire.mode` property is not set, test class
18321834
constructors will not be automatically autowired.
@@ -4381,8 +4383,9 @@ The size of the context cache is bounded with a default maximum size of 32. When
43814383
maximum size is reached, a least recently used (LRU) eviction policy is used to evict and
43824384
close stale contexts. You can configure the maximum size from the command line or a build
43834385
script by setting a JVM system property named `spring.test.context.cache.maxSize`. As an
4384-
alternative, you can set the same property programmatically by using the
4385-
`SpringProperties` API.
4386+
alternative, you can set the same property via the
4387+
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
4388+
mechanism.
43864389

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

0 commit comments

Comments
 (0)