User: d_jencks
Date: 01/09/18 15:00:43
Modified: src/main/org/jboss/test/dbtest/test DbTypesUnitTestCase.java
Log:
Changed tests to deploy/undeploy only once per testcase file. Moved clearAuthCache
to JBossTestServices
Revision Changes Path
1.3 +2 -13
jbosstest/src/main/org/jboss/test/dbtest/test/DbTypesUnitTestCase.java
Index: DbTypesUnitTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/DbTypesUnitTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DbTypesUnitTestCase.java 2001/09/15 01:07:11 1.2
+++ DbTypesUnitTestCase.java 2001/09/18 22:00:43 1.3
@@ -399,20 +399,9 @@
}
- /**
- * The JUnit setup method
- *
- * @exception Exception Description of Exception
- */
- protected void setUp() throws Exception
+ public static Test suite() throws Exception
{
- super.setUp();
- deployJ2ee("dbtest.jar");
+ return getJ2eeSetup(DbTypesUnitTestCase.class, "dbtest.jar");
}
- protected void tearDown() throws Exception
- {
- undeployJ2ee("dbtest.jar");
- super.tearDown();
- }
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development