tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r573416 - /incubator/tuscany/java/sca/modules/wsdl2java/src/test/java/org/apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGeneratorTestCase.java
Date Fri, 07 Sep 2007 00:08:06 GMT
Author: lresende
Date: Thu Sep  6 17:08:06 2007
New Revision: 573416

URL: http://svn.apache.org/viewvc?rev=573416&view=rev
Log:
Adding test case to handle interopdoc.wsdl

Modified:
    incubator/tuscany/java/sca/modules/wsdl2java/src/test/java/org/apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGeneratorTestCase.java

Modified: incubator/tuscany/java/sca/modules/wsdl2java/src/test/java/org/apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGeneratorTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/wsdl2java/src/test/java/org/apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGeneratorTestCase.java?rev=573416&r1=573415&r2=573416&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/wsdl2java/src/test/java/org/apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGeneratorTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/wsdl2java/src/test/java/org/apache/tuscany/tools/wsdl2java/generate/WSDL2JavaGeneratorTestCase.java
Thu Sep  6 17:08:06 2007
@@ -24,6 +24,8 @@
  * Test case for WSDL2Java
  */
 public class WSDL2JavaGeneratorTestCase extends TestCase {
+    
+
     public void testAccountService() {
 
         String basedir = System.getProperty("basedir");
@@ -39,7 +41,6 @@
 
     }
 
-
     /**
      * Test WSDL with faults
      * Sample WSDL originated from BigBank and Tuscany 978
@@ -54,6 +55,24 @@
             new String[] {"-targetDirectory", basedir + "/target/wsdl2java-source", 
                           "-javaPackage", "org.apache.tuscany.tools.wsdl2java.generate.account",
                           basedir + "/src/test/resources/AccountServiceWithFault.wsdl"};
+
+        WSDL2JavaGenerator.main(args);
+
+    }
+
+    /**
+     * Test Interopdoc WSDL
+     */
+    public void testInteropdocWsdl() {
+
+        String basedir = System.getProperty("basedir");
+        if (basedir == null)
+            basedir = ".";
+
+        String[] args =
+            new String[] {"-targetDirectory", basedir + "/target/wsdl2java-source", 
+                          "-javaPackage", "org.apache.tuscany.tools.wsdl2java.generate.account",
+                          basedir + "/src/test/resources/interopdoc.wsdl"};
 
         WSDL2JavaGenerator.main(args);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message