public class StoredQueryTests extends BaseFixture
docBuilder, featureInfo, featureTypes, reqEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata
Constructor and Description |
---|
StoredQueryTests() |
Modifier and Type | Method and Description |
---|---|
void |
buildGetFeatureRequestEntity()
Builds a DOM Document representing a GetFeature request entity that
contains no query expressions.
|
void |
invokeGetFeatureById_randomID(ProtocolBinding binding)
[
Test ] Invoking the GetFeatureById query with an
id parameter value that does not match any feature should produce
an empty result set. |
void |
invokeGetFeatureById(ProtocolBinding binding)
[
Test ] Invoking the GetFeatureById query with a known
feature identifier should produce the matching feature representation in
the response. |
void |
invokeGetFeatureByType(ProtocolBinding binding)
[
Test ] Invoking the GetFeatureByType query should produce
a result set containing feature members of the specified type. |
void |
setupClassFixture(org.testng.ITestContext testContext)
Retrieves the (pre-compiled) WFS schema from the suite fixture.
|
void |
unknownQueryIdentifier(ProtocolBinding binding)
[
Test ] If no stored query matches the given identifier then an
exception report with exception code "InvalidParameterValue" is expected. |
addAttributesIfTestFailed, allProtocolsAndFeatureTypes, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, protocolAndAvailableFeatureTypes
public void setupClassFixture(org.testng.ITestContext testContext)
testContext
- The test (group) context.public void buildGetFeatureRequestEntity()
public void unknownQueryIdentifier(ProtocolBinding binding)
Test
] If no stored query matches the given identifier then an
exception report with exception code "InvalidParameterValue" is expected.binding
- The ProtocolBinding to use.public void invokeGetFeatureById_randomID(ProtocolBinding binding)
Test
] Invoking the GetFeatureById
query with an
id
parameter value that does not match any feature should produce
an empty result set.binding
- The ProtocolBinding to use.public void invokeGetFeatureByType(ProtocolBinding binding)
Test
] Invoking the GetFeatureByType
query should produce
a result set containing feature members of the specified type.binding
- The ProtocolBinding to use.public void invokeGetFeatureById(ProtocolBinding binding)
Test
] Invoking the GetFeatureById
query with a known
feature identifier should produce the matching feature representation in
the response.binding
- The ProtocolBinding to use.Copyright © 2013. All Rights Reserved.