|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--org.objectweb.jonas.jtests.util.JTestCase | +--org.objectweb.jonas.jtests.clients.transaction.F_EntityCMT
Test for Bean Managed Transaction entity beans
Field Summary | |
protected static PersonneHome |
ehome
|
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase |
ictx, isInit, jonasName, msgerror, testtorun, utx |
Constructor Summary | |
F_EntityCMT(java.lang.String name)
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
common setUp routine, used for every test. |
static junit.framework.Test |
suite()
|
void |
testStateAfterRollBack()
Test that rollback will not lost old bean state - create bean - make a transaction that change the num and roll it back - check num has not been changed. |
void |
testStateAfterRollBackNoTx()
Test that rollback will not lost old bean state - access bean - make a transaction rolled back - check state has not been changed. |
void |
testStateAfterRollBackTx()
Test that rollback will not lost old bean state - access bean - make a transaction rolled back - check state has not been changed. |
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 |
protected static PersonneHome ehome
Constructor Detail |
public F_EntityCMT(java.lang.String name)
Method Detail |
protected void setUp()
JTestCase
setUp
in class JTestCase
public void testStateAfterRollBack() throws java.lang.Exception
public void testStateAfterRollBackNoTx() throws java.lang.Exception
public void testStateAfterRollBackTx() throws java.lang.Exception
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |