TxnTestCase.java | Class | Permuates test cases over three transaction types: null (non-transactional),
auto-commit, and user (explicit).
Overrides runTest, setUp and tearDown to open/close the environment and to
set up protected members for use by test cases.
If a subclass needs to override setUp or tearDown, the overridden method
should call super.setUp or super.tearDown.
When writing a test case based on this class, write it as if a user txn
were always used: call txnBegin, txnCommit and txnAbort for all write
operations. |