1 25 26 package org.objectweb.jonas.stests.manac; 27 28 public abstract class A_simple extends A_manac { 29 30 protected static ManagerHome home = null; 31 protected static Manager manager = null; 32 33 int accounts = 20; int delay = 3; int loops = 1; int amount = -10; int threads = 1; int checklevel = 2; int timeout = 30; 42 public A_simple(String name) { 43 super(name); 44 } 45 46 public void testBasic() throws Exception { 47 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 48 } 49 50 public void testBasicLong() throws Exception { 51 loops = 100; 52 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 53 } 54 55 public void testT2() throws Exception { 56 threads = 2; 57 loops = 10; 58 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 59 } 60 61 public void testT4() throws Exception { 62 threads = 4; 63 loops = 10; 64 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 65 } 66 67 } 68 | Popular Tags |