Class DiscoveryCollectionsDefaultCrs


public class DiscoveryCollectionsDefaultCrs extends AbstractDiscoveryCollections
Verifies objects in the paths /collections
 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.
 
Author:
Lyn Goltz
  • Constructor Details

    • DiscoveryCollectionsDefaultCrs

      public DiscoveryCollectionsDefaultCrs()
  • Method Details

    • verifyCollectionsPathCollectionCrsPropertyContainsDefaultCrs

      public 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
      Parameters:
      testPoint - test point to test, never null
      jsonPath - the /collections JSON, never null
      collection - the /collection object, never null