public class ResourceIdFilterTests extends QueryFilterFixture
Sources
dataSampler, GET_FEATURE_MINIMAL, model, temporalPropertiesdocBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion| Constructor and Description |
|---|
ResourceIdFilterTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
inconsistentFeatureIdentifierAndType(QName featureType)
[
Test] If a feature instance identified by the RESOURCEID
parameter is not of the type specified by the TYPENAMES parameter, the
server shall raise an InvalidParameterValue exception where the "locator"
attribute value shall be set to "RESOURCEID". |
void |
twoValidFeatureIdentifiers(ProtocolBinding binding,
QName featureType)
[
Test] Submits a GetFeature request containing a ResourceId
predicate with two resource identifiers. |
void |
unknownFeatureIdentifier(ProtocolBinding binding,
QName featureType)
[
Test] Submits a GetFeature request containing a ResourceId
predicate with an unknown feature identifier. |
buildRequestEntity, discardResponseEntity, findTemporalProperties, initQueryFilterFixtureaddAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClientpublic void twoValidFeatureIdentifiers(ProtocolBinding binding, QName featureType)
Test] Submits a GetFeature request containing a ResourceId
predicate with two resource identifiers. The response entity must include
only instances of the requested type with matching gml:id attribute
values.binding - The ProtocolBinding to use for this request.featureType - A QName representing the qualified name of some feature type.public void unknownFeatureIdentifier(ProtocolBinding binding, QName featureType)
Test] Submits a GetFeature request containing a ResourceId
predicate with an unknown feature identifier. The response entity is
expected to be a wfs:FeatureCollection that has no matching feature
member.binding - The ProtocolBinding to use for this request (e.g. GET, POST).featureType - A QName representing the qualified name of some supported
feature type.public void inconsistentFeatureIdentifierAndType(QName featureType)
Test] If a feature instance identified by the RESOURCEID
parameter is not of the type specified by the TYPENAMES parameter, the
server shall raise an InvalidParameterValue exception where the "locator"
attribute value shall be set to "RESOURCEID".featureType - A QName representing the qualified name of some feature type.Copyright © 2020 Open Geospatial Consortium. All rights reserved.