User: d_jencks
Date: 01/09/18 15:00:43
Modified: src/main/org/jboss/test/bank/test BankStressTestCase.java
Log:
Changed tests to deploy/undeploy only once per testcase file. Moved clearAuthCache
to JBossTestServices
Revision Changes Path
1.3 +6 -8
jbosstest/src/main/org/jboss/test/bank/test/BankStressTestCase.java
Index: BankStressTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/test/BankStressTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BankStressTestCase.java 2001/09/15 00:12:16 1.2
+++ BankStressTestCase.java 2001/09/18 22:00:43 1.3
@@ -23,7 +23,7 @@
*
* @see <related>
* @author Author: d_jencks among many others
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class BankStressTestCase
extends JBossTestCase
@@ -439,10 +439,6 @@
protected void setUp()
throws Exception
{
- super.setUp();
- deployJ2ee("bank.jar");
-
-
getLog().info("Remove accounts");
{
AccountHome home = (AccountHome)new
InitialContext().lookup(AccountHome.JNDI_NAME);
@@ -468,11 +464,13 @@
}
}
}
+
- protected void tearDown() throws Exception
+ public static Test suite() throws Exception
{
- undeployJ2ee("bank.jar");
- super.tearDown();
+ return getJ2eeSetup(BankStressTestCase.class, "bank.jar");
}
+
+
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development