Package org.fcrepo.kernel.impl.services
Class CreateResourceServiceImplTest
java.lang.Object
org.fcrepo.kernel.impl.services.CreateResourceServiceImplTest
@ContextConfiguration("/containmentIndexTest.xml")
public class CreateResourceServiceImplTest
extends Object
- Author:
- bseeger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidTest trying to add a child to a non-existant parent.voidvoidvoidvoidTest creating a new container directly inside an AG.voidTest creating a new container inside a container inside an AG.voidTest creating a NonRDFSource with a NonRDFSource parent.voidTest creating a RDFSource with a NonRDFSource parent.voidTest creating an external NonRDFSource with a NonRDFSource parent.voidTest creating a RDFSource with a RDFSource parent.voidTest creating a NonRDFSource with a RDFSource parent.voidvoidTest setting some system properties only accessible in relaxed mode.voidvoidvoidThis test now seems to ensure that the createResourceService will overwrite an existing object TODO: Review expectations
-
Field Details
-
tempFolder
-
-
Constructor Details
-
CreateResourceServiceImplTest
public CreateResourceServiceImplTest()
-
-
Method Details
-
setUp
-
testNoParentRdf
Test trying to add a child to a non-existant parent. We recursive to repository root for a parent, so this is now just creating a ghost node?- Throws:
Exception
-
testParentAg
Test creating a new container directly inside an AG. -
testParentContainerInAg
Test creating a new container inside a container inside an AG. -
testParentIsBinaryRdf
Test creating a RDFSource with a NonRDFSource parent.- Throws:
Exception
-
testParentIsBinary
Test creating a NonRDFSource with a NonRDFSource parent.- Throws:
Exception
-
testParentIsExternal
Test creating an external NonRDFSource with a NonRDFSource parent. TODO: put/post to a binary parent is tested above, might be a duplicate.- Throws:
Exception
-
testParentIsRdf
Test creating a RDFSource with a RDFSource parent.- Throws:
Exception
-
testParentIsRdfBinary
Test creating a NonRDFSource with a RDFSource parent.- Throws:
Exception
-
testRdfSetRelaxedProperties_Post
Test setting some system properties only accessible in relaxed mode.- Throws:
Exception
-
testWithBinary
This test now seems to ensure that the createResourceService will overwrite an existing object TODO: Review expectations- Throws:
Exception
-
testSendingValidInteractionModel
-
testSendingInvalidInteractionModelIsNotRdf
-
testNotRdfNoContentIsExternal
-
testNotRdfContentPresentNotExternal
-
testNotRdfContentPresentIsExternal
-
testIsRdfNoContentNotExternal
-
testIsRdfNoContentIsExternal
-
testIsRdfHasContentNotExternal
-
testIsRdfHasContentIsExternal
-
testCheckAclLinkHeaderFailDblQ
- Throws:
Exception
-
testCheckAclLinkHeaderFailSingleQ
- Throws:
Exception
-
testCheckAclLinkHeaderFailNoQ
- Throws:
Exception
-
testCheckAclLinkHeaderSuccess
- Throws:
Exception
-
testCopyExternalBinary
- Throws:
Exception
-
testProxyExternalBinary
- Throws:
Exception
-