public class BBoxCrsParameterDefault extends AbstractBBoxCrs
Abstract Test 10: /conf/crs/bbox-crs-parameter-default
Test Purpose: Verify that the parameter bbox-crs has been implemented correctly
Requirement: /req/crs/fc-bbox-crs-default-value
Test Method
For each spatial feature collection collectionId and every GML or GeoJSON feature representation supported by the
Web API, send a request with the parameters bbox and bbox-crs to /collections/{collectionId}/items for the default CRS
of the collection. Use a bbox value in the spatial extent of the collection. Send the same request, but with no
bbox-crs parameter. Do not include a crs parameter in the requests. Verify that the responses include the same features.
BBOX_CRS_PARAM, BBOX_PARAM, collectionIdToCrs, collectionIdToDefaultCrs, collectionsResponsesrequestLoggingFilter, responseLoggingFilter, rootUri| Constructor and Description |
|---|
BBoxCrsParameterDefault() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Object[]> |
collectionDefaultCrs(org.testng.ITestContext testContext) |
void |
verifyBboxCrsParameterDefault(String collectionId,
io.restassured.path.json.JsonPath collection,
CoordinateSystem defaultCrs) |
assertSameFeatures, retrieveRequiredInformationFromTestContextclearMessages, getRequest, getResponse, init, initCommonFixturepublic Iterator<Object[]> collectionDefaultCrs(org.testng.ITestContext testContext)
public void verifyBboxCrsParameterDefault(String collectionId, io.restassured.path.json.JsonPath collection, CoordinateSystem defaultCrs)
collectionId - the id of the collection, never nullcollection - the /collection object, never nulldefaultCrs - the defaultCrs of the collection, never nullCopyright © 2024 Open Geospatial Consortium. All rights reserved.