Skip to content

Commit

Permalink
Resolves #31
Browse files Browse the repository at this point in the history
  • Loading branch information
jensscheerlinck authored Jun 10, 2016
1 parent 655f7d6 commit 264a6e6
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions A.01.04.language.parameter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)**

Expand All @@ -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

Expand Down

0 comments on commit 264a6e6

Please sign in to comment.