Class FeatureCollections
java.lang.Object
org.opengis.cite.ogcapifeatures10.conformance.CommonFixture
org.opengis.cite.ogcapifeatures10.conformance.CommonDataFixture
org.opengis.cite.ogcapifeatures10.conformance.core.collections.FeatureCollections
A.2.5. Feature Collections {root}/collections
- Author:
- Lyn Goltz
-
Field Summary
Fields inherited from class org.opengis.cite.ogcapifeatures10.conformance.CommonDataFixture
noOfCollectionsFields inherited from class org.opengis.cite.ogcapifeatures10.conformance.CommonFixture
requestLoggingFilter, responseLoggingFilter, rootUri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject[][]collectionsUris(org.testng.ITestContext testContext) collectionsUris.voidstoreCollectionsInTestContext(org.testng.ITestContext testContext) storeCollectionsInTestContext.voidstoreCollectionsResponseInTestContext(org.testng.ITestContext testContext) storeCollectionsResponseInTestContext.voidAbstract Test 9: /ats/core/fc-md-op Test Purpose: Validate that information about the Collections can be retrieved from the expected location.voidAbstract Test 10, Test Method 4voidAbstract Test 10, Test Method 3voidAbstract Test 10, Test Method 2voidAbstract Test 10, Test Method 1Methods inherited from class org.opengis.cite.ogcapifeatures10.conformance.CommonDataFixture
createListOfMediaTypesToSupportForFeatureCollectionsAndFeatures, createListOfMediaTypesToSupportForFeatureCollectionsAndFeatures, createListOfMediaTypesToSupportForOtherResources, getApiModel, noOfCollections, requirementClasses, retrieveApiModelMethods inherited from class org.opengis.cite.ogcapifeatures10.conformance.CommonFixture
clearMessages, getRequest, getResponse, init, initCommonFixture
-
Constructor Details
-
FeatureCollections
public FeatureCollections()
-
-
Method Details
-
collectionsUris
@DataProvider(name="collectionsUris") public Object[][] collectionsUris(org.testng.ITestContext testContext) collectionsUris.
- Parameters:
testContext- aITestContextobject- Returns:
- an array of
Objectobjects
-
storeCollectionsInTestContext
@AfterClass public void storeCollectionsInTestContext(org.testng.ITestContext testContext) storeCollectionsInTestContext.
- Parameters:
testContext- aITestContextobject
-
storeCollectionsResponseInTestContext
@AfterClass public void storeCollectionsResponseInTestContext(org.testng.ITestContext testContext) storeCollectionsResponseInTestContext.
- Parameters:
testContext- aITestContextobject
-
validateFeatureCollectionsMetadataOperation
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.- Parameters:
testPoint- the test point to test, nevernull
-
validateFeatureCollectionsMetadataOperationResponse_Links
Abstract Test 10, Test Method 1Abstract 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
- Parameters:
testPoint- the test point to test, nevernull
-
validateFeatureCollectionsMetadataOperationResponse_Items
Abstract Test 10, Test Method 2Abstract 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
- Parameters:
testPoint- the test point to test, nevernull
-
validateFeatureCollectionsMetadataOperationResponse_CrsProperty
Abstract Test 10, Test Method 3Abstract 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"
- Parameters:
testPoint- the test point to test, nevernull
-
validateFeatureCollectionsMetadataOperationResponse_Content
Abstract Test 10, Test Method 4Abstract 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
- Parameters:
testPoint- the test point to test, nevernull
-