public class GetPropertyValueTests extends BaseFixture
docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion
Constructor and Description |
---|
GetPropertyValueTests() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addQuery(Document request,
QName qName)
Adds a simple query element to the request entity.
|
void |
buildRequestEntity()
Builds a DOM Document node representing the entity body for a
GetPropertyValue request.
|
void |
getProperty_emptyValueRef(ProtocolBinding binding)
If the valueReference is an empty string, an ExceptionReport is expected
to contain the error code "InvalidParameterValue".
|
void |
getProperty_gmlId(ProtocolBinding binding)
Submits a GetPropertyValue request for a known feature type with
valueReference="@gml:id".
|
void |
setupClassFixture(org.testng.ITestContext testContext)
Retrieves the (pre-compiled) WFS schema from the suite fixture.
|
(package private) void |
setValueReference(Document entity,
String xpath)
Sets the valueReference attribute on 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 buildRequestEntity()
public void getProperty_gmlId(ProtocolBinding binding)
binding
- The ProtocolBinding to use.public void getProperty_emptyValueRef(ProtocolBinding binding)
binding
- The ProtocolBinding to use.void setValueReference(Document entity, String xpath)
entity
- The request entity (wfs:GetPropertyValue).xpath
- A String representing an XPath expression.Copyright © 2022 Open Geospatial Consortium. All rights reserved.