public class ServiceMetadataTests extends BaseFixture
Modifier and Type | Field and Description |
---|---|
(package private) static String |
ROOT_PACKAGE |
(package private) static String |
SIMPLE_WFS_PHASE |
docBuilder, featureInfo, featureTypes, reqEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata
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 |
compileWfsSchema(org.testng.ITestContext testContext)
Compiles the main WFS 2.0 schema.
|
addAttributesIfTestFailed, allProtocolsAndFeatureTypes, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, protocolAndAvailableFeatureTypes
static final String ROOT_PACKAGE
static final String SIMPLE_WFS_PHASE
public void compileWfsSchema(org.testng.ITestContext testContext)
wfsSchema
.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 © 2013. All Rights Reserved.