cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r574162 - /incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java
Date Mon, 10 Sep 2007 07:58:28 GMT
Author: ema
Date: Mon Sep 10 00:58:28 2007
New Revision: 574162

URL: http://svn.apache.org/viewvc?rev=574162&view=rev
Log:
Updated tests for java2ws

Modified:
    incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java

Modified: incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java?rev=574162&r1=574161&r2=574162&view=diff
==============================================================================
--- incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java
(original)
+++ incubator/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2ws/JavaToWSTest.java
Mon Sep 10 00:58:28 2007
@@ -28,7 +28,6 @@
 import org.apache.cxf.tools.common.ToolTestBase;
 import org.junit.After;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class JavaToWSTest extends ToolTestBase {
@@ -113,35 +112,32 @@
     
     
     
-    @Ignore
-    
+    @Test
     public void testGenServerAndClient() throws Exception {
         String[] args = new String[] {"-d", output.getPath(), "-client", "-server",
                                       "org.apache.hello_world_soap12_http.Greeter"};
         JavaToWS.main(args);
         File client = new File(output.getPath()
-                               + "/org/apache/hello_world_soap12_http/Greeter_GreeterPort_Client.java");
+                               + "/org/apache/hello_world_soap12_http/GreeterClient.java");
 
         assertTrue("Client is not generated", client.exists());
 
-        File service = new File(output.getPath() + "/org/apache/hello_world_soap12_http/GreeterService.java");
-        assertTrue("GreeterService is not generated", service.exists());
         File server = new File(output.getPath()
-                               + "/org/apache/hello_world_soap12_http/Greeter_GreeterPort_Server.java");
+                               + "/org/apache/hello_world_soap12_http/GreeterServer.java");
         assertTrue("Greeter_GreeterPort_Server.java is not generated", server.exists());
     }
     
     
     
-    @Ignore
+    @Test
     public void testGenServerAndImpl() throws Exception {
         String[] args = new String[] {"-d", output.getPath(), "-impl", "-server",
                                       "org.apache.hello_world_soap12_http.Greeter"};
         JavaToWS.main(args);
 
         File server = new File(output.getPath()
-                               + "/org/apache/hello_world_soap12_http/Greeter_GreeterPort_Server.java");
-        assertTrue("Greeter_GreeterPort_Server.java is not generated", server.exists());
+                               + "/org/apache/hello_world_soap12_http/GreeterServer.java");
+        assertTrue("GreeterServer.java is not generated", server.exists());
         
         
         File impl = new File(output.getPath()



Mime
View raw message