svn commit: r1448476 - /cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/calendar/CalendarGeneratorTest.java

[email protected]
Newsgroups gmane.text.xml.cocoon.cvs
Message-ID <[email protected]>
Author: thorsten
Date: Wed Feb 20 23:58:55 2013
New Revision: 1448476

URL: http://svn.apache.org/r1448476
Log:
Using logger and not sysout

Modified:
    cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/calendar/CalendarGeneratorTest.java

Modified: cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/calendar/CalendarGeneratorTest.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/calendar/CalendarGeneratorTest.java?rev=1448476&r1=1448475&r2=1448476&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/calendar/CalendarGeneratorTest.java (original)
+++ cocoon/cocoon3/trunk/cocoon-optional/src/test/java/org/apache/cocoon/optional/pipeline/components/sax/calendar/CalendarGeneratorTest.java Wed Feb 20 23:58:55 2013
@@ -28,10 +28,16 @@ import org.apache.cocoon.sax.SAXPipeline
 import org.apache.cocoon.sax.component.XMLSerializer;
 import org.custommonkey.xmlunit.examples.CountingNodeTester;
 import org.junit.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.w3c.dom.Node;
 
 public class CalendarGeneratorTest {
-
+    /**
+     * Logger.
+     */
+    private static final Logger LOG = LoggerFactory
+            .getLogger(CalendarGeneratorTest.class);
     @Test
     public void testPipelineWithCalendarGenerator() throws Exception {
         Pipeline<SAXPipelineComponent> pipeline = new NonCachingPipeline<SAXPipelineComponent>();
@@ -50,7 +56,7 @@ public class CalendarGeneratorTest {
         pipeline.execute();
         CountingNodeTester countingNodeTester = new CountingNodeTester(37);
         String out = new String(baos.toByteArray());
-        System.out.println(out);
+        LOG.debug(out);
         assertNodeTestPasses(out, countingNodeTester, Node.ELEMENT_NODE);
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.