Class ApiDefinition

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

public class ApiDefinition extends CommonFixture
A.2.3. API Definition Path {root}/api (link)
Author:
Lyn Goltz
  • Constructor Details

    • ApiDefinition

      public ApiDefinition()
  • Method Details

    • retrieveApiUrl

      @BeforeClass(dependsOnMethods="initCommonFixture") public void retrieveApiUrl()
    • openapiDocumentRetrieval

      public void openapiDocumentRetrieval()
       Abstract Test 4: Test Purpose: Validate that the API Definition document can be retrieved from the expected location.
       
    • apiDefinitionValidation

      public void apiDefinitionValidation(org.testng.ITestContext testContext) throws MalformedURLException
       Abstract Test 5: Validate that the API Definition complies with the required structure and contents.
       
      Parameters:
      testContext - never null
      Throws:
      MalformedURLException - if the apiUrl is malformed