cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1543153 - /cxf/branches/2.7.x-fixes/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
Date Mon, 18 Nov 2013 21:04:44 GMT
Author: dkulp
Date: Mon Nov 18 21:04:44 2013
New Revision: 1543153

URL: http://svn.apache.org/r1543153
Log:
Merged revisions 1540859 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1540859 | dkulp | 2013-11-11 16:56:50 -0500 (Mon, 11 Nov 2013) | 2 lines

  FIx test and remove println

........

Modified:
    cxf/branches/2.7.x-fixes/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java

Modified: cxf/branches/2.7.x-fixes/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java?rev=1543153&r1=1543152&r2=1543153&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
(original)
+++ cxf/branches/2.7.x-fixes/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
Mon Nov 18 21:04:44 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