Package org.opengis.cite.cat30.basic
Class SuitePreconditions
java.lang.Object
org.opengis.cite.cat30.basic.SuitePreconditions
Checks that various preconditions are satisfied before the test suite is run. If any of
these (BeforeSuite) methods fail, all tests are skipped.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Fetches records from the IUT using a simple GetRecords request (with no filter criteria) and saves the response entity to a temporary file.void
Verifies that a service capabilities document was supplied as a test run argument and that the implementation it describes is available.
-
Constructor Details
-
SuitePreconditions
public SuitePreconditions()
-
-
Method Details
-
verifyTestSubject
@BeforeSuite public void verifyTestSubject()Verifies that a service capabilities document was supplied as a test run argument and that the implementation it describes is available. -
fetchSampleData
@BeforeSuite public void fetchSampleData()Fetches records from the IUT using a simple GetRecords request (with no filter criteria) and saves the response entity to a temporary file. The resultingDatasetInfo
object is stored as the value of the suite attributedataset
.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).
-