cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r675653 - in /cxf/trunk/tools/wsdlto/test/src/test: java/org/apache/cxf/tools/wsdlto/validator/ValidatorTest.java resources/wsdl2java_wsdl/xml_format_root.wsdl
Date Thu, 10 Jul 2008 17:06:38 GMT
Author: dkulp
Date: Thu Jul 10 10:06:38 2008
New Revision: 675653

URL: http://svn.apache.org/viewvc?rev=675653&view=rev
Log:
Fix test that failed with latest commit

Modified:
    cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/validator/ValidatorTest.java
    cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/xml_format_root.wsdl

Modified: cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/validator/ValidatorTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/validator/ValidatorTest.java?rev=675653&r1=675652&r2=675653&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/validator/ValidatorTest.java
(original)
+++ cxf/trunk/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/validator/ValidatorTest.java
Thu Jul 10 10:06:38 2008
@@ -52,7 +52,8 @@
             fail("xml_format_root.wsdl is not a valid wsdl, should throws exception here");
         } catch (Exception e) {
             String expected = "Binding(Greeter_XMLBinding):BindingOperation" 
-                + "({http://apache.org/xml_http_bare}sayHi)-input: missing xml format body
element";
+                + "({http://apache.org/xml_http_bare}sayHi)-input: empty value of rootNode
attribute, "
+                + "the value should be {http://apache.org/xml_http_bare}sayHi";
             assertEquals(expected, e.getMessage().trim());
         }
     }

Modified: cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/xml_format_root.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/xml_format_root.wsdl?rev=675653&r1=675652&r2=675653&view=diff
==============================================================================
--- cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/xml_format_root.wsdl (original)
+++ cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/xml_format_root.wsdl Thu
Jul 10 10:06:38 2008
@@ -61,7 +61,7 @@
     <xformat:binding/>
     <wsdl:operation name="sayHi">
       <wsdl:input name="sayHiRequest">
-	<!--xformat:body rootNode="tns:sayHi"/-->
+	<xformat:body/>
       </wsdl:input>
       <wsdl:output name="sayHiResponse">
       </wsdl:output>



Mime
View raw message