test suite reorg: added evaluation tests

I have checked in four additional sets of query evaluation test cases in
the data-r2 directory:

- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bnode-coreference/
  (1 test)
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bound/
  (1 test)
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/
  (3 tests)
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/
  (17 tests)

The first three test sets are of course rather small, I have yet to
explore the existing tests to see if other directories contain tests
that we can add to each. Note that in principle these sets distinguish a
specific kind of functionality for which they are designed to test.

While transforming and executing these tests I ran into a few issues:

First, in optional, #dawg-union-001.  The test set is about testing
optional paths, but this particular test does not contain an optional,
instead it tests the UNION operator. Should we perhaps move this
particular test to a set specifically about union?

In the expr-builtin test set I have made some modifications to the
original tests (to be found in data/ExprBuiltins). Several tests
(<#dawg-datatype-2>, <#dawg-datatype-3>, <#dawg-lang-1>, <#dawg-lang-2>,
<#dawg-lang-3>) used an ORDER BY clause, which is not pertinent to the
test (which are about the datatype() and lang() built-in functions). I
have removed the order by clause from these tests to avoid that
implementations fail these tests "for the wrong reasons".

As far as I have been able to determine, all these tests are up to date
with the current query spec. Additional eyeballs are invited to correct  :)

Cheers,

Jeen
-- 
Dr. Jeen Broekstra                                          Den Dolech 2
Information Systems Group                                        HG 7.76
Department of Mathematics and Computer Science              P.O. Box 513
Technische Universiteit Eindhoven                      5600 MB Eindhoven
tel. +31 (0)40 247 36 86                                 The Netherlands

Received on Friday, 16 February 2007 11:23:57 UTC