public class FeatureCollections extends CommonDataFixture
noOfCollections
requestLoggingFilter, responseLoggingFilter, rootUri
Constructor and Description |
---|
FeatureCollections() |
Modifier and Type | Method and Description |
---|---|
Object[][] |
collectionsUris(org.testng.ITestContext testContext) |
void |
storeCollectionsInTestContext(org.testng.ITestContext testContext) |
void |
storeCollectionsResponseInTestContext(org.testng.ITestContext testContext) |
void |
validateFeatureCollectionsMetadataOperation(TestPoint testPoint)
Abstract Test 9: /ats/core/fc-md-op
Test Purpose: Validate that information about the Collections can be retrieved from the expected location.
|
void |
validateFeatureCollectionsMetadataOperationResponse_Content(TestPoint testPoint)
Abstract Test 10, Test Method 4
|
void |
validateFeatureCollectionsMetadataOperationResponse_CrsProperty(TestPoint testPoint)
Abstract Test 10, Test Method 3
|
void |
validateFeatureCollectionsMetadataOperationResponse_Items(TestPoint testPoint)
Abstract Test 10, Test Method 2
|
void |
validateFeatureCollectionsMetadataOperationResponse_Links(TestPoint testPoint)
Abstract Test 10, Test Method 1
|
createListOfMediaTypesToSupportForFeatureCollectionsAndFeatures, createListOfMediaTypesToSupportForFeatureCollectionsAndFeatures, createListOfMediaTypesToSupportForOtherResources, getApiModel, noOfCollections, requirementClasses, retrieveApiModel
clearMessages, getRequest, getResponse, init, initCommonFixture
public Object[][] collectionsUris(org.testng.ITestContext testContext)
public void storeCollectionsInTestContext(org.testng.ITestContext testContext)
public void storeCollectionsResponseInTestContext(org.testng.ITestContext testContext)
public void validateFeatureCollectionsMetadataOperation(TestPoint testPoint)
Abstract Test 9: /ats/core/fc-md-op Test Purpose: Validate that information about the Collections can be retrieved from the expected location. Requirement: /req/core/fc-md-op Test Method 1. Issue an HTTP GET request to the URL {root}/collections 2. Validate that a document was returned with a status code 200 3. Validate the contents of the returned document using test /ats/core/fc-md-success.
testPoint
- the test point to test, never null
public void validateFeatureCollectionsMetadataOperationResponse_Links(TestPoint testPoint)
Abstract Test 10: /ats/core/fc-md-success Test Purpose: Validate that the Collections content complies with the required structure and contents. Requirement: /req/core/fc-md-success, /req/core/crs84 Test Method 1. Validate that all response documents comply with /ats/core/fc-md-links
testPoint
- the test point to test, never null
public void validateFeatureCollectionsMetadataOperationResponse_Items(TestPoint testPoint)
Abstract Test 10: /ats/core/fc-md-success Test Purpose: Validate that the Collections content complies with the required structure and contents. Requirement: /req/core/fc-md-success, /req/core/crs84 Test Method 2. Validate that all response documents comply with /ats/core/fc-md-items
testPoint
- the test point to test, never null
public void validateFeatureCollectionsMetadataOperationResponse_CrsProperty(TestPoint testPoint)
Abstract Test 10: /ats/core/fc-md-success Test Purpose: Validate that the Collections content complies with the required structure and contents. Requirement: /req/core/fc-md-success, /req/core/crs84 Test Method 3. In case the response includes a "crs" property, validate that the first value is either "http://www.opengis.net/def/crs/OGC/1.3/CRS84" or "http://www.opengis.net/def/crs/OGC/0/CRS84h"
testPoint
- the test point to test, never null
public void validateFeatureCollectionsMetadataOperationResponse_Content(TestPoint testPoint)
Abstract Test 10: /ats/core/fc-md-success Test Purpose: Validate that the Collections content complies with the required structure and contents. Requirement: /req/core/fc-md-success, /req/core/crs84 Test Method 4. Validate the collections content for all supported media types using the resources and tests identified in Schema and Tests for Collections content
testPoint
- the test point to test, never null
Copyright © 2024 Open Geospatial Consortium. All rights reserved.