[jboss-svn-commits] JBoss Common SVN: r2663 - jbossxb/trunk/src/test/java/org/jboss/test/xml.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Oct 30 11:52:38 EDT 2007
Author: alex.loubyansky at jboss.com
Date: 2007-10-30 11:52:38 -0400 (Tue, 30 Oct 2007)
New Revision: 2663
Modified:
jbossxb/trunk/src/test/java/org/jboss/test/xml/SchemalessTestCase.java
Log:
remove info logging
Modified: jbossxb/trunk/src/test/java/org/jboss/test/xml/SchemalessTestCase.java
===================================================================
--- jbossxb/trunk/src/test/java/org/jboss/test/xml/SchemalessTestCase.java 2007-10-30 15:52:11 UTC (rev 2662)
+++ jbossxb/trunk/src/test/java/org/jboss/test/xml/SchemalessTestCase.java 2007-10-30 15:52:38 UTC (rev 2663)
@@ -27,7 +27,6 @@
import org.jboss.xb.binding.SchemalessObjectModelFactory;
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
-import org.jboss.logging.Logger;
import java.io.StringReader;
import java.io.StringWriter;
@@ -39,8 +38,6 @@
public class SchemalessTestCase
extends TestCase
{
- private static final Logger log = Logger.getLogger(SchemalessTestCase.class);
-
public SchemalessTestCase()
{
}
@@ -58,15 +55,11 @@
SchemalessMarshaller marshaller = new SchemalessMarshaller();
marshaller.marshal(person, writer);
- log.info("marshalled:\n" + writer.getBuffer());
-
StringReader reader = new StringReader(writer.getBuffer().toString());
Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
SchemalessObjectModelFactory factory = new SchemalessObjectModelFactory();
Person unmarshalled = (Person)unmarshaller.unmarshal(reader, factory, null);
- log.info("unmarshalled: " + unmarshalled);
assertEquals(person, unmarshalled);
}
-
}
More information about the jboss-svn-commits
mailing list