Class Prerequisites
java.lang.Object
org.opengeospatial.cite.wmts10.ets.testsuite.Prerequisites
Confirms the readiness of the SUT to undergo testing. If any of these configuration
methods fail then all remaining tests in the suite are skipped.
- Author:
- Lyn Goltz (original), Jim Beatty (modified/fixed May/Jun/Jul-2017 for WMS and/or WMTS)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserviceIsAvailable(org.testng.ITestContext testContext) Confirms that the SUT is available and produces a service description in response to a basic GetCapabilities request.voidverifyServiceDescription(org.testng.ITestContext testContext) Verifies that the service capabilities description is a WMTS Capabilities document.
-
Constructor Details
-
Prerequisites
public Prerequisites()
-
-
Method Details
-
verifyServiceDescription
public void verifyServiceDescription(org.testng.ITestContext testContext) Verifies that the service capabilities description is a WMTS Capabilities document.- Parameters:
testContext- the test run context, nevernull
-
serviceIsAvailable
public void serviceIsAvailable(org.testng.ITestContext testContext) Confirms that the SUT is available and produces a service description in response to a basic GetCapabilities request. The document element is expected to have the following infoset properties:- [local name] = "WMTS_Capabilities"
- [namespace name] = "http://www.opengis.net/wmts"
- Parameters:
testContext- the test context
-