org.objectweb.jonas.stests.manyops
Class A_manyops

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.objectweb.jonas.stests.util.JTestCase
                    |
                    +--org.objectweb.jonas.stests.manyops.A_manyops
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
F_manyops_A, F_manyops_A_2, F_manyops_B, F_manyops_B_2, F_manyops_std, F_manyops_std_2

public abstract class A_manyops
extends JTestCase


Field Summary
protected static InitDB idb
           
protected static InitDBHome idbHome
           
protected static boolean initialized
           
protected static ProductHome pHome
           
 
Fields inherited from class org.objectweb.jonas.stests.util.JTestCase
ictx, jonasName, testtorun, utx
 
Constructor Summary
A_manyops(java.lang.String name)
           
 
Method Summary
 void manyops(int opNb, java.lang.String opType)
          Allows to do 'opNb' times of the 'opType' operation on a Product bean.
protected  void setUp()
          common setUp routine, used for every test.
protected  void tearDown()
           
 void test_100_create()
           
 void test_100_createmany()
           
 void test_100_delete()
           
 void test_100_findByNumber()
           
 void test_100_findByPk()
           
 void test_100_get()
           
 void test_100_set()
           
 void test_250_create()
           
 void test_250_createmany()
           
 void test_250_delete()
           
 void test_250_findByNumber()
           
 void test_250_findByPk()
           
 void test_250_get()
           
 void test_250_set()
           
 void test_500_create()
           
 void test_500_createmany()
           
 void test_500_delete()
           
 void test_500_findByNumber()
           
 void test_500_findByPk()
           
 void test_500_get()
           
 void test_500_set()
           
 
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

idbHome

protected static InitDBHome idbHome

idb

protected static InitDB idb

pHome

protected static ProductHome pHome

initialized

protected static boolean initialized
Constructor Detail

A_manyops

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

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

manyops

public void manyops(int opNb,
                    java.lang.String opType)
             throws java.lang.Exception
Allows to do 'opNb' times of the 'opType' operation on a Product bean. The 'opType' may be: - 'create', - 'createmany' (ie one operation is N create operation) - 'delete' - 'get' - 'set' - 'findByPk' - 'findByNumber'

test_100_create

public void test_100_create()
                     throws java.lang.Exception

test_100_get

public void test_100_get()
                  throws java.lang.Exception

test_100_set

public void test_100_set()
                  throws java.lang.Exception

test_100_findByPk

public void test_100_findByPk()
                       throws java.lang.Exception

test_100_findByNumber

public void test_100_findByNumber()
                           throws java.lang.Exception

test_100_delete

public void test_100_delete()
                     throws java.lang.Exception

test_100_createmany

public void test_100_createmany()
                         throws java.lang.Exception

test_250_create

public void test_250_create()
                     throws java.lang.Exception

test_250_get

public void test_250_get()
                  throws java.lang.Exception

test_250_set

public void test_250_set()
                  throws java.lang.Exception

test_250_findByPk

public void test_250_findByPk()
                       throws java.lang.Exception

test_250_findByNumber

public void test_250_findByNumber()
                           throws java.lang.Exception

test_250_delete

public void test_250_delete()
                     throws java.lang.Exception

test_250_createmany

public void test_250_createmany()
                         throws java.lang.Exception

test_500_create

public void test_500_create()
                     throws java.lang.Exception

test_500_get

public void test_500_get()
                  throws java.lang.Exception

test_500_set

public void test_500_set()
                  throws java.lang.Exception

test_500_findByPk

public void test_500_findByPk()
                       throws java.lang.Exception

test_500_findByNumber

public void test_500_findByNumber()
                           throws java.lang.Exception

test_500_delete

public void test_500_delete()
                     throws java.lang.Exception

test_500_createmany

public void test_500_createmany()
                         throws java.lang.Exception