1 25 26 package org.objectweb.jonas.stests.bank; 27 28 29 30 public abstract class A_bankWrite extends A_bank { 31 32 public A_bankWrite(String name) { 33 super(name); 34 } 35 36 public void testBasicMove() throws Exception { 37 ope(OP_MOVE, 0, 9, 1, 1); 38 } 39 40 public void testBasicMoveNC() throws Exception { 41 ope(OP_MOVE, 0, 9, 1, 1, 5, false); 42 } 43 44 public void testLongMove() throws Exception { 45 ope(OP_MOVE, 0, 9, 100, 1); 46 } 47 48 public void testLongMoveNC() throws Exception { 49 ope(OP_MOVE, 0, 9, 100, 1, 5, false); 50 } 51 52 56 public void testMultiLongMove() throws Exception { 57 ope(OP_MOVE, 0, 9, 10, 10); 58 } 59 60 public void testBasicRemove() throws Exception { 61 ope(OP_CREATE, 3000, 4000, 1, 1); 62 ope(OP_REMOVE, 3000, 4000, 1, 1); 63 } 64 65 public void testLongRemove() throws Exception { 66 ope(OP_CREATE, 3000, 4000, 100, 1); 67 ope(OP_REMOVE, 3000, 4000, 100, 1); 68 } 69 70 public void testMultiRemove() throws Exception { 71 ope(OP_CREATE, 3000, 4000, 100, 1); 72 ope(OP_REMOVE, 3000, 4000, 1, 8); 73 } 74 75 public void testLongMultiRemove() throws Exception { 76 ope(OP_CREATE, 3000, 3300, 300, 1); 77 ope(OP_REMOVE, 3000, 3300, 10, 8); 78 } 79 80 83 public void testBasicRB() throws Exception { 84 ope(OP_MOVE, 0, 2, 4, 1, 700); 85 } 86 87 public void testMultiRB() throws Exception { 88 ope(OP_MOVE, 0, 4, 4, 5, 600); 89 } 90 91 public void testLongRB() throws Exception { 92 ope(OP_MOVE, 0, 4, 100, 1, 800); 93 } 94 95 public void testLongMultiRB() throws Exception { 96 ope(OP_MOVE, 0, 8, 50, 4, 900); 97 } 98 99 public void testBasicCreate() throws Exception { 100 ope(OP_CREATE, 100, 150, 1, 1); 101 } 102 103 public void testLongCreate() throws Exception { 104 ope(OP_CREATE, 200, 250, 30, 1); 105 } 106 107 public void testMultiCreate() throws Exception { 108 ope(OP_CREATE, 1000, 1900, 1, 12); 109 } 110 111 public void testLongMultiCreate() throws Exception { 112 ope(OP_CREATE, 2000, 9000, 10, 8); 113 } 114 115 public void testMultiMove() throws Exception { 116 ope(OP_MOVE, 0, 5, 1, 5); 117 } 118 119 120 } 121 | Popular Tags |