W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2011

Re: query test case coverage (ACTION-494)

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Tue, 16 Aug 2011 13:25:39 +0100
Message-ID: <4E4A61C3.3010909@epimorphics.com>
To: public-rdf-dawg@w3.org

On 15/08/11 21:51, Gregory Williams wrote:
> I've just gone through the tests for query functions (and function-like operators) and am happy with the current state of things. I added tests for IF, COALESCE, and the hash functions over unicode (testing that the functions work over utf8 encoding). I'd be happy for others to take a look at the new tests (all in the functions/ directory):
> :if01

I don't get a pass for this one:

SELECT ?o (IF(DATATYPE(?o) = xsd:integer, true, false) AS ?integer)

Currently, DATATYPE("english"@en) is error, so IF will be error and 
?integer unbound.

> :if02
> :coalesce01
> :md5-02
> :sha1-02
> :sha224-02
> :sha256-02
> :sha384-02
> :sha512-02
> In going over the test coverage, I also noticed that we don't currently have any tests for the positive case of EXISTS. I've added this as needing tests on the TestSuiteCoverage page.
> thanks,
> .greg
Received on Tuesday, 16 August 2011 12:26:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:04 UTC