cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r442579 - /incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/dispatch/DispatchXMLClientServerTest.java
Date Tue, 12 Sep 2006 13:10:35 GMT
Author: mmao
Date: Tue Sep 12 06:10:34 2006
New Revision: 442579

URL: http://svn.apache.org/viewvc?view=rev&rev=442579
Log:
Trying to fix one of the build fails on linux
  * Node.getNodeName() is not safe on different platforms.

Modified:
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/dispatch/DispatchXMLClientServerTest.java

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/dispatch/DispatchXMLClientServerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/dispatch/DispatchXMLClientServerTest.java?view=diff&rev=442579&r1=442578&r2=442579
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/dispatch/DispatchXMLClientServerTest.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/dispatch/DispatchXMLClientServerTest.java
Tue Sep 12 06:10:34 2006
@@ -98,7 +98,7 @@
                 
         String streamString = XMLUtils.toString(source); 
         Document doc = XMLUtils.parse(streamString);
-        assertEquals("ns2:greetMeResponse", doc.getFirstChild().getNodeName());
+        assertEquals("greetMeResponse", doc.getFirstChild().getLocalName());
         assertEquals("Hello tli", doc.getFirstChild().getTextContent());
     }
     
@@ -119,7 +119,7 @@
         assertNotNull(result);
               
         Node respDoc = result.getNode();
-        assertEquals("ns2:greetMeResponse", respDoc.getFirstChild().getNodeName());
+        assertEquals("greetMeResponse", respDoc.getFirstChild().getLocalName());
         assertEquals("Hello tli", respDoc.getFirstChild().getTextContent());
     }
 }



Mime
View raw message