public class PagingTests extends BaseFixture
ResponseCacheTimeout
(duration in seconds); if this
constraint is not specified then the response cache never times out.docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion
Constructor and Description |
---|
PagingTests() |
Modifier and Type | Method and Description |
---|---|
(package private) QName |
anyFeatureType(Map<QName,FeatureTypeInfo> featureInfo)
Returns the name of a feature type for which data exist.
|
(package private) QName |
featureTypeWithAtLeastTwoFeatures(Map<QName,FeatureTypeInfo> featureInfo)
Returns the name of a feature type for which at least two features exist.
|
void |
getFeatureWithHitsOnly()
[
Test ] Submits a GetFeature request with a very small page size
(count="1") and resultType="hits". |
void |
getPagingConstraints(org.testng.ITestContext testContext) |
void |
initDataSample(org.testng.ITestContext testContext) |
(package private) com.sun.jersey.api.client.ClientResponse |
retrieveResource(String uriRef)
Dereferences the given URI reference and returns the response message.
|
void |
traverseResultSetInBothDirections()
[
Test ] Submits a GetFeature request with count = "4" and
resultType = "results". |
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClient
public void initDataSample(org.testng.ITestContext testContext)
public void getPagingConstraints(org.testng.ITestContext testContext)
public void getFeatureWithHitsOnly()
Test
] Submits a GetFeature request with a very small page size
(count="1") and resultType="hits". The initial response entity shall be
an empty feature collection with numberReturned = 0. The value of the
next
attribute shall be a URI that refers to the first page
of results. Furthermore, the previous
attribute must not
appear.public void traverseResultSetInBothDirections()
Test
] Submits a GetFeature request with count = "4" and
resultType = "results". The feature identifiers in the first page of
results are collected and the next page is retrieved. Then the previous
(first) page is retrieved and the feature identifiers are extracted; they
must match the known values from the first page.com.sun.jersey.api.client.ClientResponse retrieveResource(String uriRef)
uriRef
- A String denoting an absolute 'http' URI.QName anyFeatureType(Map<QName,FeatureTypeInfo> featureInfo)
featureInfo
- Information about feature types gleaned from the SUT.QName featureTypeWithAtLeastTwoFeatures(Map<QName,FeatureTypeInfo> featureInfo)
featureInfo
- Information about feature types gleaned from the SUT.Copyright © 2022 Open Geospatial Consortium. All rights reserved.