From d43336675e890ce50397909dda35e2dfd747eae7 Mon Sep 17 00:00:00 2001 From: nash Date: Wed, 20 Apr 2011 09:08:04 +0000 Subject: Add test for ServiceReference type git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1095330 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/java/wsdlgen/verify/DataTypesTestCase.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java') 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 b6dbeecda5..2accda0a6a 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 @@ -113,6 +113,11 @@ public class DataTypesTestCase extends BaseFramework { assertEquals("tns:baseClass", extensionElement(typeDefinition(paramType)).getAttribute("base")); } + @Test + public void testServiceReference() throws Exception { + assertEquals("xs:anyType", parameterType("testServiceReference")); + } + @Test public void testException() throws Exception { assertEquals("xs:string", faultType("testException", "Exception")); -- cgit v1.2.3