Use api-spring-framework attribute for links to SpringProperties

See gh-26492
This commit is contained in:
Sam Brannen
2021-02-02 14:01:51 +01:00
parent 7a9bf1578e
commit 070c596a66

View File

@@ -1827,8 +1827,7 @@ constructor takes precedence over both `@TestConstructor` and the default mode.
The default _test constructor autowire mode_ can be changed by setting the
`spring.test.constructor.autowire.mode` JVM system property to `all`. Alternatively, the
default mode may be set via the
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
mechanism.
{api-spring-framework}/core/SpringProperties.html[`SpringProperties`] mechanism.
If the `spring.test.constructor.autowire.mode` property is not set, test class
constructors will not be automatically autowired.
@@ -4384,8 +4383,7 @@ maximum size is reached, a least recently used (LRU) eviction policy is used to
close stale contexts. You can configure the maximum size from the command line or a build
script by setting a JVM system property named `spring.test.context.cache.maxSize`. As an
alternative, you can set the same property via the
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/SpringProperties.html[`SpringProperties`]
mechanism.
{api-spring-framework}/core/SpringProperties.html[`SpringProperties`] mechanism.
Since having a large number of application contexts loaded within a given test suite can
cause the suite to take an unnecessarily long time to run, it is often beneficial to