rdonkin 2003/07/27 10:55:51
Modified: betwixt/src/test/org/apache/commons/betwixt/introspection
TestXMLIntrospector.java
Log:
Added support for reading dynabeans. Patch submitted by Michael Becke
Revision Changes Path
1.5 +11 -5
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/introspection/TestXMLIntrospector.java
Index: TestXMLIntrospector.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/introspection/TestXMLIntrospector.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TestXMLIntrospector.java 11 Jan 2003 10:38:55 -0000 1.4
+++ TestXMLIntrospector.java 27 Jul 2003 17:55:51 -0000 1.5
@@ -82,6 +82,8 @@
import org.apache.commons.betwixt.io.BeanWriter;
+import org.apache.commons.logging.impl.SimpleLog;
+
/** Test harness for the XMLIntrospector
*
@@ -103,7 +105,11 @@
}
public void testIntrospector() throws Exception {
+ //SimpleLog log = new SimpleLog("testIntrospector:introspector");
+ //log.setLevel(SimpleLog.LOG_LEVEL_TRACE);
XMLIntrospector introspector = new XMLIntrospector();
+ //introspector.setLog(log);
+
introspector.setAttributesForPrimitives(true);
Object bean = createBean();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]