public class OpenSearchPreconditions extends Object
| Constructor and Description |
|---|
OpenSearchPreconditions() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkOpenSearchImplementationStatus(org.testng.ITestContext testContext)
Checks that the service capabilities document advertises OpenSearch
support.
|
(package private) void |
setClient(CSWClient client) |
void setClient(CSWClient client)
public void checkOpenSearchImplementationStatus(org.testng.ITestContext testContext)
<OperationsMetadata xmlns="http://www.opengis.net/ows/2.0">
<!-- Operation elements omitted -->
<Constraint name="http://www.opengis.net/spec/csw/3.0/conf/OpenSearch">
<AllowedValues>
<Value>TRUE</Value>
<Value>FALSE</Value>
</AllowedValues>
<DefaultValue>TRUE</DefaultValue>
<Meaning>Conformance class</Meaning>
</Constraint>
</OperationsMetadata>
An attempt will be made to retrieve an OpenSearch description document
from the IUT. A representation is expected to be obtained by
dereferencing the URI corresponding to the GetCapabilities (GET)
endpoint. The resulting Document object is stored as the value of the
suite attribute SuiteAttribute.OPENSEARCH_DESCR.
testContext - Information about the current test run.Copyright © 2018 Open Geospatial Consortium. All rights reserved.