Package org.fcrepo.integration.http.api
Class FedoraFixityIT
- java.lang.Object
-
- org.fcrepo.integration.http.api.AbstractResourceIT
-
- org.fcrepo.integration.http.api.FedoraFixityIT
-
@TestExecutionListeners(listeners=TestIsolationExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public class FedoraFixityIT extends AbstractResourceIT
FedoraFixityIT class.
- Author:
- awoods, ajs6f
-
-
Field Summary
-
Fields inherited from class org.fcrepo.integration.http.api.AbstractResourceIT
authPropsConfig, BASIC_CONTAINER_LINK_HEADER, client, containerWrapper, DCTITLE, DIRECT_CONTAINER_LINK_HEADER, logger, NON_RDF_SOURCE_LINK_HEADER, propsConfig, serverAddress
-
-
Constructor Summary
Constructors Constructor Description FedoraFixityIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestBinaryFixity()voidtestBinaryVersionFixity()voidtestCheckDatastreamFixity()voidtestCheckDatastreamFixityMD5()voidtestInvalidMethods()voidtestMultipleAlgorithms()-
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
-
-
-
-
Constructor Detail
-
FedoraFixityIT
public FedoraFixityIT()
-
-
Method Detail
-
setup
public void setup()
-
testCheckDatastreamFixity
public void testCheckDatastreamFixity() throws IOException
- Throws:
IOException
-
testCheckDatastreamFixityMD5
public void testCheckDatastreamFixityMD5() throws IOException
- Throws:
IOException
-
testMultipleAlgorithms
public void testMultipleAlgorithms() throws IOException
- Throws:
IOException
-
testBinaryFixity
public void testBinaryFixity() throws IOException
- Throws:
IOException
-
testBinaryVersionFixity
public void testBinaryVersionFixity() throws IOException
- Throws:
IOException
-
testInvalidMethods
public void testInvalidMethods() throws Exception
- Throws:
Exception
-
-