Package org.fcrepo.integration.http.api
Class ExternalContentHandlerIT
- java.lang.Object
-
- org.fcrepo.integration.http.api.AbstractResourceIT
-
- org.fcrepo.integration.http.api.ExternalContentHandlerIT
-
@TestExecutionListeners(listeners=TestIsolationExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public class ExternalContentHandlerIT extends AbstractResourceIT
- Since:
- 2018-07-10
- Author:
- whikloj
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.TemporaryFoldertempFolder-
Fields inherited from class org.fcrepo.integration.http.api.AbstractResourceIT
authPropsConfig, BASIC_CONTAINER_LINK_HEADER, client, containerWrapper, DCTITLE, DIRECT_CONTAINER_LINK_HEADER, logger, propsConfig, serverAddress
-
-
Constructor Summary
Constructors Constructor Description ExternalContentHandlerIT()
-
Method Summary
-
Methods inherited from class org.fcrepo.integration.http.api.AbstractResourceIT
addTxTo, assertConstrainedByPresent, assertDeleted, assertNoLinkHeader, assertNotDeleted, assertNotFound, checkForLinkHeader, confirmResponseBodyNTriplesAreEqual, createClient, createClient, createDatastream, createDatastream, createObject, createObject, createObjectAndClose, createObjectAndClose, createTransaction, decodeDigestHeader, deleteObjMethod, execute, executeAndClose, executeWithBasicAuth, getBean, getBean, getContentLocation, getContentType, getContentType, getDataset, getDataset, getDSDescMethod, getDSMethod, getEtag, getEtag, getEtag, getExternalContentLinkHeader, getHeader, getLinkHeaders, getLinkHeaders, getLocation, getLocation, getModel, getModel, getModel, getModel, getObjMethod, getOriginalResourceUri, getRandomUniqueId, getStatus, getStatus, getTTLThatUpdatesServerManagedTriples, headerValues, headObjMethod, patchObjMethod, postObjMethod, postObjMethod, preferLink, putDSMethod, putDSMethod, putObjMethod, putObjMethod, restartContainer, setDescriptionProperty, setLogger, setProperty, setProperty, streamModel
-
-
-
-
Field Detail
-
tempFolder
public org.junit.rules.TemporaryFolder tempFolder
-
-
Constructor Detail
-
ExternalContentHandlerIT
public ExternalContentHandlerIT()
-
-
Method Detail
-
testProxyRemoteContentTypeForHttpUri
public void testProxyRemoteContentTypeForHttpUri() throws Exception
- Throws:
Exception
-
testProxyClientContentTypeOverridesRemoteForHttpUri
public void testProxyClientContentTypeOverridesRemoteForHttpUri() throws Exception
- Throws:
Exception
-
testCopyRemoteContentTypeForHttpUri
public void testCopyRemoteContentTypeForHttpUri() throws Exception
- Throws:
Exception
-
testCopyClientContentTypeOverridesRemoteForHttpUri
public void testCopyClientContentTypeOverridesRemoteForHttpUri() throws Exception
- Throws:
Exception
-
testProxyWithWantDigestForLocalFile
public void testProxyWithWantDigestForLocalFile() throws IOException
- Throws:
IOException
-
testCopyWithWantDigestForLocalFile
public void testCopyWithWantDigestForLocalFile() throws IOException
- Throws:
IOException
-
testProxyWithWantDigestForHttpUri
public void testProxyWithWantDigestForHttpUri() throws Exception
- Throws:
Exception
-
testCopyWithWantDigestForHttpUri
public void testCopyWithWantDigestForHttpUri() throws Exception
- Throws:
Exception
-
testProxyWithWantDigestMultipleForLocalFile
public void testProxyWithWantDigestMultipleForLocalFile() throws IOException
- Throws:
IOException
-
testHeadExternalDatastreamRedirectForHttpUri
public void testHeadExternalDatastreamRedirectForHttpUri() throws Exception
- Throws:
Exception
-
testGetExternalDatastreamForHttpUri
public void testGetExternalDatastreamForHttpUri() throws Exception
- Throws:
Exception
-
testRedirectWithWantDigest
public void testRedirectWithWantDigest() throws Exception
- Throws:
Exception
-
testRedirectForHttpUri
public void testRedirectForHttpUri() throws Exception
- Throws:
Exception
-
testProxyLocalFile
public void testProxyLocalFile() throws Exception
- Throws:
Exception
-
testCopyLocalFile
public void testCopyLocalFile() throws Exception
- Throws:
Exception
-
testCopyForHttpUri
public void testCopyForHttpUri() throws Exception
- Throws:
Exception
-
testProxyForHttpUri
public void testProxyForHttpUri() throws Exception
- Throws:
Exception
-
testPostExternalContentProxyForHttpUri
public void testPostExternalContentProxyForHttpUri() throws Exception
- Throws:
Exception
-
testUnsupportedHandlingTypeInExternalMessagePUT
public void testUnsupportedHandlingTypeInExternalMessagePUT() throws IOException
- Throws:
IOException
-
testUnsupportedHandlingTypeInExternalMessagePOST
public void testUnsupportedHandlingTypeInExternalMessagePOST() throws IOException
- Throws:
IOException
-
testMissingHandlingTypeInExternalMessage
public void testMissingHandlingTypeInExternalMessage() throws IOException
- Throws:
IOException
-
testCopyNotFoundHttpContent
public void testCopyNotFoundHttpContent() throws Exception
- Throws:
Exception
-
testCopyUnreachableHttpContent
public void testCopyUnreachableHttpContent() throws Exception
- Throws:
Exception
-
testProxyNotFoundHttpContent
public void testProxyNotFoundHttpContent() throws Exception
- Throws:
Exception
-
testProxyUnreachableHttpContent
public void testProxyUnreachableHttpContent() throws Exception
- Throws:
Exception
-
testRedirectUnreachableHttpContent
public void testRedirectUnreachableHttpContent() throws Exception
- Throws:
Exception
-
testProxyNotFoundLocalFile
public void testProxyNotFoundLocalFile() throws Exception
- Throws:
Exception
-
testRedirectNotFoundLocalFile
public void testRedirectNotFoundLocalFile() throws Exception
- Throws:
Exception
-
testCopyNotFoundLocalFile
public void testCopyNotFoundLocalFile() throws Exception
- Throws:
Exception
-
testCopyWithTransmissionFixityForLocalFile
public void testCopyWithTransmissionFixityForLocalFile() throws Exception
- Throws:
Exception
-
testCopyWithInvalidTransmissionFixityForLocalFile
public void testCopyWithInvalidTransmissionFixityForLocalFile() throws Exception
- Throws:
Exception
-
testCopyWithTransmissionFixityForHttpUri
public void testCopyWithTransmissionFixityForHttpUri() throws Exception
- Throws:
Exception
-
testProxyWithTransmissionFixityForLocalFile
public void testProxyWithTransmissionFixityForLocalFile() throws Exception
- Throws:
Exception
-
testProxyWithInvalidTransmissionFixityForLocalFile
public void testProxyWithInvalidTransmissionFixityForLocalFile() throws Exception
- Throws:
Exception
-
testRedirectWithTransmissionFixityForHttpUri
public void testRedirectWithTransmissionFixityForHttpUri() throws Exception
- Throws:
Exception
-
testRedirectWithInvalidTransmissionFixityForHttpUri
public void testRedirectWithInvalidTransmissionFixityForHttpUri() throws Exception
- Throws:
Exception
-
testProxyPostWithTransmissionFixityForHttpUri
public void testProxyPostWithTransmissionFixityForHttpUri() throws Exception
- Throws:
Exception
-
testProxyPostWithInvalidTransmissionFixityForHttpUri
public void testProxyPostWithInvalidTransmissionFixityForHttpUri() throws Exception
- Throws:
Exception
-
testRedirectPostWithTransmissionFixityForHttpUri
public void testRedirectPostWithTransmissionFixityForHttpUri() throws Exception
- Throws:
Exception
-
testRedirectPostWithInvalidTransmissionFixityForHttpUri
public void testRedirectPostWithInvalidTransmissionFixityForHttpUri() throws Exception
- Throws:
Exception
-
testProxyPutWithTransmissionFixityForHttpUri
public void testProxyPutWithTransmissionFixityForHttpUri() throws Exception
- Throws:
Exception
-
testUpdateProxyHttpUri
public void testUpdateProxyHttpUri() throws Exception
- Throws:
Exception
-
testUpdateProxyLocalFile
public void testUpdateProxyLocalFile() throws Exception
- Throws:
Exception
-
testUpdateRedirectHttpUri
public void testUpdateRedirectHttpUri() throws Exception
- Throws:
Exception
-
testUpdateProxyToRedirectForHttpUri
public void testUpdateProxyToRedirectForHttpUri() throws Exception
- Throws:
Exception
-
testUpdateRedirectToProxyForHttpUri
public void testUpdateRedirectToProxyForHttpUri() throws Exception
- Throws:
Exception
-
testUpdateProxyToRedirectForLocalFile
public void testUpdateProxyToRedirectForLocalFile() throws Exception
- Throws:
Exception
-
testUpdateHttpUriToLocalFile
public void testUpdateHttpUriToLocalFile() throws Exception
- Throws:
Exception
-
testUpdateInternalToLocalFile
public void testUpdateInternalToLocalFile() throws Exception
- Throws:
Exception
-
testUpdateLocalFileToInternal
public void testUpdateLocalFileToInternal() throws Exception
- Throws:
Exception
-
testUpdateInternalToHttpUri
public void testUpdateInternalToHttpUri() throws Exception
- Throws:
Exception
-
testUpdateHttpUriToInternal
public void testUpdateHttpUriToInternal() throws Exception
- Throws:
Exception
-
testLocalFileNotDeleted
public void testLocalFileNotDeleted() throws Exception
- Throws:
Exception
-
-