cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From egl...@apache.org
Subject svn commit: r746220 - /cxf/branches/2.0.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/interceptor/SoapFaultSerializerTest.java
Date Fri, 20 Feb 2009 12:11:26 GMT
Author: eglynn
Date: Fri Feb 20 12:11:26 2009
New Revision: 746220

URL: http://svn.apache.org/viewvc?rev=746220&view=rev
Log:
Fix for SoapFaultSerializerTest failure caused by addition of <Value> child-element
of <SubCode>

Modified:
    cxf/branches/2.0.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/interceptor/SoapFaultSerializerTest.java

Modified: cxf/branches/2.0.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/interceptor/SoapFaultSerializerTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/interceptor/SoapFaultSerializerTest.java?rev=746220&r1=746219&r2=746220&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/interceptor/SoapFaultSerializerTest.java
(original)
+++ cxf/branches/2.0.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/interceptor/SoapFaultSerializerTest.java
Fri Feb 20 12:11:26 2009
@@ -114,7 +114,8 @@
         
         assertValid("//soap12env:Fault/soap12env:Code/soap12env:Value[text()='ns1:Sender']",

                     faultDoc);
-        assertValid("//soap12env:Fault/soap12env:Code/soap12env:Subcode[text()='ns2:invalidsoap']",

+        assertValid("//soap12env:Fault/soap12env:Code/soap12env:Subcode/"
+                    + "soap12env:Value[text()='ns2:invalidsoap']", 
                     faultDoc);
         assertValid("//soap12env:Fault/soap12env:Reason/soap12env:Text[@xml:lang='en']",

                     faultDoc);



Mime
View raw message