[jbossws-commits] JBossWS SVN: r15690 - in shared-testsuite/trunk/testsuite/src/test: java/org/jboss/test/ws/jaxws/samples/serviceref and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Mon Feb 20 08:35:41 EST 2012


Author: ropalka
Date: 2012-02-20 08:35:40 -0500 (Mon, 20 Feb 2012)
New Revision: 15690

Modified:
   shared-testsuite/trunk/testsuite/src/test/ant-import/build-samples-jaxws.xml
   shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java
Log:
rename ejb client jar to don't be detected as appclient

Modified: shared-testsuite/trunk/testsuite/src/test/ant-import/build-samples-jaxws.xml
===================================================================
--- shared-testsuite/trunk/testsuite/src/test/ant-import/build-samples-jaxws.xml	2012-02-20 13:16:55 UTC (rev 15689)
+++ shared-testsuite/trunk/testsuite/src/test/ant-import/build-samples-jaxws.xml	2012-02-20 13:35:40 UTC (rev 15690)
@@ -306,7 +306,7 @@
            <include name="jboss-web.xml"/>
         </webinf>
      </war>
-     <jar destfile="${tests.output.dir}/test-libs/jaxws-samples-serviceref-ejb-client.jar">
+     <jar destfile="${tests.output.dir}/test-libs/jaxws-samples-serviceref-ejbclient.jar">
         <fileset dir="${tests.output.dir}/test-classes">
            <include name="org/jboss/test/ws/jaxws/samples/serviceref/EJBClient.class"/>
            <include name="org/jboss/test/ws/jaxws/samples/serviceref/EJBRemote.class"/>

Modified: shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java
===================================================================
--- shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java	2012-02-20 13:16:55 UTC (rev 15689)
+++ shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java	2012-02-20 13:35:40 UTC (rev 15690)
@@ -46,7 +46,7 @@
    
    public static Test suite()
    {
-      final String archives = "jaxws-samples-serviceref.war,jaxws-samples-serviceref-ejb-client.jar";
+      final String archives = "jaxws-samples-serviceref.war,jaxws-samples-serviceref-ejbclient.jar";
       return new JBossWSTestSetup(ServiceRefEJBTestCase.class, archives);
    }
 
@@ -73,7 +73,7 @@
    public void testEJBClient() throws Exception
    {      
       InitialContext iniCtx = getInitialContext();
-      EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("ejb:/jaxws-samples-serviceref-ejb-client//EJBClient!" + EJBRemote.class.getName());
+      EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("ejb:/jaxws-samples-serviceref-ejbclient//EJBClient!" + EJBRemote.class.getName());
 
       String helloWorld = "Hello World!";
       Object retObj = ejbRemote.echo(helloWorld);



More information about the jbossws-commits mailing list