Re: query test case coverage (ACTION-494)

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