commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r240122 - /jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java
Date Thu, 25 Aug 2005 19:16:33 GMT
Author: rdonkin
Date: Thu Aug 25 12:16:30 2005
New Revision: 240122

URL: http://svn.apache.org/viewcvs?rev=240122&view=rev
Log:
Improved test.

Modified:
    jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java

Modified: jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java?rev=240122&r1=240121&r2=240122&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java
(original)
+++ jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java
Thu Aug 25 12:16:30 2005
@@ -91,6 +91,7 @@
         reader.registerBeanClass("ale", Nested.class);
         reader.getXMLIntrospector().getConfiguration().setAttributesForPrimitives(true);
         Object out = reader.parse(in);
+        assertNotNull("Expected bean to be output", out);
         assertEquals("Expected bean to be of type Nested", "org.apache.commons.betwixt.io.read.TestReadData$Nested",
out.getClass().getName());
         Nested bean = (Nested) out;
         assertEquals("Expected name to be set", "Timothy Taylor", bean.getName());



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message