Package org.fcrepo.integration.http.api
Class PrefersLdpIT
- java.lang.Object
-
- org.fcrepo.integration.http.api.AbstractResourceIT
-
- org.fcrepo.integration.http.api.PrefersLdpIT
-
@TestExecutionListeners(listeners=TestIsolationExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public class PrefersLdpIT extends AbstractResourceIT
Integration tests for various Prefer headers- Since:
- 6.0.0
- Author:
- whikloj
-
-
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 PrefersLdpIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestEmbeddedContainedResources()voidtestEmbeddedContainedResourcesNotToDeep()voidtestGetLDPRmOmitServerManaged()voidtestGetLDPRmWithoutOmitServerManager()voidtestGetObjectGraphMinimal()voidtestGetObjectIncludeContainmentAndOmitServerManaged()voidtestGetObjectOmitContainment()voidtestGetObjectOmitMembership()voidtestGetObjectOmitServerManaged()voidtestNormalTriples()voidtestPreferExcludeMembership()voidtestPreferIncludeEmbed()voidtestPreferIncludeEmbedInbound_OmitMinimal()voidtestPreferIncludeInbound()voidtestPreferIncludeMinimal()voidtestPreferIncludeMinimalAndSystem()voidtestPreferIncludeMinimalOmitSystem()voidtestPreferOmitMinimal()voidtestPreferOmitSystem()voidtestPreferOmitSystemIncludeContainment()-
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
-
PrefersLdpIT
public PrefersLdpIT()
-
-
Method Detail
-
testNormalTriples
public void testNormalTriples() throws Exception
- Throws:
Exception
-
testPreferIncludeMinimal
public void testPreferIncludeMinimal() throws Exception
- Throws:
Exception
-
testPreferOmitMinimal
public void testPreferOmitMinimal() throws Exception
- Throws:
Exception
-
testPreferIncludeMinimalAndSystem
public void testPreferIncludeMinimalAndSystem() throws Exception
- Throws:
Exception
-
testPreferOmitSystem
public void testPreferOmitSystem() throws Exception
- Throws:
Exception
-
testPreferOmitSystemIncludeContainment
public void testPreferOmitSystemIncludeContainment() throws Exception
- Throws:
Exception
-
testPreferIncludeMinimalOmitSystem
public void testPreferIncludeMinimalOmitSystem() throws Exception
- Throws:
Exception
-
testPreferExcludeMembership
public void testPreferExcludeMembership() throws Exception
- Throws:
Exception
-
testPreferIncludeInbound
public void testPreferIncludeInbound() throws Exception
- Throws:
Exception
-
testPreferIncludeEmbed
public void testPreferIncludeEmbed() throws Exception
- Throws:
Exception
-
testPreferIncludeEmbedInbound_OmitMinimal
public void testPreferIncludeEmbedInbound_OmitMinimal() throws Exception
- Throws:
Exception
-
testGetObjectGraphMinimal
public void testGetObjectGraphMinimal() throws IOException
- Throws:
IOException
-
testGetObjectOmitMembership
public void testGetObjectOmitMembership() throws IOException
- Throws:
IOException
-
testGetObjectOmitContainment
public void testGetObjectOmitContainment() throws IOException
- Throws:
IOException
-
testGetObjectOmitServerManaged
public void testGetObjectOmitServerManaged() throws IOException
- Throws:
IOException
-
testGetObjectIncludeContainmentAndOmitServerManaged
public void testGetObjectIncludeContainmentAndOmitServerManaged() throws IOException
- Throws:
IOException
-
testGetLDPRmOmitServerManaged
public void testGetLDPRmOmitServerManaged() throws Exception
- Throws:
Exception
-
testGetLDPRmWithoutOmitServerManager
public void testGetLDPRmWithoutOmitServerManager() throws Exception
- Throws:
Exception
-
testEmbeddedContainedResources
public void testEmbeddedContainedResources() throws IOException
- Throws:
IOException
-
testEmbeddedContainedResourcesNotToDeep
public void testEmbeddedContainedResourcesNotToDeep() throws IOException
- Throws:
IOException
-
-