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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to