Purpose: The user must be able to select one of the supported languages. This language selection must be reflected in the provided capabilities document.
Prerequisites
Test method
- Let the value of GetCapabilities OnlineResource be
getcapabilities-url
. - For each SupportedLanguage codes as
lang-code
:- Create a GetCapabilities HTTP request by adding the parameters
SERVICE=WMS
,REQUEST=GetCapabilities
,VERSION=1.3.0
andLANGUAGE=
+lang-code
to thegetcapabilities-url
- Execute the request. If the returned resource can be parsed as a valid XML document and if the document passes tests A.03.IR05.schema.validation and A.06.IR08.language.node:
- Check that the ResponseLanguage code equals the
lang-code
. If it does not, fail the test for this language.
- Check that the ResponseLanguage code equals the
- Otherwise fail the test.
- Create a GetCapabilities HTTP request by adding the parameters
- If the test for any of the languages failed, fail the test. Otherwise pass the test.
Reference(s):
Test type: Automated
Notes
The namespace prefixes used as described in README.md.