[slf4j-dev] svn commit: r582 - in slf4j/trunk: src/java/org/slf4j/impl tests/src/java/org/slf4j tests/src/java/org/slf4j/impl

ceki at slf4j.org ceki at slf4j.org
Mon May 1 21:05:41 CEST 2006


Author: ceki
Date: Mon May  1 21:05:39 2006
New Revision: 582

Added:
   slf4j/trunk/tests/src/java/org/slf4j/impl/JDK14AdapterLoggerNameTest.java
      - copied, changed from r581, slf4j/trunk/tests/src/java/org/slf4j/impl/Log4JLoggerAdapterLoggerNameTest.java
Modified:
   slf4j/trunk/src/java/org/slf4j/impl/JDK14LoggerAdapter.java
   slf4j/trunk/tests/src/java/org/slf4j/AllRegularTest.java
Log:
- better name for new test case (JDK14AdapterLoggerNameTest)
- test added to AllRegularTest

Modified: slf4j/trunk/src/java/org/slf4j/impl/JDK14LoggerAdapter.java
==============================================================================
--- slf4j/trunk/src/java/org/slf4j/impl/JDK14LoggerAdapter.java	(original)
+++ slf4j/trunk/src/java/org/slf4j/impl/JDK14LoggerAdapter.java	Mon May  1 21:05:39 2006
@@ -461,7 +461,6 @@
    */
   private void log(Level level, String msg, Throwable t) {
     LogRecord record = new LogRecord(level, msg);
-    record.set
     record.setLoggerName(getName());
     record.setThrown(t);
     fillCallerData(record);

Modified: slf4j/trunk/tests/src/java/org/slf4j/AllRegularTest.java
==============================================================================
--- slf4j/trunk/tests/src/java/org/slf4j/AllRegularTest.java	(original)
+++ slf4j/trunk/tests/src/java/org/slf4j/AllRegularTest.java	Mon May  1 21:05:39 2006
@@ -2,6 +2,7 @@
 
 package org.slf4j;
 
+import org.slf4j.impl.JDK14AdapterLoggerNameTest;
 import org.slf4j.impl.MessageFormatterTest;
 
 import junit.framework.Test;
@@ -14,6 +15,7 @@
     TestSuite suite = new TestSuite();
     suite.addTestSuite(MessageFormatterTest.class);
     suite.addTestSuite(BasicMarkerTest.class);
+    suite.addTestSuite(JDK14AdapterLoggerNameTest.class);
     return suite;
   }
 

Copied: slf4j/trunk/tests/src/java/org/slf4j/impl/JDK14AdapterLoggerNameTest.java (from r581, slf4j/trunk/tests/src/java/org/slf4j/impl/Log4JLoggerAdapterLoggerNameTest.java)
==============================================================================
--- slf4j/trunk/tests/src/java/org/slf4j/impl/Log4JLoggerAdapterLoggerNameTest.java	(original)
+++ slf4j/trunk/tests/src/java/org/slf4j/impl/JDK14AdapterLoggerNameTest.java	Mon May  1 21:05:39 2006
@@ -39,7 +39,7 @@
 
 import junit.framework.TestCase;
 
-public class Log4JLoggerAdapterLoggerNameTest extends TestCase {
+public class JDK14AdapterLoggerNameTest extends TestCase {
   private MockHandler mockHandler;
 
   protected void setUp() throws Exception {



More information about the slf4j-dev mailing list