cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1540859 - /cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
Date Mon, 11 Nov 2013 21:56:50 GMT
Author: dkulp
Date: Mon Nov 11 21:56:50 2013
New Revision: 1540859

URL: http://svn.apache.org/r1540859
Log:
FIx test and remove println

Modified:
    cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java

Modified: cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java?rev=1540859&r1=1540858&r2=1540859&view=diff
==============================================================================
--- cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
(original)
+++ cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
Mon Nov 11 21:56:50 2013
@@ -845,10 +845,11 @@ public class JavaToProcessorTest extends
         assertTrue(nd.getAttribute("type").endsWith(":myData"));
         
         
-        nd = (Element)util.getValueNode("//xsd:element[@name='address']", doc);
-        StaxUtils.print(nd);
+        nd = (Element)util.getValueNode("//xsd:complexType[@name='ListException2']"
+                                        + "/xsd:sequence/xsd:element[@name='address']", doc);
         assertNotNull(nd);
         assertEquals("0", nd.getAttribute("minOccurs"));
+        assertEquals("unbounded", nd.getAttribute("maxOccurs"));
         assertTrue(nd.getAttribute("type").endsWith(":myData"));
     }
     



Mime
View raw message