Class Prerequisites
java.lang.Object
de.latlon.ets.wms13.core.dgiwg.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
-
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 WMS 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 WMS 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] = "WMS_Capabilities"
- [namespace name] = "http://www.opengis.net/wms"
- Parameters:
testContext- the test run context, nevernull
-