[slf4j-dev] svn commit: r886 - slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter

ceki at slf4j.org ceki at slf4j.org
Thu Aug 30 00:33:42 CEST 2007


Author: ceki
Date: Thu Aug 30 00:33:41 2007
New Revision: 886

Modified:
   slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/JCLMatcherTest.java

Log:
it's a unit test. So let us be as specific as possible. 
As the name of the test indicates, we want to test JCLMatcher not AbstractMatcher.



Modified: slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/JCLMatcherTest.java
==============================================================================
--- slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/JCLMatcherTest.java	(original)
+++ slf4j/trunk/slf4j-converter/src/test/java/org/slf4j/converter/JCLMatcherTest.java	Thu Aug 30 00:33:41 2007
@@ -7,8 +7,8 @@
 public class JCLMatcherTest extends TestCase {
 
   public void testConversion() throws IOException {
-    AbstractMatcher jclMatcher = AbstractMatcher
-        .getMatcherImpl(Constant.JCL_TO_SLF4J);
+     
+    JCLMatcher jclMatcher = new JCLMatcher();
     jclMatcher.setCommentConversion(true);
 
     assertEquals(jclMatcher



More information about the slf4j-dev mailing list