public class DirectContainerTest extends CommonContainerTest
MSG_LOC_NOTFOUND, MSG_MBRRES_NOTFOUND
RELATIVE_URI
auth
DEFAULT_MODEL_TYPE, df, HTTP_LOG_FILENAME, httpLog, MANUAL, MAY, MUST, SHOULD, skipLog, SKIPPED_LOG_FILENAME
Constructor and Description |
---|
DirectContainerTest(String directContainer,
String auth) |
Modifier and Type | Method and Description |
---|---|
protected String |
getResourceUri() |
void |
hasDirectContainer() |
void |
testActAsIfInsertedContentRelationTripleExists() |
void |
testConformsDcLdpContainer() |
void |
testDeleteResourceUpdatesTriples() |
void |
testHttpLinkHeader() |
void |
testMemberRelationOrIsMemberOfRelationTripleExists() |
void |
testMemberResourceTriple() |
void |
testPostResourceUpdatesTriples() |
void |
testPreferMembershipTriples() |
void |
testUseMemberPredicate() |
putToCreate, restrictionsOnTestResourceContent, testAcceptPostResponseHeader, testAcceptTurtle, testConformsContainerRdfResource, testContentTypeHeader, testCreateWithoutConstraints, testDeleteRemovesContainmentTriple, testNoRdfBagSeqOrList, testNullRelativeUriPost, testPatchMethod, testPostContainer, testPostJsonLd, testPostNoSlug, testPostResponseStatusAndLocation, testPreferContainmentTriples, testPutToCreate, testRdfTypeLdpContainer, testRejectPutModifyingContainmentTriples, testRelativeUriResolutionPost, testRequestedInteractionModelCreateNotAllowed, testRequestedInteractionModelHeaders, testRestrictPutReUseUri, testRestrictUriReUseNoSlug, testRestrictUriReUseSlug, testServerHonorsSlug
expectPut4xxConstrainedBy, expectPut4xxResponseBody, expectPut4xxStatus, modifyProperty, putReplaceResource, test4xxErrorHasResponseBody, testConformsRdfSourceLdpResource, testContainsRdfType, testGetResource, testGetResourceAcceptTurtle, testGetResourceAsTurtleNoAccept, testJsonLdRepresentation, testPublishConstraintsReadOnlyProp, testPublishConstraintsUnknownProp, testPutPropertiesNotPersisted, testPutReadOnlyProperties4xxStatus, testPutReplacesResource, testPutSimpleUpdate, testRelativeUriResolutionPut, testResponsePropertiesNotPersisted, testRestrictClientInference, testReUseVocabularies, testTypeRdfSource, testUseStandardVocabularies
addFailureToHttpLog, buildBaseRequestSpecification, determineOptions, skipIfMethodNotAllowed, supports, testAcceptPatchHeader, testConditionFailedStatusCode, testETagHeadersGet, testETagHeadersHead, testGetResponseHeaders, testHead, testIsHttp11Manual, testLdpLinkHeader, testOptions, testOptionsAllowHeader, testPreconditionRequiredStatusCode, testPutBadETag, testPutRequiresIfMatch
checkPreferenceAppliedHeader, commonSetup, commonTearDown, containsLinkHeader, getAsModel, getDefaultModel, getFirstLinkForRelation, getPrimaryTopic, getResourceAsModel, hasReturnRepresentation, include, omit, postContent, readModel, resolveIfRelative, resolveIfRelative, restrictionsOnPostContent, splitLinks
public DirectContainerTest(String directContainer, String auth) throws IOException
IOException
public void hasDirectContainer()
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpc-linktypehdr", testMethod=AUTOMATED, approval=WG_APPROVED, comment="Covers only part of the specification requirement. IndirectContainerTest.testContainerSupportsHttpLinkHeader and BasicContainerTest.testContainerSupportsHttpLinkHeader covers the rest.") public void testHttpLinkHeader()
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpdc-mbrpred", testMethod=AUTOMATED, approval=WG_APPROVED) public void testUseMemberPredicate() throws URISyntaxException
URISyntaxException
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpdc-containres", testMethod=AUTOMATED, approval=WG_APPROVED) public void testMemberResourceTriple() throws URISyntaxException
URISyntaxException
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpdc-containtriples", testMethod=AUTOMATED, approval=WG_APPROVED) public void testMemberRelationOrIsMemberOfRelationTripleExists() throws URISyntaxException
URISyntaxException
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpdc-indirectmbr-basic", testMethod=AUTOMATED, approval=WG_APPROVED) public void testActAsIfInsertedContentRelationTripleExists()
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpdc-post-createdmbr-member", testMethod=AUTOMATED, approval=WG_APPROVED) public void testPostResourceUpdatesTriples()
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpdc-del-contremovesmbrtriple", testMethod=AUTOMATED, approval=WG_APPROVED) public void testDeleteResourceUpdatesTriples()
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpdc-are-ldpcs", testMethod=INDIRECT, approval=WG_APPROVED, coveredByTests=CommonContainerTest.class, coveredByGroups="MUST") public void testConformsDcLdpContainer()
@SpecTest(specRefUri="http://www.w3.org/TR/ldp#ldpc-prefer", testMethod=AUTOMATED, approval=WG_APPROVED, comment="Covers only part of the specification requirement. ") public void testPreferMembershipTriples()
protected String getResourceUri()
getResourceUri
in class CommonResourceTest
Copyright © 2014 World Wide Web Consortium (W3C). All rights reserved.