From 0267715c9dc50019080039febfd4362894b49aae Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 17 Feb 2015 19:32:19 +0100 Subject: [PATCH] Polish Javadoc for @TestPropertySource --- .../org/springframework/test/context/TestPropertySource.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spring-test/src/main/java/org/springframework/test/context/TestPropertySource.java b/spring-test/src/main/java/org/springframework/test/context/TestPropertySource.java index 47e36af91ab..248fd7f9f74 100644 --- a/spring-test/src/main/java/org/springframework/test/context/TestPropertySource.java +++ b/spring-test/src/main/java/org/springframework/test/context/TestPropertySource.java @@ -121,7 +121,10 @@ public @interface TestPropertySource { * {@code http:}, etc.) will be loaded using the specified resource protocol. * Resource location wildcards (e.g. **/*.properties) * are not permitted: each location must evaluate to exactly one - * {@code .properties} or {@code .xml} resource. + * {@code .properties} or {@code .xml} resource. Property placeholders + * in paths (i.e., ${...}) will be + * {@linkplain org.springframework.core.env.Environment#resolveRequiredPlaceholders(String) resolved} + * against the {@code Environment}. * *

Default Properties File Detection

*

See the class-level Javadoc for a discussion on detection of defaults.