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.
noOfCollections
requestLoggingFilter, 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, retrieveRequiredInformationFromTestContext
createListOfMediaTypesToSupportForFeatureCollectionsAndFeatures, createListOfMediaTypesToSupportForFeatureCollectionsAndFeatures, createListOfMediaTypesToSupportForOtherResources, getApiModel, noOfCollections, requirementClasses, retrieveApiModel
clearMessages, getRequest, getResponse, init, initCommonFixture
public void verifyCollectionsPathCollectionCrsPropertyContainsDefaultCrs(TestPoint testPoint, io.restassured.path.json.JsonPath jsonPath, Map<String,Object> collection)
testPoint
- test point to test, never null
jsonPath
- the /collections JSON, never null
collection
- the /collection object, never null
Copyright © 2024 Open Geospatial Consortium. All rights reserved.