Class SuitePreconditions

java.lang.Object
org.opengis.cite.cat20.dgiwg10.SuitePreconditions

public class SuitePreconditions extends Object
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 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, never null
    • dataAreAvailable

      public void dataAreAvailable(org.testng.ITestContext testContext)
      Confirms that the service can supply test data.
      Parameters:
      testContext - the test context, never null