org.objectweb.jonas.stests.manac
Class A_remove

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.objectweb.jonas.stests.util.JTestCase
                    |
                    +--org.objectweb.jonas.stests.manac.A_remove
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
F_remove, F_remove_2

public abstract class A_remove
extends JTestCase

This test suite tests remove operations in a multithreading environment.


Field Summary
protected static ManagerHome home
           
protected static Manager manager
           
static boolean threadfail
           
 
Fields inherited from class org.objectweb.jonas.stests.util.JTestCase
ictx, jonasName, testtorun, utx
 
Constructor Summary
A_remove(java.lang.String name)
           
 
Method Summary
abstract  java.lang.String getManagerHomeName()
           
 void remac(int accounts, int loops, int threads)
          Run a multithreaded client test.
protected  void setUp()
          common setUp routine, used for every test.
protected  void tearDown()
           
 void testRemac_100_1_1()
          just to validate the test, with simplest values
 void testRemac_100_100_1()
           
 void testRemac_100_100_2()
           
 void testRemac_1000_10_5()
           
 void testRemac_10000_20_8()
           
 void testRemac_500_100_5()
           
 
Methods inherited from class org.objectweb.jonas.stests.util.JTestCase
useBeans
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

home

protected static ManagerHome home

manager

protected static Manager manager

threadfail

public static boolean threadfail
Constructor Detail

A_remove

public A_remove(java.lang.String name)
Method Detail

getManagerHomeName

public abstract java.lang.String getManagerHomeName()

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: JTestCase
common setUp routine, used for every test.
Overrides:
setUp in class JTestCase

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase

remac

public void remac(int accounts,
                  int loops,
                  int threads)
           throws java.lang.Exception
Run a multithreaded client test. Common part to all test cases.

testRemac_100_1_1

public void testRemac_100_1_1()
                       throws java.lang.Exception
just to validate the test, with simplest values

testRemac_100_100_1

public void testRemac_100_100_1()
                         throws java.lang.Exception

testRemac_100_100_2

public void testRemac_100_100_2()
                         throws java.lang.Exception

testRemac_1000_10_5

public void testRemac_1000_10_5()
                         throws java.lang.Exception

testRemac_10000_20_8

public void testRemac_10000_20_8()
                          throws java.lang.Exception

testRemac_500_100_5

public void testRemac_500_100_5()
                         throws java.lang.Exception