summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/itest/wsdlgen-verify
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-12-04 10:04:06 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-12-04 10:04:06 +0000
commit8a2269ac3205d291ecc1bae8701fd971b737dd1d (patch)
treea8d6a4bfd3a02c5348e2ddb107f0b80745b34c72 /sca-java-1.x/trunk/itest/wsdlgen-verify
parent16edc0ef3e9c0a2ee7f9542a30a2bbb3d1a27859 (diff)
Add test for three-dimensional array
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1042130 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/itest/wsdlgen-verify')
-rw-r--r--sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java2
-rw-r--r--sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java3
-rw-r--r--sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java7
3 files changed, 12 insertions, 0 deletions
diff --git a/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java b/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java
index aa6ffc6ecb..23a062ff80 100644
--- a/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java
+++ b/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/DataTypes.java
@@ -34,6 +34,8 @@ public interface DataTypes {
void testSimpleMultiArrayInt(int[][] simple);
+ void testSimpleMulti3ArrayInt(int[][][] simple);
+
void testList(List any);
void testSimpleListString(List<String> simple);
diff --git a/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java b/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java
index 5cf85d1b54..13e17a63fa 100644
--- a/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java
+++ b/sca-java-1.x/trunk/itest/wsdlgen-verify/src/main/java/wsdlgen/verify/impl/DataTypesImpl.java
@@ -37,6 +37,9 @@ public class DataTypesImpl implements DataTypes {
public void testSimpleMultiArrayInt(int[][] simple) {
}
+ public void testSimpleMulti3ArrayInt(int[][][] simple) {
+ }
+
public void testList(List any) {
}
diff --git a/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java b/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java
index 37acf15033..cc0de43b29 100644
--- a/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java
+++ b/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/DataTypesTestCase.java
@@ -53,6 +53,13 @@ public class DataTypesTestCase extends BaseFramework {
}
@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"));