| org.apache.ojb.junit.ODMGTestCase org.apache.ojb.odmg.ODMGRollbackTest
ODMGRollbackTest | public class ODMGRollbackTest extends ODMGTestCase (Code) | | Do some rollback tests and check behavior within transactions.
CAUTION: This tests works only against the default repository.
|
Inner Class :public static class RollbackObjectOne | |
Inner Class :public static class RollbackObjectTwo | |
getDBObjectCountWithNewPB | protected int getDBObjectCountWithNewPB(Class target) throws Exception(Code) | | |
testCheckCacheAfterRollback | public void testCheckCacheAfterRollback() throws Exception(Code) | | |
testDoubleAbortTxCall | public void testDoubleAbortTxCall() throws Exception(Code) | | |
testDuplicateLocking | public void testDuplicateLocking() throws Exception(Code) | | |
testEmpty | public void testEmpty() throws Exception(Code) | | test empty usage of methods
|
testInternalCausedRollback | public void testInternalCausedRollback() throws Exception(Code) | | |
testResultsAfterTransaction | public void testResultsAfterTransaction() throws Exception(Code) | | Tests object count after a commited transaction
thma:
this testcase seems to fail for some strange problems with the testbed data
the thrown error is unrelated to the things covered in the testcase.
arminw: should be fixed
|
testResultsAfterTransactionWithClearedCache | public void testResultsAfterTransactionWithClearedCache() throws Exception(Code) | | Tests object count after a commited transaction
|
testResultsWhileTransactionWithCheckpoint | public void testResultsWhileTransactionWithCheckpoint() throws Exception(Code) | | Tests behavior within transactions. If i store 5 odmgZoos within a transaction
and after that within the same transaction i do query 'select all odmgZoos'
the number of odmgZoos returned should be oldNumber+5 when using checkpoint.
thma:
this testcase seems to fail for some strange problems with the testbed data
the thrown error is unrelated to the things covered in the testcase.
arminw: should be fixed
|
testTransactionFlush | public void testTransactionFlush() throws Exception(Code) | | |
testTransactionFlush_2 | public void testTransactionFlush_2() throws Exception(Code) | | |
testUserRollback | public void testUserRollback() throws Exception(Code) | | Test the rollback behaviour. If i store 10 odmgZoos within a transaction and after
that store the transaction was aborted, the number of odmgZoos in the DB should be unchanged.
|
testUserRollbackWithCheckpoint | public void testUserRollbackWithCheckpoint() throws Exception(Code) | | Test the rollback behaviour. If i store 10 odmgZoos within a transaction and do a checkpoint call.
After that the transaction was aborted, the number of odmgZoos in the DB should be unchanged.
|
|
|