Author: alessio.soldano(a)jboss.com
Date: 2009-05-22 12:01:09 -0400 (Fri, 22 May 2009)
New Revision: 10072
Modified:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/samples/oneway/OneWayTestCase.java
Log:
Minor change to OneWayTestCase
Modified:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/samples/oneway/OneWayTestCase.java
===================================================================
---
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/samples/oneway/OneWayTestCase.java 2009-05-22
12:03:17 UTC (rev 10071)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/samples/oneway/OneWayTestCase.java 2009-05-22
16:01:09 UTC (rev 10072)
@@ -71,6 +71,7 @@
Element docElement = DOMUtils.sourceToElement(retObj);
Element retElement = DOMUtils.getFirstChildElement(docElement);
String retPayload = DOMWriter.printNode(retElement, false);
- assertEquals("<return>result: ok</return>", retPayload);
+ assertEquals("return", retElement.getNodeName());
+ assertEquals("result: ok", retElement.getTextContent());
}
}
Show replies by date