Package org.fcrepo.integration.http.api
Class RebuildIT
- java.lang.Object
-
- org.fcrepo.integration.http.api.AbstractResourceIT
-
- org.fcrepo.integration.http.api.RebuildIT
-
@TestExecutionListeners(listeners=TestIsolationExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public class RebuildIT extends AbstractResourceIT
- Since:
- 2020-03-04
- Author:
- awooods
-
-
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 RebuildIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrebuildFailsWhenObjectFailsValidation()voidsetUp()voidtestRebuildOcfl()This test rebuilds from a known set of OCFL content.voidtestRebuildOnStart()voidtestRebuildWebapp()-
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
-
RebuildIT
public RebuildIT()
-
-
Method Detail
-
setUp
public void setUp()
-
testRebuildOcfl
public void testRebuildOcfl()
This test rebuilds from a known set of OCFL content. The OCFL storage root contains the following four resources: - root - /binary - /test - /test/child and a deleted object - /test/deleted-child The test verifies that these objects exist in the rebuilt repository.
-
testRebuildOnStart
public void testRebuildOnStart() throws Exception
- Throws:
Exception
-
testRebuildWebapp
public void testRebuildWebapp() throws Exception
- Throws:
Exception
-
rebuildFailsWhenObjectFailsValidation
public void rebuildFailsWhenObjectFailsValidation()
-
-