User: schaefera
Date: 02/04/12 16:54:12
Added: src/main/org/jboss/test/lock/test Tag: Branch_2_4
EnterpriseEntityStressTestCase.java
Log:
Backport of the JBoss 3.0 stress tests w/o JMS and deadlock tests.
Revision Changes Path
No revision
No revision
1.5.2.1 +75 -23
jbosstest/src/main/org/jboss/test/lock/test/EnterpriseEntityStressTestCase.java
Index: EnterpriseEntityStressTestCase.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/lock/test/EnterpriseEntityStressTestCase.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -r1.5 -r1.5.2.1
--- EnterpriseEntityStressTestCase.java 12 Apr 2002 21:56:59 -0000 1.5
+++ EnterpriseEntityStressTestCase.java 12 Apr 2002 23:54:12 -0000 1.5.2.1
@@ -38,12 +38,17 @@
TestSuite suite = new TestSuite();
- // Test ejb.plugins.lock.QueuedPessimisticEJBLock
suite.addTest(new TestSuite(Entity_Option_A_Test.class));
suite.addTest(new TestSuite(Entity_Option_B_Test.class));
suite.addTest(new TestSuite(Entity_Option_C_Test.class));
suite.addTest(new TestSuite(Entity_Option_D_Test.class));
+ // Test ejb.plugins.lock.QueuedPessimisticEJBLock
+ suite.addTest(new TestSuite(Entity_Option_A_Queued_Test.class));
+ suite.addTest(new TestSuite(Entity_Option_B_Queued_Test.class));
+ suite.addTest(new TestSuite(Entity_Option_C_Queued_Test.class));
+ suite.addTest(new TestSuite(Entity_Option_D_Queued_Test.class));
+
suite.addTest(new TestSuite(Entity_Option_C_Multi_Test.class));
return getDeploySetup(suite, "locktest.jar");
@@ -81,13 +86,6 @@
{
super(name, "EnterpriseEntity_B");
}
-
- public void testB2B() throws Exception
- {
- // This test will not work with commit-option B, because
- // all fields of the entity bean are nulled out on activation
- }
-
}
/**
@@ -105,11 +103,6 @@
{
super(name, "EnterpriseEntity_C");
}
- public void testB2B() throws Exception
- {
- // This test will not work with commit-option C, because
- // all fields of the entity bean are nulled out on activation
- }
}
/**
@@ -132,6 +125,75 @@
/**
* #Description of the Class
*/
+ public static class Entity_Option_A_Queued_Test
+ extends EnterpriseEntityTest
+ {
+ /**
+ * Constructor for the Entity_Option_A_Queued_Test object
+ *
+ * @param name Description of Parameter
+ */
+ public Entity_Option_A_Queued_Test(String name)
+ {
+ super(name, "EnterpriseEntity_A_Queued");
+ }
+ }
+
+ /**
+ * #Description of the Class
+ */
+ public static class Entity_Option_B_Queued_Test
+ extends EnterpriseEntityTest
+ {
+ /**
+ * Constructor for the Entity_Option_B_Queued_Test object
+ *
+ * @param name Description of Parameter
+ */
+ public Entity_Option_B_Queued_Test(String name)
+ {
+ super(name, "EnterpriseEntity_B_Queued");
+ }
+ }
+
+ /**
+ * #Description of the Class
+ */
+ public static class Entity_Option_C_Queued_Test
+ extends EnterpriseEntityTest
+ {
+ /**
+ * Constructor for the Entity_Option_C_Queued_Test object
+ *
+ * @param name Description of Parameter
+ */
+ public Entity_Option_C_Queued_Test(String name)
+ {
+ super(name, "EnterpriseEntity_C_Queued");
+ }
+ }
+
+ /**
+ * #Description of the Class
+ */
+ public static class Entity_Option_D_Queued_Test
+ extends EnterpriseEntityTest
+ {
+ /**
+ * Constructor for the Entity_Option_D_Queued_Test object
+ *
+ * @param name Description of Parameter
+ */
+ public Entity_Option_D_Queued_Test(String name)
+ {
+ super(name, "EnterpriseEntity_D_Queued");
+ }
+ }
+
+
+ /**
+ * #Description of the Class
+ */
public static class Entity_Option_B_Multi_Test
extends EnterpriseEntityTest
{
@@ -144,11 +206,6 @@
{
super(name, "EnterpriseEntity_B_Multi");
}
- public void testB2B() throws Exception
- {
- // This test will not work with commit-option B, because
- // all fields of the entity bean are nulled out on activation
- }
}
/**
@@ -165,11 +222,6 @@
public Entity_Option_C_Multi_Test(String name)
{
super(name, "EnterpriseEntity_C_Multi");
- }
- public void testB2B() throws Exception
- {
- // This test will not work with commit-option C, because
- // all fields of the entity bean are nulled out on activation
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development