tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1042130 - in /tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src: main/java/wsdlgen/verify/DataTypes.java main/java/wsdlgen/verify/impl/DataTypesImpl.java test/java/wsdlgen/verify/DataTypesTestCase.java
Date Sat, 04 Dec 2010 10:04:06 GMT
Author: nash
Date: Sat Dec  4 10:04:06 2010
New Revision: 1042130

URL: http://svn.apache.org/viewvc?rev=1042130&view=rev
Log:
Add test for three-dimensional array

Modified:
    tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java
    tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java
    tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java

Modified: tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java?rev=1042130&r1=1042129&r2=1042130&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java
(original)
+++ tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java
Sat Dec  4 10:04:06 2010
@@ -34,6 +34,8 @@ public interface DataTypes {
 
     void testSimpleMultiArrayInt(int[][] simple);
 
+    void testSimpleMulti3ArrayInt(int[][][] simple);
+
     void testList(List any);
 
     void testSimpleListString(List<String> simple);

Modified: tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java?rev=1042130&r1=1042129&r2=1042130&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java
(original)
+++ tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java
Sat Dec  4 10:04:06 2010
@@ -37,6 +37,9 @@ public class DataTypesImpl implements Da
     public void testSimpleMultiArrayInt(int[][] simple) {
     }
 
+    public void testSimpleMulti3ArrayInt(int[][][] simple) {
+    }
+
     public void testList(List any) {
     }
 

Modified: tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java?rev=1042130&r1=1042129&r2=1042130&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java
(original)
+++ tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java
Sat Dec  4 10:04:06 2010
@@ -53,6 +53,13 @@ public class DataTypesTestCase extends B
     }
 
     @Test
+    public void testSimpleMulti3ArrayInt() throws Exception {
+        Element paramElement = parameterElement("testSimpleMulti3ArrayInt");
+        assertEquals("ns1:intArrayArray", paramElement.getAttribute("type"));
+        assertEquals("unbounded", paramElement.getAttribute("maxOccurs"));
+    }
+
+    @Test
     public void testList() throws Exception {
         Element paramElement = parameterElement("testList");
         assertEquals("xs:anyType", paramElement.getAttribute("type"));



Mime
View raw message