Class ApiDefinition
java.lang.Object
org.opengis.cite.ogcapiedr10.CommonFixture
org.opengis.cite.ogcapiedr10.conformance.ApiDefinition
A.2.3. API Definition Path {root}/api (link)
- Author:
- Lyn Goltz
-
Field Summary
Fields inherited from class org.opengis.cite.ogcapiedr10.CommonFixture
apiDefUri, DEFAULT_BUFFER_SIZE, geoJSONTestingCollection, requestLoggingFilter, responseLoggingFilter, rootUri, testingWktPOINT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apiDefinitionValidation
(org.testng.ITestContext testContext) Abstract Test 5: Validate that the API Definition complies with the required structure and contents.void
Abstract Test 4: Test Purpose: Validate that the API Definition document can be retrieved from the expected location.void
Methods inherited from class org.opengis.cite.ogcapiedr10.CommonFixture
clearMessages, constructDateTimeValue, convertInputStreamToString, getCollectionResponse, getRequest, getResponse, init, initCommonFixture
-
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
- nevernull
- Throws:
MalformedURLException
- if the apiUrl is malformed
-