You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ru...@apache.org on 2006/08/21 11:20:15 UTC

svn commit: r433203 - /webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/dom/ElementImplTest.java

Author: ruchithf
Date: Mon Aug 21 02:20:15 2006
New Revision: 433203

URL: http://svn.apache.org/viewvc?rev=433203&view=rev
Log:
Updated testSerialize() method, thanks Chinthaka for pointing this out.


Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/dom/ElementImplTest.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/dom/ElementImplTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/dom/ElementImplTest.java?rev=433203&r1=433202&r2=433203&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/dom/ElementImplTest.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/impl/dom/ElementImplTest.java Mon Aug 21 02:20:15 2006
@@ -69,8 +69,8 @@
 		ByteArrayOutputStream baos = new ByteArrayOutputStream();
 		try {
 			elem.serialize(baos);
-//			System.out.println(new String(baos.toByteArray()));
-			//TODO TEMPORARY: remove this
+			String xml = new String(baos.toByteArray());
+            assertEquals("Incorrect serialized xml", 0, xml.indexOf("<axis2:TestLocalName"));
 		} catch (Exception e) {
 			e.printStackTrace();
 			fail(e.getMessage());



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