Package org.fcrepo.kernel.impl.models
Class ResourceHelperImplTest
- java.lang.Object
-
- org.fcrepo.kernel.impl.models.ResourceHelperImplTest
-
@ContextConfiguration("/containmentIndexTest.xml") public class ResourceHelperImplTest extends ObjectTest for ResourceHelper- Since:
- 6.0.0
- Author:
- whikloj
-
-
Constructor Summary
Constructors Constructor Description ResourceHelperImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoesResourceExist_DoesntExist_WithoutSession()voiddoesResourceExist_DoesntExist_WithSession()voiddoesResourceExist_DoesntExists_Description_WithoutSession()voiddoesResourceExist_DoesntExists_Description_WithSession()voiddoesResourceExist_Exception_WithoutSession()Only Mementos go to the persistence layer.voiddoesResourceExist_Exception_WithSession()Only Mementos go to the persistence layer.voiddoesResourceExist_Exists_Description_WithoutSession()voiddoesResourceExist_Exists_Description_WithSession()voiddoesResourceExist_Exists_WithoutSession()voiddoesResourceExist_Exists_WithSession()voidsetup()voidtestGhostNodeFailure()Test an item is not a ghost node because it exists.voidtestGhostNodeSuccess()Test that when the resource that does exist shares the ID of a resource that does not, then we have a ghost node.
-
-
-
Constructor Detail
-
ResourceHelperImplTest
public ResourceHelperImplTest()
-
-
Method Detail
-
doesResourceExist_Exists_WithSession
public void doesResourceExist_Exists_WithSession() throws Exception
- Throws:
Exception
-
doesResourceExist_Exists_Description_WithSession
public void doesResourceExist_Exists_Description_WithSession()
-
doesResourceExist_Exists_WithoutSession
public void doesResourceExist_Exists_WithoutSession() throws Exception
- Throws:
Exception
-
doesResourceExist_Exists_Description_WithoutSession
public void doesResourceExist_Exists_Description_WithoutSession()
-
doesResourceExist_DoesntExist_WithSession
public void doesResourceExist_DoesntExist_WithSession() throws Exception
- Throws:
Exception
-
doesResourceExist_DoesntExists_Description_WithSession
public void doesResourceExist_DoesntExists_Description_WithSession()
-
doesResourceExist_DoesntExist_WithoutSession
public void doesResourceExist_DoesntExist_WithoutSession() throws Exception
- Throws:
Exception
-
doesResourceExist_DoesntExists_Description_WithoutSession
public void doesResourceExist_DoesntExists_Description_WithoutSession()
-
doesResourceExist_Exception_WithSession
public void doesResourceExist_Exception_WithSession() throws Exception
Only Mementos go to the persistence layer.- Throws:
Exception
-
doesResourceExist_Exception_WithoutSession
public void doesResourceExist_Exception_WithoutSession() throws Exception
Only Mementos go to the persistence layer.- Throws:
Exception
-
testGhostNodeFailure
public void testGhostNodeFailure()
Test an item is not a ghost node because it exists.
-
testGhostNodeSuccess
public void testGhostNodeSuccess()
Test that when the resource that does exist shares the ID of a resource that does not, then we have a ghost node.
-
-