User: sparre
Date: 01/10/20 15:25:59
Modified: src/main/org/jboss/test/mdb/test MDBUnitTestCase.java
Log:
Now catching deployment exceptions in setUp() and throwing it in
testServerFound().
This way, a deployment failure does not result in an empty .xml file,
making the test case being forgotten in the final report.
Also added testServerFound() to the MDB testcase.
Revision Changes Path
1.6 +2 -1 jbosstest/src/main/org/jboss/test/mdb/test/MDBUnitTestCase.java
Index: MDBUnitTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/mdb/test/MDBUnitTestCase.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- MDBUnitTestCase.java 2001/09/25 03:34:46 1.5
+++ MDBUnitTestCase.java 2001/10/20 22:25:58 1.6
@@ -51,7 +51,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Antman</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a>
* @author <a href="mailto:[EMAIL PROTECTED]">David Jencks</a>
- * @version <pre>$Revision: 1.5 $</pre>
+ * @version <pre>$Revision: 1.6 $</pre>
*/
public class MDBUnitTestCase
extends JBossTestCase
@@ -190,6 +190,7 @@
public static Test suite() throws Exception
{
TestSuite suite = new TestSuite();
+ suite.addTest(new MDBUnitTestCase("testServerFound",""));
suite.addTest(new MDBUnitTestCase("testObjectMessage",""));
suite.addTest(new MDBUnitTestCase("testQueue","queue/testQueue"));
suite.addTest(new MDBUnitTestCase("testTopic","topic/testTopic"));
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development