public class DiscoveryCollectionDefaultCrs extends AbstractDiscoveryCollection
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/0/CRS84h is included in the array, if the collection has a spatial extent, i.e., is a spatial feature collection.
Constructor and Description |
---|
DiscoveryCollectionDefaultCrs() |
Modifier and Type | Method and Description |
---|---|
void |
storeCollectionInTestContext(org.testng.ITestContext testContext) |
void |
verifyCollectionCrsIdentifierOfCrsProperty(String collectionId,
io.restassured.path.json.JsonPath collection)
Test: crs property in the collection objects in the path /collections
|
collectionIdAndJson
public void storeCollectionInTestContext(org.testng.ITestContext testContext)
public void verifyCollectionCrsIdentifierOfCrsProperty(String collectionId, io.restassured.path.json.JsonPath collection)
collectionId
- id of the collection under test, never null
collection
- the /collection object, never null
Copyright © 2024 Open Geospatial Consortium. All rights reserved.