Skip to content

Commit ab64d06

Browse files
authored
Clarify TestPropertySource location multi-document limitations
1 parent 169b1b1 commit ab64d06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/features/external-config.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ See xref:features/external-config.adoc#features.external-config.typesafe-configu
4646

4747
NOTE: If your application runs in a servlet container or application server, then JNDI properties (in `java:comp/env`) or servlet context initialization parameters can be used instead of, or as well as, environment variables or system properties.
4848

49+
NOTE: javadoc:org.springframework.test.context.TestPropertySource[format=annotation] `locations` attribute does not support multi-document files.
50+
51+
4952
To provide a concrete example, suppose you develop a javadoc:org.springframework.stereotype.Component[format=annotation] that uses a `name` property, as shown in the following example:
5053

5154
include-code::MyBean[]

0 commit comments

Comments
 (0)