public class Process extends CommonFixture
CommonFixture.Input, CommonFixture.Output, CommonFixture.TypeCONTENT_ENCODING_PROPERTY_KEY, CONTENT_MEDIA_TYPE_PROPERTY_KEY, CONTENT_SCHEMA_PROPERTY_KEY, CONTENT_TYPE, limit, reqEntity, requestLoggingFilter, responseLoggingFilter, rootUri, rspEntity, specURL, testAllProcesses| Constructor and Description |
|---|
Process() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup(org.testng.ITestContext testContext) |
void |
testProcess()
Abstract Test 13: /conf/core/process
Test Purpose: Validate that a process description can be retrieved from the expected location.
|
void |
testProcessExceptionNoSuchProcess()
Abstract Test 15: /conf/core/process-exception-no-such-process
Test Purpose: Validate that an invalid process identifier is handled correctly.
|
void |
testProcessSuccess()
Abstract Test 14: /conf/core/process-success
Test Purpose: Validate that the content complies with the required structure and contents.
|
addAttributesOnTestFailure, addServerUnderTest, checkHtmlConfClass, clearMessages, createInput, createOutput, getRequest, getResponse, init, initCommonFixture, printResults, validateResponseAgainstSchemapublic void setup(org.testng.ITestContext testContext)
public void testProcessExceptionNoSuchProcess()
Abstract Test 15: /conf/core/process-exception-no-such-process Test Purpose: Validate that an invalid process identifier is handled correctly. Requirement: /req/core/process-exception-no-such-process Test Method: 1. Validate that the document contains the exception `type` "http://wwwopengisnet/def/exceptions/ogcapi-processes-1/10/no-such-process" 2. Validate the document for all supported media types using the resources and tests identified in no-such-process |=== An exception response caused by the use of an invalid process identifier may be retrieved in a number of different formats. The following table identifies the applicable schema document for each format and the test to be used to validate the response. All supported formats should be exercised. [[no-such-process]] 3. Schema and Tests for Non-existent Process [width="90%",cols="3",options="header"] |=== |Format |Schema Document |Test ID |HTML |link:http://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/schemas/exception.yaml[exception.yaml] |ats_html_content,/conf/html/content |JSON |link:http://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/schemas/exception.yaml[exception.yaml] |ats_json_content,/conf/json/content |=== TODO: Check additional content
public void testProcess()
Abstract Test 13: /conf/core/process Test Purpose: Validate that a process description can be retrieved from the expected location. Requirement: /req/core/process Test Method: |=== TODO: Check additional content
public void testProcessSuccess()
Abstract Test 14: /conf/core/process-success Test Purpose: Validate that the content complies with the required structure and contents. Requirement: /req/core/process-success Test Method: |=== The interface of a process may be describing using a number of different models or process description languages. The following table identifies the applicable schema document for each process description model described in this standard. [[process-description-model]] 1. Schema and Tests for Process Description Models [width="90%",cols="3",options="header"] |=== |Model |Schema Document |Test ID |OGC Process Description JSON|link:http://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/schemas/process.yaml[process.yaml] |req_ogc-process-description_json-encoding,/conf/ogc-process-description/json-encoding |=== TODO: Check additional content
Copyright © 2024 Open Geospatial Consortium. All rights reserved.