From 264a6e6622d87ee73d8cc31d89948e3989ba77b6 Mon Sep 17 00:00:00 2001 From: Jens Scheerlinck Date: Fri, 10 Jun 2016 14:19:55 +0200 Subject: [PATCH] Resolves #31 --- A.01.04.language.parameter.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/A.01.04.language.parameter.md b/A.01.04.language.parameter.md index b3492c9..0b90cb8 100644 --- a/A.01.04.language.parameter.md +++ b/A.01.04.language.parameter.md @@ -6,9 +6,23 @@ **Test method** -Examine whether the Get Discovery Service Metadata and Discover Metadata operations support the parameter “language”, which is an INSPIRE extension of the OGC Catalogue Service Specification in version 2.0.2. Both options below shall be tested: -1. the language requested by a client is contained in the list of supported languages, i.e. the natural language fields of the service response shall be in the requested language; -2. the language requested by a client is not supported by the INSPIRE Discovery Service, i.e. the “language” parameter shall be ignored. +Examine whether the Get Discovery Service Metadata and Discover Metadata operations support the parameter “language”, which is an INSPIRE extension of the OGC Catalogue Service Specification in version 2.0.2. + +To test the overall language support of a Discovery Service, thee groups of tests need to be performed + +1. Testing the language functionality of the Discovery Service on the Get Discovery Service Metadata operation (GetCapabilties) + * [Request the Discovery Service Metadata in the default language and check in the response whether the service claims to support more than one language](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.02.10.supported.languages.md). + * Test whether the Get Discovery Service Metadata supports the language parameter + * [Check whether the GetCapabilities request accepts the parameter "language" containing values based on ISO 639-2/B alpha 3 codes.](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.01.05.iso-639.codes.md) + * [For a supported but not default language, check for an appropriate response](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.02.09.response.language.md) + * [Test the response for an unsupported language](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.01.06.unsupported.languages.md) +2. Testing whether the language functionality is advertised correctly in the Discovery Serice Metadata + * [Check whether GetCapabilities response indicates that the GetRecords operation supports the language parameter as queryable](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.03.08.language.search.criteria.md) +3. Testing the language functionality of the Discovery Serivce on the Discover Metadata operation (GetRecords) + * [Verify that when no language filter is provided, the GetRecords response returns metadata independent from any language](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.03.10.missing.language.filter.md). + * [Check whether the language parameter is implemented as a search attribute in a GetRecords request](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.03.03.language.search.attribute.md). + * [If a language parameter is set, check that the GetRecords response complies with the specified language](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.03.11.language.filter.md). + * [Verify the language of a GetRecords response to an invalid GetRecords request](https://github.com/inspire-eu-validation/ats-discovery-service/blob/master/A.03.12.invalid.request.md). **Reference(s)** @@ -18,7 +32,7 @@ Examine whether the Get Discovery Service Metadata and Discover Metadata operati **Test type**: Automated **Notes** - +This is a summary test case, providing links to other test cases that satisfy more detailed requirements. ## Contextual XPath references