public class VersioningTests extends BaseFixture
docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion
Constructor and Description |
---|
VersioningTests() |
Modifier and Type | Method and Description |
---|---|
void |
deletedFeatureIsRetired()
[
Test ] Submits a request to delete a feature. |
void |
deleteModifiedFeatures() |
void |
firstVersionHasNoPredecessor()
[
Test ] Submits a request to insert a feature. |
void |
getDataSamplerFromContext(org.testng.ITestContext testContext) |
void |
replacementVersionHasNoSuccessor()
[
Test ] Submits a request to replace a feature version. |
void |
updatedVersionHasSupersededPredecessor()
[
Test ] Submits a request to update a feature property (gml:name). |
void |
updateSupersededVersion()
[
Test ] Submits a request to update a superseded version (whose
state is NOT "valid"). |
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClient
public void getDataSamplerFromContext(org.testng.ITestContext testContext)
public void deleteModifiedFeatures()
public void firstVersionHasNoPredecessor()
Test
] Submits a request to insert a feature. The response is
expected to contain a single fes:ResourceId element with
version="1"
and the previousRid
attribute NOT
set. A subsequent query to retrieve the LAST version shall reveal that
its state is "valid".public void updatedVersionHasSupersededPredecessor()
Test
] Submits a request to update a feature property (gml:name).
The response is expected to contain a single fes:ResourceId element with
the previousRid
attribute set. A subsequent query to
retrieve the PREVIOUS version shall reveal that its state is
"superseded".public void updateSupersededVersion()
Test
] Submits a request to update a superseded version (whose
state is NOT "valid"). An exception report is expected in response; it
must contain the error code OperationProcessingFailed
and
refer to the update handle.
TODO: Enable this when expected behavior is clarified.public void replacementVersionHasNoSuccessor()
Test
] Submits a request to replace a feature version. The
response is expected to contain a single fes:ResourceId element with the
previousRid
attribute set. A subsequent query to retrieve
the NEXT version shall produce an empty response.public void deletedFeatureIsRetired()
Test
] Submits a request to delete a feature. The response is
expected to report totalDeleted = 1. A subsequent query to retrieve the
LAST version shall reveal that its state is "retired".Copyright © 2022 Open Geospatial Consortium. All rights reserved.