|Draft containing abstract test cases for WFS-XLink conformance.|
This document is an abstract test suite (ATS): a compendium of test assertions pertaining to implementations of the Web Feature Service (WFS) specification, version 1.1. It provides a basis for developing an executable test suite (ETS) to verify that the implementation under test (IUT) conforms to all applicable functional specifications.
The assertions (abstract test cases) are gleaned from a set of specification documents; the dependencies among these specifications are shown in Figure 1, “WFS 1.1 dependencies”, where each specification is represented as a UML package.
The abstract test cases are organized into test groups (conformance levels) that reflect distinct sets of capabilities. Three conformance levels are distinguished:
WFS-Basic (required) - Provides facilities for searching and retrieving feature data
WFS-Transaction - Provides facilities for managing (inserting, updating, deleting) feature data
WFS-XLink - Provides facilities for resolving links between related resources.
Table of Contents
|Purpose||Confirm that the GetGmlObject request has been implemented.|
|Assertion||The GetGmlObject request must be implemented (using POST or GET methods) if the IUT claims to provide XLink resolution capabilities.|
|Purpose||Verify that exceptions arising while processing GetGmlObject requests are correctly reported.|
An exception must be returned in response to any of the following situations:
|Purpose||Verify that an XLink reference has been resolved correctly.|
An XLink reference is processed if it can be found (successfully resolved); otherwise an exception must be reported (see Target resource not found).
All of the following conditions must be true after successfully resolving an XLink reference:
|Purpose||Verify that links are resolved to the correct depth.|
XLink references must be resolved to a depth corresponding to one of the following cases:
|Purpose||Confirm that links in supported domains are processed.|
An XLink reference is processed only if its domain (as indicated by the authority component of the @xlink:href value) is supported; otherwise an exception must be reported (see Unsupported URI domain).
The capabilities document must indicate whether local and/or remote
domains are supported using the
|Purpose||Confirm that non-selective XLink resolution is supported for the GetFeature request.|
|Assertion||All XLink elements in a GetFeature response must be resolved according
to the value of the
|Purpose||Verify that selected link elements are processed as requested in a GetFeature response (optional capability).|
|Assertion||An XLink element (feature property) specified by the value of the
<wfs:XlinkPropertyName> element must be processed according to the
values of the