geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r497159 - /geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/test/java/org/apache/geronimo/web25/deployment/SchemaConversionTest.java
Date Wed, 17 Jan 2007 20:24:31 GMT
Author: jdillon
Date: Wed Jan 17 12:24:30 2007
New Revision: 497159

URL: http://svn.apache.org/viewvc?view=rev&rev=497159
Log:
Use logging instead of System for test output

Modified:
    geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/test/java/org/apache/geronimo/web25/deployment/SchemaConversionTest.java

Modified: geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/test/java/org/apache/geronimo/web25/deployment/SchemaConversionTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/test/java/org/apache/geronimo/web25/deployment/SchemaConversionTest.java?view=diff&rev=497159&r1=497158&r2=497159
==============================================================================
--- geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/test/java/org/apache/geronimo/web25/deployment/SchemaConversionTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-web-2.5-builder/src/test/java/org/apache/geronimo/web25/deployment/SchemaConversionTest.java
Wed Jan 17 12:24:30 2007
@@ -50,8 +50,8 @@
         XmlObject xmlObject = XmlObject.Factory.parse(srcXml, options);
         xmlObject = webModuleBuilder.convertToServletSchema(xmlObject);
         XmlObject expected = XmlObject.Factory.parse(expectedOutputXml);
-        System.out.println(xmlObject.toString());
-        System.out.println(expected.toString());
+        log.debug(xmlObject.toString());
+        log.debug(expected.toString());
         List problems = new ArrayList();
         boolean ok = compareXmlObjects(xmlObject, expected, problems);
         assertTrue("Differences: " + problems, ok);
@@ -66,8 +66,8 @@
         XmlObject xmlObject = XmlObject.Factory.parse(srcXml);
         xmlObject = webModuleBuilder.convertToServletSchema(xmlObject);
         XmlObject expected = XmlObject.Factory.parse(expectedOutputXml);
-        System.out.println(xmlObject.toString());
-        System.out.println(expected.toString());
+        log.debug(xmlObject.toString());
+        log.debug(expected.toString());
         List problems = new ArrayList();
         boolean ok = compareXmlObjects(xmlObject, expected, problems);
         assertTrue("Differences: " + problems, ok);
@@ -81,7 +81,7 @@
         URL expectedOutputXml = classLoader.getResource("j2ee_1_3dtd/web-1-25.xml");
         XmlObject xmlObject = XmlObject.Factory.parse(srcXml);
         xmlObject = webModuleBuilder.convertToServletSchema(xmlObject);
-//        System.out.println(xmlObject.toString());
+//        log.debug(xmlObject.toString());
         XmlObject expected = XmlObject.Factory.parse(expectedOutputXml);
         List problems = new ArrayList();
         boolean ok = compareXmlObjects(xmlObject, expected, problems);
@@ -97,8 +97,8 @@
         XmlObject xmlObject = XmlObject.Factory.parse(srcXml);
         xmlObject = webModuleBuilder.convertToServletSchema(xmlObject);
         XmlObject expected = XmlObject.Factory.parse(expectedOutputXml);
-//        System.out.println(xmlObject.toString());
-//        System.out.println(expected.toString());
+//        log.debug(xmlObject.toString());
+//        log.debug(expected.toString());
         List problems = new ArrayList();
         boolean ok = compareXmlObjects(xmlObject, expected, problems);
         assertTrue("Differences: " + problems, ok);



Mime
View raw message