org.objectweb.jonas.jtests.clients.entity
Class F_IsolationEC2

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.objectweb.jonas.jtests.util.JTestCase
                    |
                    +--org.objectweb.jonas.jtests.clients.entity.A_Isolation
                          |
                          +--org.objectweb.jonas.jtests.clients.entity.F_IsolationEC2
All Implemented Interfaces:
junit.framework.Test

public class F_IsolationEC2
extends A_Isolation

These tests are about transaction isolation on CMP version 2 entity beans. Only specific tests to CMP are here, all tests common to BMP and CMP are in the inherited class IsolationTests.

Author:
Helene Joanin (jonas team)

Field Summary
protected static SimpleHome home
           
 
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase
ictx, isInit, jonasName, msgerror, testtorun, utx
 
Constructor Summary
F_IsolationEC2(java.lang.String name)
           
 
Method Summary
 SimpleHome getHome()
          return SimpleHome, that can be either BMP or CMP bean.
static void main(java.lang.String[] args)
           
protected  void setUp()
          init environment: - load beans - create/init database for entities.
static junit.framework.Test suite()
          This suite is all CMP test cases
 
Methods inherited from class org.objectweb.jonas.jtests.clients.entity.A_Isolation
testIsolation1
 
Methods inherited from class org.objectweb.jonas.jtests.util.JTestCase
debug, getDBEnv, random, sleep, tearDown, testEmpty, unloadBeans, 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 SimpleHome home
Constructor Detail

F_IsolationEC2

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

getHome

public SimpleHome getHome()
Description copied from class: A_Isolation
return SimpleHome, that can be either BMP or CMP bean.
Overrides:
getHome in class A_Isolation

setUp

protected void setUp()
init environment: - load beans - create/init database for entities.
Overrides:
setUp in class A_Isolation

suite

public static junit.framework.Test suite()
This suite is all CMP test cases

main

public static void main(java.lang.String[] args)