public class ServiceMetadataTests extends BaseFixture
Modifier and Type | Field and Description |
---|---|
(package private) static String |
ROOT_PKG |
(package private) static String |
SIMPLE_WFS_PHASE |
docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion
Constructor and Description |
---|
ServiceMetadataTests() |
Modifier and Type | Method and Description |
---|---|
void |
capabilitiesDocCorrespondsToWfsSimple()
Checks that the content of the WFS capabilities document reflects the
Simple WFS conformance class. |
void |
capabilitiesDocIsXmlSchemaValid()
Verifies that the WFS capabilities document is valid with respect to the
official
wfs.xsd schema. |
void |
obtainWFSSchema(org.testng.ITestContext testContext)
Obtains the WFS 2.0 message schema from the test context.
|
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClient
static final String ROOT_PKG
static final String SIMPLE_WFS_PHASE
public void obtainWFSSchema(org.testng.ITestContext testContext)
testContext
- The test (group) context.public void capabilitiesDocIsXmlSchemaValid()
wfs.xsd
schema.public void capabilitiesDocCorrespondsToWfsSimple()
Simple WFS
conformance class. The applicable rules are
incorporated into the "SimpleWFSPhase" phase of the Schematron
schema wfs-capabilities-2.0.sch
.Copyright © 2022 Open Geospatial Consortium. All rights reserved.