1 25 26 package org.objectweb.jonas.stests.manac; 27 28 31 public abstract class A_mono extends A_manac { 32 33 int accounts = 20; int delay = 0; int loops = 1; int amount = 10; int threads = 1; int checklevel = 2; int timeout = 12; 42 public A_mono(String name) { 43 super(name); 44 } 45 46 public int getAccounts() { 47 return accounts; 48 } 49 50 53 public void testBasic() throws Exception { 54 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 55 } 56 57 public void testLoop() throws Exception { 58 int loops = 40; 59 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 60 } 61 62 65 public void testRb() throws Exception { 66 int amount = 2000; 67 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 68 } 69 70 public void testDelay() throws Exception { 71 int accounts = 4; 72 int delay = 3; 73 int loops = 6; 74 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 75 } 76 77 public void testCreate() throws Exception { 78 int accounts = 200; 79 int loops = 12; 80 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 81 } 82 83 public void testCreateRb() throws Exception { 84 int accounts = 100; 85 int loops = 10; 86 int amount = 444; 87 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 88 } 89 90 94 public void testTimeout() throws Exception { 95 int timeout = 3; 96 int delay = 5; 97 manac(accounts, delay, loops, amount, threads, checklevel, timeout); 98 } 99 } 100 | Popular Tags |