You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by mm...@apache.org on 2006/09/12 15:10:35 UTC
svn commit: r442579 -
/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/dispatch/DispatchXMLClientServerTest.java
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());
}
}