Purpose: Test that each style has a human-readable name mapped to Title element and a unique identifier mapped to Name element.
Prerequisites
Test method
-
Send a getCapabilities request to the service endpoint. Into the response:
-
For each Style element in each Layer element:
-
Check that exactly one Title element exists and it is a non-empty value.
-
Check that exactly one Style Name element exists and it is a non-emtpy value.
- Check that the Style Name is unique within the style elements of the layer.
-
-
Reference(s):
- TG VS, Chapter 4.2.3.3.4.8, Requirement 46
Test type: Automated
Notes
The multiplicity of Title and Style Name is 1 in each style.
Contextual XPath references
The namespace prefixes used as described in README.md.