Class FeatureCrsParameterDefault
java.lang.Object
org.opengis.cite.ogcapifeatures10.conformance.CommonFixture
org.opengis.cite.ogcapifeatures10.conformance.crs.query.crs.feature.AbstractFeatureCrs
org.opengis.cite.ogcapifeatures10.conformance.crs.query.crs.feature.FeatureCrsParameterDefault
Verifies default CRS requesting /collection/{collectionId}/items
Abstract Test 6: /conf/crs/crs-parameter-default Test Purpose: Verify that the default value for parameter crs has been implemented correctly Requirement: /req/crs/fc-crs-default-value, /req/crs/ogc-crs-header, /req/crs/ogc-crs-header-value Test Method For each spatial feature collection, send a request without the crs parameter and verify that the response includes a Content-Crs http header with the value of the default CRS identifier of the collection.
- Author:
- Lyn Goltz
-
Field Summary
Fields inherited from class org.opengis.cite.ogcapifeatures10.conformance.crs.query.crs.feature.AbstractFeatureCrs
collectionIdToCrs, collectionIdToDefaultCrs, collectionIdToFeatureId, collectionsResponsesFields inherited from class org.opengis.cite.ogcapifeatures10.conformance.CommonFixture
requestLoggingFilter, responseLoggingFilter, rootUri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidverifyFeatureCrsParameterDefault(String collectionId, io.restassured.path.json.JsonPath collection, String featureId) Test: default CRS requesting /collections/{collectionId}/itemsMethods inherited from class org.opengis.cite.ogcapifeatures10.conformance.crs.query.crs.feature.AbstractFeatureCrs
collectionFeatureId, retrieveRequiredInformationFromTestContextMethods inherited from class org.opengis.cite.ogcapifeatures10.conformance.CommonFixture
clearMessages, getRequest, getResponse, init, initCommonFixture
-
Constructor Details
-
FeatureCrsParameterDefault
public FeatureCrsParameterDefault()
-
-
Method Details
-
verifyFeatureCrsParameterDefault
public void verifyFeatureCrsParameterDefault(String collectionId, io.restassured.path.json.JsonPath collection, String featureId) Test: default CRS requesting /collections/{collectionId}/items- Parameters:
collectionId- id id of the collection, nevernullcollection- the /collection object, nevernullfeatureId- id id of the feature, nevernull
-