| |
|
| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.transaction.F_EntityCMT
F_EntityCMT | public class F_EntityCMT extends JTestCase (Code) | | Test for Bean Managed Transaction entity beans
author: Philippe Durieux |
Method Summary | |
public static void | main(String args) | protected void | setUp() | public static Test | suite() | public 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. | public void | testStateAfterRollBackNoTx() Test that rollback will not lost old bean state
- access bean
- make a transaction rolled back
- check state has not been changed. | public void | testStateAfterRollBackTx() Test that rollback will not lost old bean state
- access bean
- make a transaction rolled back
- check state has not been changed. |
setUp | protected void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testStateAfterRollBack | public void testStateAfterRollBack() throws Exception(Code) | | 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.
|
testStateAfterRollBackNoTx | public void testStateAfterRollBackNoTx() throws Exception(Code) | | Test that rollback will not lost old bean state
- access bean
- make a transaction rolled back
- check state has not been changed.
|
testStateAfterRollBackTx | public void testStateAfterRollBackTx() throws Exception(Code) | | Test that rollback will not lost old bean state
- access bean
- make a transaction rolled back
- check state has not been changed.
|
|
|
|