OWS Context 1.0 Conformance Test Suite

Scope

This executable test suite (ETS) validates OWS context documents in accord with the OGC OWS Context Atom Encoding Standard (OGC 12-084r2) and related specifications. Various conformance classes have been defined as shown in Figure 1.

Figure 1: Conformance classes

Conformance classes

The conformance classes listed below are partially covered by this test suite:

  • Atom Core
    • Requirement: http://www.opengis.net/spec/owc-atom/1.0/req/core
    • Requirement: http://www.opengis.net/spec/owc-atom/1.0/req/atomRules
    • Requirement: http://www.opengis.net/spec/owc-atom/1.0/req/owcEncoding
  • Atom WMS

    • Requirement: http://www.opengis.net/spec/owc-atom/1.0/req/wms/content

Test requirements

The documents listed below stipulate requirements that must be satisfied by a conforming instance.

  1. OGC 12-084r2: OGC OWS Context Atom Encoding Standard
  2. OGC 12-080r2: OGC OWS Context Conceptual Model
  3. RFC 4287: The Atom Syndication Format

If any of the following preconditions are not satisfied then all tests in the suite will be marked as skipped.

  • The context document is an Atom feed

Test suite structure

The test suite definition file (testng.xml) is located in the root package, org.opengis.cite.owc10. A conformance class corresponds to a <test> element, each of which includes a set of test classes that contain the actual test methods. The general structure of the test suite is shown in Table 1.

Table 1 - Test suite structure
Conformance class Test classes
Atom Core org.opengis.cite.owc10.atom.AtomCoreTests
Atom WMS org.opengis.cite.owc10.atom.AtomWmsTests

The Javadoc documentation provides more detailed information about the test methods that constitute the suite.

Test run arguments

The test run arguments are summarized in Table 2. The Obligation descriptor can have the following values: M (mandatory), O (optional), or C (conditional).

Table 2 - Test run arguments
Name Value domain Obligation Description
iut URI M A URI that refers to a representation of an OWS context document. Ampersand ('&') characters must be percent-encoded as '%26'.