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 Modifier and Type Field Description org.mockito.junit.MockitoRulerule
-
Constructor Summary
Constructors Constructor Description ContainmentIndexImplTest()
-
Method Summary
-
-
-
Field Detail
-
rule
public org.mockito.junit.MockitoRule rule
-
-
Constructor Detail
-
ContainmentIndexImplTest
public ContainmentIndexImplTest()
-
-
Method Detail
-
setUp
public void setUp()
-
testAddChildInTransaction
public void testAddChildInTransaction()
-
testAddRemoveChildInSameTransaction
public void testAddRemoveChildInSameTransaction()
-
testAddRemoveChildInTwoTransactions
public void testAddRemoveChildInTwoTransactions()
-
testAddRemovePurgeChildInTransaction
public void testAddRemovePurgeChildInTransaction()
-
testAddRemovePurgeChildThreeTransaction
public void testAddRemovePurgeChildThreeTransaction()
-
testRollbackTransaction
public void testRollbackTransaction()
-
testCommitTransaction
public void testCommitTransaction()
-
testSwapContained
public void testSwapContained()
-
testOnlyCommitOne
public void testOnlyCommitOne() throws Exception
- Throws:
Exception
-
testTwoTransactionDeleteSameChild
public void testTwoTransactionDeleteSameChild()
-
testContainedByTwoSameTransactionException
public void testContainedByTwoSameTransactionException()
-
testExistsOutsideTransaction
public void testExistsOutsideTransaction()
-
testExistsInsideTransaction
public void testExistsInsideTransaction()
-
testRemoveResource
public void testRemoveResource()
-
testRemoveNotFromTransaction
public void testRemoveNotFromTransaction()
-
testCommitRemoveFromTransaction
public void testCommitRemoveFromTransaction()
-
testResourceExistsFedoraIDNoTrailingSlash
public void testResourceExistsFedoraIDNoTrailingSlash()
Ensure match the id without a trailing slash.
-
testResourceExistsFedoraIDTrailingSlash
public void testResourceExistsFedoraIDTrailingSlash()
Ensure match the id with a trailing slash.
-
clearIndexWhenReset
public void clearIndexWhenReset()
-
testHasResourcesStartingFailure
public void testHasResourcesStartingFailure()
-
testHasResourcesStartingSuccess
public void testHasResourcesStartingSuccess()
-
testDeletedResourceExists
public void testDeletedResourceExists()
-
testMementosContainment
public void testMementosContainment() throws Exception
- Throws:
Exception
-
testChecksum
public void testChecksum() throws Exception
- Throws:
Exception
-
testLargeContainment
public void testLargeContainment()
-
-