Class Conformance

java.lang.Object
org.opengis.cite.ogcapiedr10.CommonFixture
org.opengis.cite.ogcapiedr10.conformance.Conformance

public class Conformance extends CommonFixture
Conformance Path {root}/conformance
  • Constructor Details

    • Conformance

      public Conformance()
  • Method Details

    • conformanceUris

      @DataProvider(name="conformanceUris") public Object[][] conformanceUris(org.testng.ITestContext testContext)
    • storeRequirementClassesInTestContext

      @AfterClass public void storeRequirementClassesInTestContext(org.testng.ITestContext testContext)
    • http

      public void http()
       Abstract Test 1: Validate that the resource paths advertised through the API conform with HTTP 1.1 and, where approprate, TLS.
       
    • validateConformanceOperationAndResponse

      public void validateConformanceOperationAndResponse(TestPoint testPoint)
      Abstract Test 6: Validate that a Conformance Declaration can be retrieved from the expected location. Abstract Test 7: Validate that the Conformance Declaration response complies with the required structure and contents.
      Parameters:
      testPoint - the test point to test, never null
    • parseAndValidateRequirementClasses

      List<RequirementClass> parseAndValidateRequirementClasses(io.restassured.path.json.JsonPath jsonPath)
      Parameters:
      jsonPath - never null
      Returns:
      the parsed requirement classes, never null
      Throws:
      AssertionError - if the json does not follow the expected structure