1 22 package org.jboss.test.lock.test; 23 24 import junit.framework.Test; 25 import junit.framework.TestCase; 26 import junit.framework.TestSuite; 27 28 import org.jboss.test.JBossTestCase; 29 30 33 public class EnterpriseEntityStressTestCase 34 extends JBossTestCase 35 { 36 41 public EnterpriseEntityStressTestCase(String name) 42 { 43 super(name); 44 } 45 46 51 public static Test suite() throws Exception 52 { 53 TestSuite suite = new TestSuite(); 54 55 56 suite.addTest(new TestSuite(Entity_Option_A_Test.class)); 58 suite.addTest(new TestSuite(Entity_Option_B_Test.class)); 59 suite.addTest(new TestSuite(Entity_Option_C_Test.class)); 60 65 66 return getDeploySetup(suite, "locktest.jar"); 67 } 68 69 72 public static class Entity_Option_A_Test 73 extends EnterpriseEntityTest 74 { 75 80 public Entity_Option_A_Test(String name) 81 { 82 super(name, "EnterpriseEntity_A"); 83 } 84 } 85 86 89 public static class Entity_Option_B_Test 90 extends EnterpriseEntityTest 91 { 92 97 public Entity_Option_B_Test(String name) 98 { 99 super(name, "EnterpriseEntity_B"); 100 } 101 102 public void testB2B() throws Exception 103 { 104 } 107 108 } 109 110 113 public static class Entity_Option_C_Test 114 extends EnterpriseEntityTest 115 { 116 121 public Entity_Option_C_Test(String name) 122 { 123 super(name, "EnterpriseEntity_C"); 124 } 125 public void testB2B() throws Exception 126 { 127 } 130 } 131 132 135 public static class Entity_Option_D_Test 136 extends EnterpriseEntityTest 137 { 138 140 145 public Entity_Option_D_Test(String name) 146 { 147 super(name, "EnterpriseEntity_D"); 148 } 149 } 150 151 154 public static class Entity_Option_B_Multi_Test 155 extends EnterpriseEntityTest 156 { 157 162 public Entity_Option_B_Multi_Test(String name) 163 { 164 super(name, "EnterpriseEntity_B_Multi"); 165 } 166 public void testB2B() throws Exception 167 { 168 } 171 } 172 173 176 public static class Entity_Option_C_Multi_Test 177 extends EnterpriseEntityTest 178 { 179 184 public Entity_Option_C_Multi_Test(String name) 185 { 186 super(name, "EnterpriseEntity_C_Multi"); 187 } 188 public void testB2B() throws Exception 189 { 190 } 193 } 194 195 } 196 197 | Popular Tags |