Package org.fcrepo.kernel.impl
Class TransactionImplTest
java.lang.Object
org.fcrepo.kernel.impl.TransactionImplTest
TransactionTest class.
- Author:
- mohideen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
TransactionImplTest
public TransactionImplTest()
-
-
Method Details
-
setUp
-
testGetId
-
testDefaultShortLived
-
testSetShortLived
-
testCommit
- Throws:
Exception
-
testCommitIfShortLived
- Throws:
Exception
-
testCommitIfShortLivedOnNonShortLived
- Throws:
Exception
-
testCommitExpired
- Throws:
Exception
-
testCommitRolledbackTx
- Throws:
Exception
-
testEnsureRollbackOnFailedCommit
- Throws:
Exception
-
testCommitAlreadyCommittedTx
- Throws:
Exception
-
testRollback
- Throws:
Exception
-
shouldRollbackAllWhenStorageThrowsException
- Throws:
Exception
-
shouldRollbackAllWhenContainmentThrowsException
- Throws:
Exception
-
shouldRollbackAllWhenEventsThrowsException
- Throws:
Exception
-
testRollbackCommited
- Throws:
Exception
-
testRollbackAlreadyRolledbackTx
- Throws:
Exception
-
testExpire
-
testUpdateExpiry
- Throws:
Exception
-
testUpdateExpiryOnExpired
-
testRefresh
- Throws:
Exception
-
testRefreshOnExpired
-
testNewTransactionNotExpired
-
operationsShouldFailWhenTxNotOpen
-
commitShouldWaitTillAllOperationsComplete
-
testSuppressEvents
-
testNoEventSuppression
-