[jboss-cvs] JBossAS SVN: r77473 - trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 26 03:19:35 EDT 2008


Author: alessio.soldano at jboss.com
Date: 2008-08-26 03:19:35 -0400 (Tue, 26 Aug 2008)
New Revision: 77473

Modified:
   trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefClientTestCase.java
Log:
Uncommenting webserviceref client testcase


Modified: trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefClientTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefClientTestCase.java	2008-08-26 06:16:30 UTC (rev 77472)
+++ trunk/testsuite/src/main/org/jboss/test/ws/jaxws/webserviceref/WebServiceRefClientTestCase.java	2008-08-26 07:19:35 UTC (rev 77473)
@@ -30,6 +30,7 @@
 
 import org.jboss.test.ws.JBossWSTest;
 import org.jboss.test.ws.JBossWSTestSetup;
+import org.jboss.ejb3.client.ClientLauncher;
 
 /**
  * Test the JAXWS annotation: javax.xml.ws.WebServiceref
@@ -58,11 +59,11 @@
       assertEquals(helloWorld, retObj);
    }
 
-   public void testApplicationClient() throws Exception
+   public void testApplicationClient() throws Throwable
    {
       String helloWorld = "Hello World!";
       ApplicationClient.iniCtx = getInitialContext();
-      //ClientLauncher.launch(ApplicationClient.class.getName(), "jbossws-client",  new String[]{helloWorld});
-      //assertEquals(helloWorld, ApplicationClient.retStr);
+      new ClientLauncher().launch(ApplicationClient.class.getName(), "jbossws-client",  new String[]{helloWorld});
+      assertEquals(helloWorld, ApplicationClient.retStr);
    }
 }




More information about the jboss-cvs-commits mailing list