1 25 26 27 package org.objectweb.jonas.jtests.clients.distribution; 28 29 import java.rmi.NoSuchObjectException ; 30 import java.rmi.ServerException ; 31 32 public abstract class A_bankLwrite extends A_bankRead { 33 34 public A_bankLwrite(String name) { 35 super(name); 36 } 37 42 public void testBasicCreate() throws Exception { 43 ope(OP_CREATE, 100, 150, 1, 1); 44 } 45 50 public void testShortCreate() throws Exception { 51 ope(OP_CREATE, 6000, 8000, 100, 1); 52 } 53 58 public void testMultiCreate() throws Exception { 59 ope(OP_CREATE, 9000, 9900, 1, 12); 60 } 61 62 67 public void testMultiMove() throws Exception { 68 ope(OP_MOVE, 0, 5, 1, 5); 69 } 70 71 76 77 public void testLongCreate() throws Exception { 78 ope(OP_CREATE, 20000, 80000, 40, 1); 79 } 80 81 86 87 public void testMultiLongCreate() throws Exception { 88 ope(OP_CREATE, 10000, 50000, 20, 4); 89 90 } 91 92 97 public void testMultiLongSameAccount() throws Exception { 98 ope(OP_MOVETO, 6, 6, 20, 10, 10); 99 } 100 101 } 102 | Popular Tags |