tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r531404 - /incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java
Date Mon, 23 Apr 2007 09:59:29 GMT
Author: antelder
Date: Mon Apr 23 02:59:28 2007
New Revision: 531404

URL: http://svn.apache.org/viewvc?view=rev&rev=531404
Log:
WSDL tests, switch back to individual tests now that the problems with starting/stopping tests
multiple times is resolved

Modified:
    incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java

Modified: incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java?view=diff&rev=531404&r1=531403&r2=531404
==============================================================================
--- incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java
(original)
+++ incubator/tuscany/java/sca/itest/wsdl/src/test/java/org/apache/tuscany/sca/itest/WSDLTestCase.java
Mon Apr 23 02:59:28 2007
@@ -36,117 +36,75 @@
  */
 public class WSDLTestCase extends TestCase {
 
-    public void testAllClients()  {
+    public void testClient1a2a3a4a()  {
         HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3a4a");
         assertEquals("Hi petra", client.getGreetings("petra"));
-        HelloWorldService client1 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3a4b");
-        assertEquals("Hi petra", client1.getGreetings("petra"));
-        HelloWorldService client2 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3b4a");
-        assertEquals("Hi petra", client2.getGreetings("petra"));
-        HelloWorldService client3 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3b4b");
-        assertEquals("Hi petra", client3.getGreetings("petra"));
-        HelloWorldService client4 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3a4a");
-        assertEquals("Hi petra", client4.getGreetings("petra"));
-        HelloWorldService client5 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3a4b");
-        assertEquals("Hi petra", client5.getGreetings("petra"));
-        HelloWorldService client6 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3b4a");
-        assertEquals("Hi petra", client6.getGreetings("petra"));
-        HelloWorldService client7 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3b4b");
-        assertEquals("Hi petra", client7.getGreetings("petra"));
-        HelloWorldService client8 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3a4a");
-        assertEquals("Hi petra", client8.getGreetings("petra"));
-        HelloWorldService client9 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3a4b");
-        assertEquals("Hi petra", client9.getGreetings("petra"));
-        HelloWorldService client10 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3b4a");
-        assertEquals("Hi petra", client10.getGreetings("petra"));
-        HelloWorldService client11 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3b4b");
-        assertEquals("Hi petra", client11.getGreetings("petra"));
-        HelloWorldService client12 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3a4a");
-        assertEquals("Hi petra", client12.getGreetings("petra"));
-        HelloWorldService client13 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3a4b");
-        assertEquals("Hi petra", client13.getGreetings("petra"));
-        HelloWorldService client14 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3b4a");
-        assertEquals("Hi petra", client14.getGreetings("petra"));
-        HelloWorldService client15 = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3b4b");
-        assertEquals("Hi petra", client15.getGreetings("petra"));
     }
-
-//    public void testClient1a2a3a4a()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3a4a");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1a2a3a4b()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3a4b");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1a2a3b4a()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3b4a");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1a2a3b4b()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3b4b");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1a2b3a4a()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3a4a");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1a2b3a4b()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3a4b");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1a2b3b4a()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3b4a");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1a2b3b4b()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3b4b");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1b2a3a4a()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3a4a");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1b2a3a4b()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3a4b");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1b2a3b4a()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3b4a");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1b2a3b4b()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3b4b");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1b2b3a4a()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3a4a");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1b2b3a4b()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3a4b");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1b2b3b4a()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3b4a");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
-//    public void testClient1b2b3b4b()  {
-//        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3b4b");
-//        assertEquals("Hi petra", client.getGreetings("petra"));
-//    }
+    public void testClient1a2a3a4b()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3a4b");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1a2a3b4a()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3b4a");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1a2a3b4b()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2a3b4b");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1a2b3a4a()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3a4a");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1a2b3a4b()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3a4b");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1a2b3b4a()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3b4a");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1a2b3b4b()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1a2b3b4b");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1b2a3a4a()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3a4a");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1b2a3a4b()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3a4b");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1b2a3b4a()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3b4a");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1b2a3b4b()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2a3b4b");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1b2b3a4a()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3a4a");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1b2b3a4b()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3a4b");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1b2b3b4a()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3b4a");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
+    public void testClient1b2b3b4b()  {
+        HelloWorldService client = CurrentCompositeContext.getContext().locateService(HelloWorldService.class,
"Client1b2b3b4b");
+        assertEquals("Hi petra", client.getGreetings("petra"));
+    }
 
     protected void setUp() throws Exception {
     	SCARuntime.start("WSDLTest.composite");
     }
 
-//    protected void setUp() throws Exception {
-//        SCARuntime.start("org/apache/tuscany/binding/axis2/itests/HelloWorld.composite");
-//        ComponentContext context = SCARuntime.getComponentContext("HelloWorldComponent");
-//        ServiceReference<HelloWorld> service = context.createSelfReference(HelloWorld.class);
-//        helloWorld = service.getService();
-//    }
-    
     protected void tearDown() throws Exception {
         SCARuntime.stop();
     }



---------------------------------------------------------------------
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