public class DescribeStoredQueriesTests extends BaseFixture
docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion
Constructor and Description |
---|
DescribeStoredQueriesTests() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addQueryIdentifier(Document request,
String queryId)
Adds a wfs:StoredQueryId element with the given text value.
|
void |
clearQueryIdentifiers() |
void |
describeAllStoredQueries(ProtocolBinding binding)
If no stored query identifiers are supplied in the request then all
stored queries offered by a server shall be described (one or more).
|
void |
describeStoredQuery_GetFeatureById(ProtocolBinding binding)
A conforming service must implement at least the GetFeatureById stored
query, which has the identifier
"http://www.opengis.net/def/query/OGC-WFS/0/GetFeatureById".
|
(package private) void |
removeAllQueryIdentifiers(Document reqEntity)
Removes all wfs:StoredQueryId elements from the request entity.
|
void |
setupClassFixture(org.testng.ITestContext testContext)
Retrieves the (pre-compiled) WFS schema from the suite fixture and builds
a DOM Document node representing the request entity.
|
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClient
public void setupClassFixture(org.testng.ITestContext testContext)
testContext
- The test (group) context.public void clearQueryIdentifiers()
public void describeAllStoredQueries(ProtocolBinding binding)
binding
- The ProtocolBinding to use.public void describeStoredQuery_GetFeatureById(ProtocolBinding binding)
Note: The URN form of the query identifier was deprecated in WFS 2.0.2; the 'http' URI is preferred.
binding
- The ProtocolBinding to use.void removeAllQueryIdentifiers(Document reqEntity)
reqEntity
- A Document with wfs:DescribeStoredQueries as the document
element.Copyright © 2022 Open Geospatial Consortium. All rights reserved.