public class QueryFilterFixture extends BaseFixture
| Modifier and Type | Field and Description |
|---|---|
protected DataSampler |
dataSampler
Acquires and saves sample data.
|
protected String |
GET_FEATURE_MINIMAL |
protected org.apache.xerces.xs.XSModel |
model
An XSModel object representing the application schema supported by the
SUT.
|
protected Map<QName,List<org.apache.xerces.xs.XSElementDeclaration>> |
temporalProperties |
docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion| Constructor and Description |
|---|
QueryFilterFixture() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildRequestEntity()
Builds a DOM Document node representing the entity body for a GetFeature
request.
|
void |
discardResponseEntity()
Discard previous response entity.
|
protected List<org.apache.xerces.xs.XSElementDeclaration> |
findTemporalProperties(QName featureType)
Finds the temporal properties defined for the specified feature type.
|
void |
initQueryFilterFixture(org.testng.ITestContext testContext)
Obtains a DataSampler object from the test suite context (the value of
the
SuiteAttribute.SAMPLER attribute), or
adds one if it's not found there. |
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClientprotected DataSampler dataSampler
protected Map<QName,List<org.apache.xerces.xs.XSElementDeclaration>> temporalProperties
protected org.apache.xerces.xs.XSModel model
protected final String GET_FEATURE_MINIMAL
public void initQueryFilterFixture(org.testng.ITestContext testContext)
SuiteAttribute.SAMPLER attribute), or
adds one if it's not found there.
A schema model (XSModel) is also obtained from the test suite context by
accessing the xsmodel attribute.testContext - The test (set) context.public void buildRequestEntity()
public void discardResponseEntity()
protected List<org.apache.xerces.xs.XSElementDeclaration> findTemporalProperties(QName featureType)
featureType - The qualified name of a feature type (which corresponds to an
element declared in an application schema).Copyright © 2020 Open Geospatial Consortium. All rights reserved.