Package org.fcrepo.http.api
Class FedoraLdpTest
- java.lang.Object
-
- org.fcrepo.http.api.FedoraLdpTest
-
public class FedoraLdpTest extends Object
- Author:
- cabeer, ajs6f
-
-
Constructor Summary
Constructors Constructor Description FedoraLdpTest()
-
Method Summary
-
-
-
Constructor Detail
-
FedoraLdpTest
public FedoraLdpTest()
-
-
Method Detail
-
setUp
public void setUp()
-
testHeadWithObject
public void testHeadWithObject() throws Exception
- Throws:
Exception
-
testHeadWithDefaultContainer
public void testHeadWithDefaultContainer() throws Exception
- Throws:
Exception
-
testHeadWithBasicContainer
public void testHeadWithBasicContainer() throws Exception
- Throws:
Exception
-
testHeadWithDirectContainer
public void testHeadWithDirectContainer() throws Exception
- Throws:
Exception
-
testHeadWithIndirectContainer
public void testHeadWithIndirectContainer() throws Exception
- Throws:
Exception
-
testHeadWithBinary
public void testHeadWithBinary() throws Exception
- Throws:
Exception
-
testHeadWithExternalBinary
public void testHeadWithExternalBinary() throws Exception
- Throws:
Exception
-
testHeadWithBinaryDescription
public void testHeadWithBinaryDescription() throws Exception
- Throws:
Exception
-
testOption
public void testOption()
-
testOptionWithLDPRS
public void testOptionWithLDPRS()
-
testOptionWithBinary
public void testOptionWithBinary() throws Exception
- Throws:
Exception
-
testOptionWithBinaryDescription
public void testOptionWithBinaryDescription() throws Exception
- Throws:
Exception
-
testGetWithObject
public void testGetWithObject() throws Exception
- Throws:
Exception
-
testGetWithBasicContainer
public void testGetWithBasicContainer() throws Exception
- Throws:
Exception
-
testGetWithDirectContainer
public void testGetWithDirectContainer() throws Exception
- Throws:
Exception
-
testGetWithIndirectContainer
public void testGetWithIndirectContainer() throws Exception
- Throws:
Exception
-
testGetWithObjectPreferMinimal
public void testGetWithObjectPreferMinimal() throws Exception
- Throws:
Exception
-
testGetWhenIfNoneMatchPreconditionFails
public void testGetWhenIfNoneMatchPreconditionFails()
Emulates an 'If-None-Match' precondition failing for a GET request. There should not be any entity body set on the response.
-
testGetWhenIfModifiedSincePreconditionFails
public void testGetWhenIfModifiedSincePreconditionFails()
Emulates an 'If-Modified-Since' precondition failing for a GET request. There should not be any entity body set on the response.
-
testGetWithObjectOmitContainment
public void testGetWithObjectOmitContainment() throws Exception
- Throws:
Exception
-
testGetWithObjectOmitMembership
public void testGetWithObjectOmitMembership() throws Exception
- Throws:
Exception
-
testGetWithObjectIncludeReferences
public void testGetWithObjectIncludeReferences() throws IOException, org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException
- Throws:
IOExceptionorg.fcrepo.kernel.api.exception.UnsupportedAlgorithmException
-
testGetWithBinary
public void testGetWithBinary() throws Exception
- Throws:
Exception
-
testGetWithExternalMessageBinary
public void testGetWithExternalMessageBinary() throws Exception
- Throws:
Exception
-
testGetWithExternalMessageMissingURLBinary
public void testGetWithExternalMessageMissingURLBinary() throws Exception
- Throws:
Exception
-
testPostWithExternalMessageBadHandling
public void testPostWithExternalMessageBadHandling() throws Exception
- Throws:
Exception
-
testGetWithBinaryDescription
public void testGetWithBinaryDescription() throws IOException, org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException
- Throws:
IOExceptionorg.fcrepo.kernel.api.exception.UnsupportedAlgorithmException
-
testDelete
public void testDelete() throws Exception
- Throws:
Exception
-
testPutNewObject
public void testPutNewObject() throws Exception
- Throws:
Exception
-
testPutNewObjectLdpr
public void testPutNewObjectLdpr() throws Exception
- Throws:
Exception
-
testPutNewObjectWithRdf
public void testPutNewObjectWithRdf() throws Exception
- Throws:
Exception
-
testPutNewBinary
public void testPutNewBinary() throws Exception
- Throws:
Exception
-
testPutReplaceRdfObject
public void testPutReplaceRdfObject() throws Exception
- Throws:
Exception
-
testPutWithStrictIfMatchHandling
public void testPutWithStrictIfMatchHandling() throws Exception
- Throws:
Exception
-
testPatchObject
public void testPatchObject() throws Exception
- Throws:
Exception
-
testPatchBinaryDescription
public void testPatchBinaryDescription() throws Exception
- Throws:
Exception
-
testPatchWithoutContent
public void testPatchWithoutContent() throws org.fcrepo.kernel.api.exception.MalformedRdfException, IOException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionIOException
-
testPatchWithMissingContent
public void testPatchWithMissingContent() throws org.fcrepo.kernel.api.exception.MalformedRdfException, IOException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionIOException
-
testPatchBinary
public void testPatchBinary() throws org.fcrepo.kernel.api.exception.MalformedRdfException, IOException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionIOException
-
testCreateNewObject
public void testCreateNewObject() throws Exception
- Throws:
Exception
-
testCreateNewObjectWithVersionedResource
public void testCreateNewObjectWithVersionedResource() throws Exception
- Throws:
Exception
-
testCreateNewObjectWithSparql
public void testCreateNewObjectWithSparql() throws Exception
- Throws:
Exception
-
testCreateNewObjectWithRdf
public void testCreateNewObjectWithRdf() throws Exception
- Throws:
Exception
-
testCreateNewBinary
public void testCreateNewBinary() throws org.fcrepo.kernel.api.exception.MalformedRdfException, org.fcrepo.kernel.api.exception.InvalidChecksumException, IOException, org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException, org.fcrepo.kernel.api.exception.PathNotFoundException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionorg.fcrepo.kernel.api.exception.InvalidChecksumExceptionIOExceptionorg.fcrepo.kernel.api.exception.UnsupportedAlgorithmExceptionorg.fcrepo.kernel.api.exception.PathNotFoundException
-
testCreateNewBinaryWithInsufficientResources
public void testCreateNewBinaryWithInsufficientResources() throws Exception
- Throws:
Exception
-
testCreateNewBinaryWithContentTypeWithParams
public void testCreateNewBinaryWithContentTypeWithParams() throws org.fcrepo.kernel.api.exception.MalformedRdfException, org.fcrepo.kernel.api.exception.InvalidChecksumException, IOException, org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException, org.fcrepo.kernel.api.exception.PathNotFoundException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionorg.fcrepo.kernel.api.exception.InvalidChecksumExceptionIOExceptionorg.fcrepo.kernel.api.exception.UnsupportedAlgorithmExceptionorg.fcrepo.kernel.api.exception.PathNotFoundException
-
testCreateNewBinaryWithChecksumSHA
public void testCreateNewBinaryWithChecksumSHA() throws org.fcrepo.kernel.api.exception.MalformedRdfException, org.fcrepo.kernel.api.exception.InvalidChecksumException, IOException, org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException, org.fcrepo.kernel.api.exception.PathNotFoundException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionorg.fcrepo.kernel.api.exception.InvalidChecksumExceptionIOExceptionorg.fcrepo.kernel.api.exception.UnsupportedAlgorithmExceptionorg.fcrepo.kernel.api.exception.PathNotFoundException
-
testCreateNewBinaryWithChecksumSHA256
public void testCreateNewBinaryWithChecksumSHA256() throws org.fcrepo.kernel.api.exception.MalformedRdfException, org.fcrepo.kernel.api.exception.InvalidChecksumException, IOException, org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException, org.fcrepo.kernel.api.exception.PathNotFoundException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionorg.fcrepo.kernel.api.exception.InvalidChecksumExceptionIOExceptionorg.fcrepo.kernel.api.exception.UnsupportedAlgorithmExceptionorg.fcrepo.kernel.api.exception.PathNotFoundException
-
testCreateNewBinaryWithChecksumMD5
public void testCreateNewBinaryWithChecksumMD5() throws org.fcrepo.kernel.api.exception.MalformedRdfException, org.fcrepo.kernel.api.exception.InvalidChecksumException, IOException, org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException, org.fcrepo.kernel.api.exception.PathNotFoundException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionorg.fcrepo.kernel.api.exception.InvalidChecksumExceptionIOExceptionorg.fcrepo.kernel.api.exception.UnsupportedAlgorithmExceptionorg.fcrepo.kernel.api.exception.PathNotFoundException
-
testCreateNewBinaryWithChecksumSHAandMD5
public void testCreateNewBinaryWithChecksumSHAandMD5() throws org.fcrepo.kernel.api.exception.MalformedRdfException, org.fcrepo.kernel.api.exception.InvalidChecksumException, IOException, org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException, org.fcrepo.kernel.api.exception.PathNotFoundException
- Throws:
org.fcrepo.kernel.api.exception.MalformedRdfExceptionorg.fcrepo.kernel.api.exception.InvalidChecksumExceptionIOExceptionorg.fcrepo.kernel.api.exception.UnsupportedAlgorithmExceptionorg.fcrepo.kernel.api.exception.PathNotFoundException
-
testLDPRNotImplemented
public void testLDPRNotImplemented() throws Exception
- Throws:
Exception
-
testLDPRNotImplementedInvalidLink
public void testLDPRNotImplementedInvalidLink() throws Exception
- Throws:
Exception
-
testGetSimpleContentType
public void testGetSimpleContentType()
-
-