Class LockingCapabilitiesTests
java.lang.Object
org.opengis.cite.iso19142.BaseFixture
org.opengis.cite.iso19142.locking.LockingCapabilitiesTests
Verifies that the content of the service description satisfies the requirements for
"Locking WFS" conformance.
- See Also:
-
- "ISO 19142:2010, cl. 8: GetCapabilities operation"
-
Field Summary
Modifier and TypeFieldDescription(package private) static final String
(package private) static final String
Fields inherited from class org.opengis.cite.iso19142.BaseFixture
docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Builds a DOM Document representing a GetCapabilities request for a complete service metadata document.void
[Test
] Checks the content of the complete service metadata document for additional service endpoints and properties (constraints) that must be present.void
checkSuitePreconditions
(org.testng.ITestContext context) void
implementsLockingWFS
(org.testng.ITestContext testContext) Confirms that the service constraint "ImplementsLockingWFS" has the value 'TRUE'.Methods inherited from class org.opengis.cite.iso19142.BaseFixture
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClient
-
Field Details
-
LOCKING_WFS_PHASE
- See Also:
-
SCHEMATRON_METADATA
- See Also:
-
-
Constructor Details
-
LockingCapabilitiesTests
public LockingCapabilitiesTests()
-
-
Method Details
-
checkSuitePreconditions
@BeforeTest public void checkSuitePreconditions(org.testng.ITestContext context) -
implementsLockingWFS
@BeforeTest public void implementsLockingWFS(org.testng.ITestContext testContext) Confirms that the service constraint "ImplementsLockingWFS" has the value 'TRUE'. If not, all tests of locking behavior will be skipped.- Parameters:
testContext
- The test (set) context.
-
buildGetCapabilitiesRequest
@BeforeClass public void buildGetCapabilitiesRequest()Builds a DOM Document representing a GetCapabilities request for a complete service metadata document. -
capabilitiesDescribesLockingWFS
public void capabilitiesDescribesLockingWFS()[Test
] Checks the content of the complete service metadata document for additional service endpoints and properties (constraints) that must be present. The applicable rules are incorporated into the "LockingWFSPhase" phase of the Schematron schemawfs-capabilities-2.0.sch
.Sources
- ISO 19142:2010, Table 1: Conformance classes
- ISO 19142:2010, Table 13: Service constraints
- ISO 19142:2010, cl. A.1.4: Locking WFS
-