Class Conformance
java.lang.Object
org.opengis.cite.ogcapiedr10.CommonFixture
org.opengis.cite.ogcapiedr10.conformance.Conformance
Conformance Path {root}/conformance
-
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 TypeMethodDescriptionObject[][]conformanceUris(org.testng.ITestContext testContext) voidhttp()Abstract Test 1: Validate that the resource paths advertised through the API conform with HTTP 1.1 and, where approprate, TLS.(package private) List<RequirementClass>parseAndValidateRequirementClasses(io.restassured.path.json.JsonPath jsonPath) voidstoreRequirementClassesInTestContext(org.testng.ITestContext testContext) voidvalidateConformanceOperationAndResponse(TestPoint testPoint) Abstract Test 6: Validate that a Conformance Declaration can be retrieved from the expected location.Methods inherited from class org.opengis.cite.ogcapiedr10.CommonFixture
clearMessages, constructDateTimeValue, convertInputStreamToString, getCollectionResponse, getRequest, getResponse, init, initCommonFixture
-
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
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, nevernull
-
parseAndValidateRequirementClasses
List<RequirementClass> parseAndValidateRequirementClasses(io.restassured.path.json.JsonPath jsonPath) - Parameters:
jsonPath- nevernull- Returns:
- the parsed requirement classes, never
null - Throws:
AssertionError- if the json does not follow the expected structure
-