[jboss-cvs] JBossAS SVN: r64648 - in trunk/ejb3: src/test/org/jboss/ejb3/test/invalidtxmdb/unit and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 17 05:22:21 EDT 2007
Author: wolfc
Date: 2007-08-17 05:22:21 -0400 (Fri, 17 Aug 2007)
New Revision: 64648
Modified:
trunk/ejb3/build-test.xml
trunk/ejb3/src/test/org/jboss/ejb3/test/invalidtxmdb/unit/MDBUnitTestCase.java
Log:
Fixed unit test: proper undeployment of queue
Modified: trunk/ejb3/build-test.xml
===================================================================
--- trunk/ejb3/build-test.xml 2007-08-17 02:14:32 UTC (rev 64647)
+++ trunk/ejb3/build-test.xml 2007-08-17 09:22:21 UTC (rev 64648)
@@ -2644,13 +2644,16 @@
<mkdir dir="${build.lib}"/>
+ <copy todir="${build.lib}">
+ <fileset dir="${resources}/test/invalidtxmdb">
+ <include name="*.xml"/>
+ </fileset>
+ </copy>
+
<jar jarfile="${build.lib}/invalidtxmdb-test.jar">
<fileset dir="${build.classes}">
<include name="org/jboss/ejb3/test/invalidtxmdb/*.class"/>
</fileset>
- <fileset dir="${resources}/test/invalidtxmdb">
- <include name="*.xml"/>
- </fileset>
</jar>
</target>
Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/invalidtxmdb/unit/MDBUnitTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/invalidtxmdb/unit/MDBUnitTestCase.java 2007-08-17 02:14:32 UTC (rev 64647)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/invalidtxmdb/unit/MDBUnitTestCase.java 2007-08-17 09:22:21 UTC (rev 64648)
@@ -34,6 +34,8 @@
import org.jboss.test.JBossTestCase;
/**
+ * EJBTHREE-831
+ *
* @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
*/
public class MDBUnitTestCase extends JBossTestCase
@@ -79,7 +81,7 @@
public static Test suite() throws Exception
{
- return getDeploySetup(MDBUnitTestCase.class, "invalidtxmdb-test.jar");
+ return getDeploySetup(MDBUnitTestCase.class, "mdbtest-service.xml, invalidtxmdb-test.jar");
}
}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list