Author: veithen
Date: Wed Mar 30 21:37:57 2011
New Revision: 1087089
URL: http://svn.apache.org/viewvc?rev=1087089&view=rev
Log:
Fixed an assertion so that the expected result is passed as first argument.
Otherwise, the error message generated in case of a failure is not meaningful.
Modified:
axis/axis2/java/core/trunk/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java
Modified:
axis/axis2/java/core/trunk/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java?rev=1087089&r1=1087088&r2=1087089&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java
(original)
+++
axis/axis2/java/core/trunk/modules/addressing/test/org/apache/axis2/handlers/addressing/AddressingOutHandlerTest.java
Wed Mar 30 21:37:57 2011
@@ -191,9 +191,8 @@ public class AddressingOutHandlerTest ex
outHandler.invoke(msgCtxt);
XMLUnit.setIgnoreWhitespace(true);
- assertXMLEqual(msgCtxt.getEnvelope().toString(),
- TestUtil.getOMBuilder("mustUnderstandTest.xml")
- .getDocumentElement().toString());
+ assertXMLEqual(TestUtil.getOMBuilder("mustUnderstandTest.xml")
+ .getDocumentElement().toString(),
msgCtxt.getEnvelope().toString());
}
public void testSOAPRoleSupport() throws Exception {