[jboss-cvs] JBossAS SVN: r63692 - in trunk/ejb3: src/resources/test/appclient and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jun 27 13:34:08 EDT 2007


Author: wolfc
Date: 2007-06-27 13:34:08 -0400 (Wed, 27 Jun 2007)
New Revision: 63692

Added:
   trunk/ejb3/src/resources/test/appclient/appclient-jms-service.xml
Modified:
   trunk/ejb3/build-test.xml
   trunk/ejb3/src/test/org/jboss/ejb3/test/appclient/unit/AppClientUnitTestCase.java
Log:
Fixed appclient unit test

Modified: trunk/ejb3/build-test.xml
===================================================================
--- trunk/ejb3/build-test.xml	2007-06-27 17:28:25 UTC (rev 63691)
+++ trunk/ejb3/build-test.xml	2007-06-27 17:34:08 UTC (rev 63692)
@@ -832,6 +832,12 @@
             <include name="appclient-simpleresource-client.jar"/>
          </fileset>
       </jar>
+
+      <copy todir="${build.lib}">
+         <fileset dir="${resources}/test/appclient">
+            <include name="appclient-jms-service.xml"/>
+         </fileset>
+      </copy>
    </target>
 
    <target name="asynchronous"

Added: trunk/ejb3/src/resources/test/appclient/appclient-jms-service.xml
===================================================================
--- trunk/ejb3/src/resources/test/appclient/appclient-jms-service.xml	                        (rev 0)
+++ trunk/ejb3/src/resources/test/appclient/appclient-jms-service.xml	2007-06-27 17:34:08 UTC (rev 63692)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+   <mbean code="org.jboss.mq.server.jmx.Queue"
+      name="jboss.mq.destination:service=Queue,name=messageReplier">
+      <attribute name="JNDIName">queue/messageReplier</attribute>
+      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+   </mbean>
+</server>
\ No newline at end of file


Property changes on: trunk/ejb3/src/resources/test/appclient/appclient-jms-service.xml
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/appclient/unit/AppClientUnitTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/appclient/unit/AppClientUnitTestCase.java	2007-06-27 17:28:25 UTC (rev 63691)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/appclient/unit/AppClientUnitTestCase.java	2007-06-27 17:34:08 UTC (rev 63692)
@@ -72,7 +72,7 @@
    
    public static Test suite() throws Exception
    {
-      return getDeploySetup(AppClientUnitTestCase.class, "appclient-test.ear");
+      return getDeploySetup(AppClientUnitTestCase.class, "appclient-jms-service.xml,appclient-test.ear");
       //return getDeploySetup(AppClientUnitTestCase.class, "appclient-test.jar,appclient-test-client.jar");
    }
 }




More information about the jboss-cvs-commits mailing list