Package org.fcrepo.kernel.impl
Class ContainmentIndexImplTest
java.lang.Object
org.fcrepo.kernel.impl.ContainmentIndexImplTest
@ContextConfiguration("/containmentIndexTest.xml")
@TestExecutionListeners({org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class,org.flywaydb.test.FlywayTestExecutionListener.class})
public class ContainmentIndexImplTest
extends Object
- Author:
- peichman
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidEnsure match the id without a trailing slash.voidEnsure match the id with a trailing slash.voidvoidvoid
-
Field Details
-
rule
-
-
Constructor Details
-
ContainmentIndexImplTest
public ContainmentIndexImplTest()
-
-
Method Details
-
setUp
-
testAddChildInTransaction
-
testAddRemoveChildInSameTransaction
-
testAddRemoveChildInTwoTransactions
-
testAddRemovePurgeChildInTransaction
-
testAddRemovePurgeChildThreeTransaction
-
testRollbackTransaction
-
testCommitTransaction
-
testSwapContained
-
testOnlyCommitOne
- Throws:
Exception
-
testTwoTransactionDeleteSameChild
-
testContainedByTwoSameTransactionException
-
testExistsOutsideTransaction
-
testExistsInsideTransaction
-
testRemoveResource
-
testRemoveNotFromTransaction
-
testCommitRemoveFromTransaction
-
testResourceExistsFedoraIDNoTrailingSlash
Ensure match the id without a trailing slash. -
testResourceExistsFedoraIDTrailingSlash
Ensure match the id with a trailing slash. -
clearIndexWhenReset
-
clearAllTransactions
-
testHasResourcesStartingFailure
-
testHasResourcesStartingSuccess
-
testDeletedResourceExists
-
testMementosContainment
- Throws:
Exception
-
testChecksum
- Throws:
Exception
-
testLargeContainment
-
testAddAclInTransaction
-