public class SuitePreconditions extends Object
| Constructor and Description |
|---|
SuitePreconditions() |
| Modifier and Type | Method and Description |
|---|---|
void |
fetchSampleData(org.testng.ITestContext testContext)
Fetches records from the IUT using a simple GetRecords request (with no
filter criteria) and saves the response entity to a temporary file.
|
void |
verifyTestSubject(org.testng.ITestContext testContext)
Verifies that a service capabilities document was supplied as a test run
argument and that the implementation it describes is available.
|
public void verifyTestSubject(org.testng.ITestContext testContext)
testContext - Information about the test run.public void fetchSampleData(org.testng.ITestContext testContext)
DatasetInfo object is stored as the value
of the suite attribute dataset.
The resulting csw:Record (full) representations are inspected in order to construct successful service requests (e.g. a GetRecordById request that produces a matching record, GetRecords request with a spatial filter).
testContext - Information about the test run.Copyright © 2018 Open Geospatial Consortium. All rights reserved.