You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2012/05/16 08:23:03 UTC
svn commit: r1339023 -
/webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/util/CopyUtilsTest.java
Author: veithen
Date: Wed May 16 06:23:03 2012
New Revision: 1339023
URL: http://svn.apache.org/viewvc?rev=1339023&view=rev
Log:
Added unit test provided by Daniel James Matthews for AXIOM-357. With the changes in r1339012 the issue no longer occurs.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/util/CopyUtilsTest.java
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/util/CopyUtilsTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/util/CopyUtilsTest.java?rev=1339023&r1=1339022&r2=1339023&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/util/CopyUtilsTest.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/om/util/CopyUtilsTest.java Wed May 16 06:23:03 2012
@@ -75,6 +75,10 @@ public class CopyUtilsTest extends Abstr
copyAndCheck(createEnvelope(getTestResource(TestConstants.EMPTY_BODY_MESSAGE)), true);
}
+ public void testSoap11fault() throws Exception {
+ copyAndCheck(createEnvelope(getTestResource("soap/soap11/soap11fault.xml")), true);
+ }
+
public void testOMSE() throws Exception {
SOAPEnvelope sourceEnv = createEnvelope(getTestResource(TestConstants.EMPTY_BODY_MESSAGE));
SOAPBody body = sourceEnv.getBody();