|
22 | 22 | import org.apache.commons.logging.Log; |
23 | 23 | import org.apache.commons.logging.LogFactory; |
24 | 24 | import org.springframework.context.ApplicationContext; |
25 | | -import org.springframework.context.annotation.Configuration; |
26 | 25 | import org.springframework.test.context.ContextConfiguration; |
27 | 26 | import org.springframework.test.context.ContextConfigurationAttributes; |
28 | 27 | import org.springframework.test.context.ContextLoader; |
|
42 | 41 | * that supports the merged, processed configuration will be used to actually |
43 | 42 | * {@link #loadContext load} the context. |
44 | 43 | * |
45 | | - * <p>Placing an empty {@code @ContextConfiguration} annotation on |
46 | | - * a test class signals that default resource locations (i.e., XML configuration files) |
47 | | - * or default {@link Configuration configuration classes} should be detected. Furthermore, |
48 | | - * if a specific {@link ContextLoader} or {@link SmartContextLoader} is not explicitly |
49 | | - * declared via {@code @ContextConfiguration}, {@code DelegatingSmartContextLoader} will |
50 | | - * be used as the default loader, thus providing automatic support for either XML |
51 | | - * configuration files or configuration classes, but not both simultaneously. |
| 44 | + * <p>Placing an empty {@code @ContextConfiguration} annotation on a test class signals |
| 45 | + * that default resource locations (i.e., XML configuration files) or default |
| 46 | + * {@link org.springframework.context.annotation.Configuration configuration classes} |
| 47 | + * should be detected. Furthermore, if a specific {@link ContextLoader} or |
| 48 | + * {@link SmartContextLoader} is not explicitly declared via |
| 49 | + * {@code @ContextConfiguration}, {@code DelegatingSmartContextLoader} will be used as |
| 50 | + * the default loader, thus providing automatic support for either XML configuration |
| 51 | + * files or configuration classes, but not both simultaneously. |
52 | 52 | * |
53 | 53 | * @author Sam Brannen |
54 | 54 | * @since 3.1 |
|
0 commit comments