Package org.fcrepo.integration.http.api
Class FedoraVersioningIT
- java.lang.Object
-
- org.fcrepo.integration.http.api.AbstractResourceIT
-
- org.fcrepo.integration.http.api.FedoraVersioningIT
-
@TestExecutionListeners(listeners=TestIsolationExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public class FedoraVersioningIT extends AbstractResourceIT
- Author:
- lsitu, bbpennel
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.TemporaryFoldertmpDir-
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 FedoraVersioningIT()
-
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
-
tmpDir
public org.junit.rules.TemporaryFolder tmpDir
-
-
Constructor Detail
-
FedoraVersioningIT
public FedoraVersioningIT()
-
-
Method Detail
-
init
public void init()
-
after
public void after()
-
testDeleteTimeMapNotAllowed
public void testDeleteTimeMapNotAllowed() throws Exception
- Throws:
Exception
-
createMementoOnResourceWithNoUnversionedChanges
public void createMementoOnResourceWithNoUnversionedChanges() throws Exception
- Throws:
Exception
-
getTimeMapForContainerWithSingleVersion
public void getTimeMapForContainerWithSingleVersion() throws Exception
- Throws:
Exception
-
getTimeMapFromBinaryWithMultipleVersions
public void getTimeMapFromBinaryWithMultipleVersions() throws Exception
- Throws:
Exception
-
getTimeMapFromAgWithChildrenWithDifferentVersions
public void getTimeMapFromAgWithChildrenWithDifferentVersions() throws Exception
- Throws:
Exception
-
getMementoFromAgChild
public void getMementoFromAgChild() throws Exception
- Throws:
Exception
-
testGetTimeMapResponseMultipleMementos
public void testGetTimeMapResponseMultipleMementos() throws Exception
- Throws:
Exception
-
testGetTimeMapRDFSubject
public void testGetTimeMapRDFSubject() throws Exception
- Throws:
Exception
-
testCreateVersion
public void testCreateVersion() throws Exception
- Throws:
Exception
-
testCreateVersionWithAcceptDatetime
public void testCreateVersionWithAcceptDatetime() throws Exception
- Throws:
Exception
-
testCreateVersionFromResourceWithHashURI
public void testCreateVersionFromResourceWithHashURI() throws Exception
- Throws:
Exception
-
testCreateVersionFromResourceWithBlankNode
public void testCreateVersionFromResourceWithBlankNode() throws Exception
- Throws:
Exception
-
testCreateVersionWithSlugHeader
public void testCreateVersionWithSlugHeader() throws Exception
- Throws:
Exception
-
testCreateVersionWithMementoDateTimeHeader
public void testCreateVersionWithMementoDateTimeHeader() throws Exception
- Throws:
Exception
-
testMementoContainmentReferences
public void testMementoContainmentReferences() throws Exception
- Throws:
Exception
-
testHeadOnMemento
public void testHeadOnMemento() throws Exception
- Throws:
Exception
-
testGetOnMemento
public void testGetOnMemento() throws Exception
- Throws:
Exception
-
testGetOnMementoWithAcceptDatetimePresent
public void testGetOnMementoWithAcceptDatetimePresent() throws Exception
- Throws:
Exception
-
testHeadOnMementoWithAcceptDatetimePresent
public void testHeadOnMementoWithAcceptDatetimePresent() throws Exception
- Throws:
Exception
-
testOptionsOnMemento
public void testOptionsOnMemento() throws Exception
- Throws:
Exception
-
testMementoExternalReference
public void testMementoExternalReference() throws Exception
- Throws:
Exception
-
testDescriptionMementoReference
public void testDescriptionMementoReference() throws Exception
- Throws:
Exception
-
testPutOnTimeMapContainer
public void testPutOnTimeMapContainer() throws Exception
- Throws:
Exception
-
testPatchOnTimeMapContainer
public void testPatchOnTimeMapContainer() throws Exception
- Throws:
Exception
-
testGetTimeMapResponseForBinary
public void testGetTimeMapResponseForBinary() throws Exception
- Throws:
Exception
-
testGetTimeMapResponseWithBadAcceptHeader
public void testGetTimeMapResponseWithBadAcceptHeader() throws Exception
- Throws:
Exception
-
testGetTimeMapResponseForBinaryDescription
public void testGetTimeMapResponseForBinaryDescription() throws Exception
- Throws:
Exception
-
testCreateVersionOfBinary
public void testCreateVersionOfBinary() throws Exception
- Throws:
Exception
-
testCreateVersionOfBinaryWithDatetimeAndBody
public void testCreateVersionOfBinaryWithDatetimeAndBody() throws Exception
- Throws:
Exception
-
testCreateVersionOfBinaryDescription
public void testCreateVersionOfBinaryDescription() throws Exception
- Throws:
Exception
-
testAddAndRetrieveVersion
public void testAddAndRetrieveVersion() throws Exception
- Throws:
Exception
-
testTimeMapResponseContentTypes
public void testTimeMapResponseContentTypes() throws Exception
- Throws:
Exception
-
testGetVersionResponseContentTypes
public void testGetVersionResponseContentTypes() throws Exception
- Throws:
Exception
-
testDatetimeNegotiationLDPRv
public void testDatetimeNegotiationLDPRv() throws Exception
- Throws:
Exception
-
testDatetimeNegotiationExactMatch
public void testDatetimeNegotiationExactMatch() throws Exception
- Throws:
Exception
-
testDatetimeNegotiationNoMementos
public void testDatetimeNegotiationNoMementos() throws Exception
- Throws:
Exception
-
testGetWithDateTimeNegotiation
public void testGetWithDateTimeNegotiation() throws Exception
- Throws:
Exception
-
testFixityOnVersionedResource
public void testFixityOnVersionedResource() throws Exception
- Throws:
Exception
-
testOptionsMemento
public void testOptionsMemento() throws Exception
- Throws:
Exception
-
testPatchOnMemento
public void testPatchOnMemento() throws Exception
- Throws:
Exception
-
testPatchOnInvalidMementoPath
public void testPatchOnInvalidMementoPath() throws Exception
- Throws:
Exception
-
testPostOnMemento
public void testPostOnMemento() throws Exception
- Throws:
Exception
-
testPostOnInvalidMementoPath
public void testPostOnInvalidMementoPath() throws Exception
- Throws:
Exception
-
testPutOnMemento
public void testPutOnMemento() throws Exception
- Throws:
Exception
-
testPutOnInvalidMementoPath
public void testPutOnInvalidMementoPath() throws Exception
- Throws:
Exception
-
testGetLDPRSMementoHeaders
public void testGetLDPRSMementoHeaders() throws Exception
- Throws:
Exception
-
testGetLDPNRMementoHeaders
public void testGetLDPNRMementoHeaders() throws Exception
- Throws:
Exception
-
testFcrepo2792
public void testFcrepo2792() throws Exception
- Throws:
Exception
-
testOptionsTimeMap
public void testOptionsTimeMap() throws Exception
- Throws:
Exception
-
testCreateExternalBinaryProxyVersion
public void testCreateExternalBinaryProxyVersion() throws Exception
- Throws:
Exception
-
versionedResourcesCreatedByDefault
public void versionedResourcesCreatedByDefault() throws Exception
- Throws:
Exception
-
testDeletedResourceMementosAreInaccessible
public void testDeletedResourceMementosAreInaccessible() throws Exception
- Throws:
Exception
-
testMementosMaintainContainment
public void testMementosMaintainContainment() throws Exception
- Throws:
Exception
-
testCreateMementoNotAffectModifiedDate
public void testCreateMementoNotAffectModifiedDate() throws Exception
- Throws:
Exception
-
-