Author: dkulp
Date: Mon Oct  8 10:13:21 2007
New Revision: 582891

URL: http://svn.apache.org/viewvc?rev=582891&view=rev
Log:
Merged revisions 578658 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r578658 | mmao | 2007-09-24 01:17:10 -0400 (Mon, 24 Sep 2007) | 4 lines
  
  CXF-1053
   * Add user test case
........

Added:
    
incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/cxf1053/
      - copied from r578658, 
incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/cxf1053/
    
incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/cxf1053/catalog.xml
      - copied unchanged from r578658, 
incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/cxf1053/catalog.xml
    
incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/cxf1053/extra.xsd
      - copied unchanged from r578658, 
incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/cxf1053/extra.xsd
    
incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/cxf1053/myservice.wsdl
      - copied unchanged from r578658, 
incubator/cxf/trunk/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/cxf1053/myservice.wsdl
Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    
incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenOptionTest.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: 
incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenOptionTest.java
URL: 
http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenOptionTest.java?rev=582891&r1=582890&r2=582891&view=diff
==============================================================================
--- 
incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenOptionTest.java
 (original)
+++ 
incubator/cxf/branches/2.0.x-fixes/tools/wsdlto/test/src/test/java/org/apache/cxf/tools/wsdlto/jaxws/CodeGenOptionTest.java
 Mon Oct  8 10:13:21 2007
@@ -144,4 +144,20 @@
             fail("Catalog not working");
         }
     }
+
+    @Test
+    public void testGetCatalogPublic() throws Exception {
+        env.put(ToolConstants.CFG_WSDLURL, 
getLocation("/wsdl2java_wsdl/cxf1053/myservice.wsdl"));
+        env.put(ToolConstants.CFG_CATALOG, 
getLocation("/wsdl2java_wsdl/cxf1053/catalog.xml"));
+        env.put(ToolConstants.CFG_COMPILE, null);
+        env.put(ToolConstants.CFG_CLASSDIR, null);
+
+        processor.setContext(env);
+        try {
+            processor.execute();
+        } catch (Exception e) {
+            e.printStackTrace();
+            fail("Catalog not working");
+        }
+    }
 }


Reply via email to