[SPR-8386][SPR-8387] Refined logging regarding detection of default resource locations and default configuration classes.

This commit is contained in:
Sam Brannen
2011-08-13 15:38:45 +00:00
parent bfbd7def33
commit 9a40021f18
4 changed files with 30 additions and 19 deletions

View File

@@ -172,6 +172,10 @@ public class DelegatingSmartContextLoaderTests {
return new String("foo");
}
}
static class NotAConfigClass {
}
}
static class ImproperDuplicateDefaultXmlAndConfigClassTestCase {

View File

@@ -21,14 +21,16 @@
<logger name="org.springframework.test.context.ContextLoaderUtils">
<level value="warn" />
</logger>
<!--
<logger name="org.springframework.test.context.support.AbstractGenericContextLoader">
<level value="warn" />
<level value="info" />
</logger>
<logger name="org.springframework.test.context.support.AnnotationConfigContextLoader">
<level value="warn" />
<level value="info" />
</logger>
-->
<logger name="org.springframework.test.context.support">
<level value="warn" />
<level value="fatal" />
</logger>
<!-- Root Logger -->