public class DiscoveryCollectionsDefaultCrs extends AbstractDiscoveryCollections
Abstract Test 2: /conf/crs/default-crs
Test Purpose: Verify that the list of supported CRSs includes the default CRS.
Requirement: /req/crs/fc-md-crs-list B
Test Method
For each string value in a crs property in a collection object (for each path /collections and /collections/{collectionId})
validate that either
http://www.opengis.net/def/crs/OGC/1.3/CRS84 or
http://www.opengis.net/def/crs/OGC/1.3/CRS84h
is included in the array, if the collection has a spatial extent, i.e., is a spatial feature collection.
noOfCollectionsrequestLoggingFilter, responseLoggingFilter, rootUri| Constructor and Description |
|---|
DiscoveryCollectionsDefaultCrs() |
| Modifier and Type | Method and Description |
|---|---|
void |
verifyCollectionsPathCollectionCrsPropertyContainsDefaultCrs(TestPoint testPoint,
io.restassured.path.json.JsonPath jsonPath,
Map<String,Object> collection)
Test: crs property in the collection objects in the path /collections
|
collectionItemUris, collectionsResponses, retrieveRequiredInformationFromTestContextcreateListOfMediaTypesToSupportForFeatureCollectionsAndFeatures, createListOfMediaTypesToSupportForFeatureCollectionsAndFeatures, createListOfMediaTypesToSupportForOtherResources, getApiModel, noOfCollections, requirementClasses, retrieveApiModelclearMessages, getRequest, getResponse, init, initCommonFixturepublic void verifyCollectionsPathCollectionCrsPropertyContainsDefaultCrs(TestPoint testPoint, io.restassured.path.json.JsonPath jsonPath, Map<String,Object> collection)
testPoint - test point to test, never nulljsonPath - the /collections JSON, never nullcollection - the /collection object, never nullCopyright © 2024 Open Geospatial Consortium. All rights reserved.