Revision History | |
---|---|
Revision 0.1 | 2007-12-14 |
Draft containing abstract test cases for WFS-XLink conformance. |
Purpose
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.
Source documents
Table of Contents
Identifier | http://www.opengis.net/wfs/1.1/atc/xlink/GetGmlObject |
---|---|
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. |
Sources |
|
Identifier | http://www.opengis.net/wfs/1.1/atc/xlink/GetGmlObject-Exceptions |
---|---|
Purpose | Verify that exceptions arising while processing GetGmlObject requests are correctly reported. |
Assertion |
An exception must be returned in response to any of the following situations: |
Sources |
|
Identifier | http://www.opengis.net/wfs/1.1/atc/xlink/XLinkResolution |
---|---|
Purpose | Verify that an XLink reference has been resolved correctly. |
Assertion |
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:
|
Sources |
|
Identifier | http://www.opengis.net/wfs/1.1/atc/xlink/XLinkResolution-LinkDepth |
---|---|
Purpose | Verify that links are resolved to the correct depth. |
Assertion |
XLink references must be resolved to a depth corresponding to one of the following cases: |
Sources |
|
Identifier | http://www.opengis.net/wfs/1.1/atc/xlink/XLinkResolution-Domain |
---|---|
Purpose | Confirm that links in supported domains are processed. |
Assertion |
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 |
Sources |
|
Identifier | http://www.opengis.net/wfs/1.1/atc/xlink/GetFeature-NonSelectiveXLinkResolution |
---|---|
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 traverseXlinkDepth request parameter
(see XLink resolution - Depth). |
Sources |
|
Identifier | http://www.opengis.net/wfs/1.1/atc/xlink/GetFeature-SelectiveXLinkResolution |
---|---|
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 traverseXlinkDepth and traverseXlinkExpiry
parameters specified either (1) for this feature property, or (2) globally
for the request as a whole. |
Sources |
|