[LOGBack-dev] svn commit: r462 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic
noreply.seb at qos.ch
noreply.seb at qos.ch
Mon Aug 14 20:44:20 CEST 2006
Author: seb
Date: Mon Aug 14 20:44:19 2006
New Revision: 462
Modified:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/LoggerContextTest.java
Log:
improved a test
Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/LoggerContextTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/LoggerContextTest.java (original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/LoggerContextTest.java Mon Aug 14 20:44:19 2006
@@ -113,10 +113,16 @@
public void testStatusWithUnconfiguredContext() {
Logger logger = lc.getLogger(LoggerContextTest.class);
- for (int i = 0; i < 10; i++) {
+ for (int i = 0; i < 3; i++) {
logger.debug("test");
}
+ logger = lc.getLogger("x.y.z");
+
+ for (int i = 0; i < 3; i++) {
+ logger.debug("test");
+ }
+
StatusManager sm = lc.getStatusManager();
assertTrue("StatusManager has recieved too many messages", sm.getCount() == 1);
}
More information about the logback-dev
mailing list