Package org.opengis.cite.cat20.dgiwg10
Class SuitePreconditions
java.lang.Object
org.opengis.cite.cat20.dgiwg10.SuitePreconditions
Checks that various preconditions are satisfied before the test suite is run. If any of
these (BeforeSuite) methods fail, all tests will be skipped.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dataAreAvailable
(org.testng.ITestContext testContext) Confirms that the service can supply test data.void
verifyCapabilities
(org.testng.ITestContext testContext) Verifies that the test subject is a CSW 2.0 service.void
Verifies that the referenced test subject exists and has the expected type.
-
Constructor Details
-
SuitePreconditions
public SuitePreconditions()
-
-
Method Details
-
verifyTestSubject
@BeforeSuite public void verifyTestSubject()Verifies that the referenced test subject exists and has the expected type. -
verifyCapabilities
public void verifyCapabilities(org.testng.ITestContext testContext) Verifies that the test subject is a CSW 2.0 service. The document element in the supplied metadata resource must be "{http://www.opengis.net/cat/csw/2.0.2}Capabilities".- Parameters:
testContext
- the test run context, nevernull
-
dataAreAvailable
public void dataAreAvailable(org.testng.ITestContext testContext) Confirms that the service can supply test data.- Parameters:
testContext
- the test context, nevernull
-