1 25 26 package org.objectweb.jonas.stests.manac; 27 28 29 35 public abstract class A_multi extends A_manac { 36 37 int accounts = 20; int delay = 0; int loops = 1; int amount = 10; int threads = 2; int checklevel = 2; int timeout = 12; 46 public A_multi(String name) { 47 super(name); 48 } 49 50 public int getAccounts() { 51 return accounts; 52 } 53 54 58 public void testBasic() throws Exception { 59 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 60 } 61 62 66 public void testRb() throws Exception { 67 int accounts = 6; 68 int loops = 10; 69 int amount = 400; 70 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 71 } 72 73 77 public void testD3T3() throws Exception { 78 int accounts = 4; 79 int delay = 3; 80 int loops = 6; 81 int threads = 3; 82 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 83 } 84 85 89 public void testT4() throws Exception { 90 int loops = 12; 91 int threads = 4; 92 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 93 } 94 95 99 public void testT6() throws Exception { 100 int loops = 8; 101 int threads = 6; 102 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 103 } 104 105 109 public void testCollT6() throws Exception { 110 int accounts = 4; 111 int threads = 6; 112 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 113 } 114 115 119 public void testT8() throws Exception { 120 int loops = 6; 121 int threads = 8; 122 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 123 } 124 125 129 public void testCollT8() throws Exception { 130 int accounts = 4; 131 int threads = 8; 132 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 133 } 134 135 139 public void testT16() throws Exception { 140 int threads = 16; 141 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 142 } 143 144 145 149 public void testT30() throws Exception { 150 int threads = 30; 151 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 152 } 153 154 155 159 public void testCreateT4() throws Exception { 160 int accounts = 200; 161 int loops = 12; 162 int threads = 4; 163 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 164 } 165 166 170 public void testCreateRbT2() throws Exception { 171 int accounts = 100; 172 int loops = 10; 173 int amount = 444; 174 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 175 } 176 177 181 public void testCreateD2T4() throws Exception { 182 int accounts = 200; 183 int delay = 2; 184 int threads = 4; 185 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 186 } 187 188 192 public void testCreateT6() throws Exception { 193 int accounts = 400; 194 int loops = 8; 195 int threads = 6; 196 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 197 } 198 199 203 public void testCreateT8() throws Exception { 204 int accounts = 400; 205 int loops = 6; 206 int threads = 8; 207 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 208 } 209 210 214 public void testCreateT16() throws Exception { 215 int accounts = 800; 216 int threads = 16; 217 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 218 } 219 220 224 public void testCreateD1T16() throws Exception { 225 int accounts = 300; 226 int delay = 1; 227 int threads = 16; 228 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 229 } 230 231 234 public void testConcurrentCreate() throws Exception { 235 int accounts = 40; 236 int threads = 30; 237 int loops = 1; 238 int timeout = 18; 239 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 240 } 241 242 } 243 | Popular Tags |