diff options
-rw-r--r-- | tests/libtracker-data/functions/functions-coalesce-1.out | 1 | ||||
-rw-r--r-- | tests/libtracker-data/functions/functions-coalesce-1.rq | 1 | ||||
-rw-r--r-- | tests/libtracker-data/tracker-sparql-test.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtracker-data/functions/functions-coalesce-1.out b/tests/libtracker-data/functions/functions-coalesce-1.out new file mode 100644 index 000000000..eb046bba9 --- /dev/null +++ b/tests/libtracker-data/functions/functions-coalesce-1.out @@ -0,0 +1 @@ +"http://www.w3.org/2001/XMLSchema#string" "foo" "http://www.w3.org/2001/XMLSchema#string" "bar" diff --git a/tests/libtracker-data/functions/functions-coalesce-1.rq b/tests/libtracker-data/functions/functions-coalesce-1.rq new file mode 100644 index 000000000..9fbec1daa --- /dev/null +++ b/tests/libtracker-data/functions/functions-coalesce-1.rq @@ -0,0 +1 @@ +SELECT COALESCE(xsd:string, "foo") COALESCE("foo", xsd:string) tracker:coalesce(xsd:string, "bar") tracker:coalesce("bar", xsd:string) {}
\ No newline at end of file diff --git a/tests/libtracker-data/tracker-sparql-test.c b/tests/libtracker-data/tracker-sparql-test.c index 372b80548..3982fc125 100644 --- a/tests/libtracker-data/tracker-sparql-test.c +++ b/tests/libtracker-data/tracker-sparql-test.c @@ -111,6 +111,7 @@ const TestInfo tests[] = { { "functions/functions-xpath-12", "functions/data-4", FALSE }, { "functions/functions-xpath-13", "functions/data-4", FALSE }, { "functions/functions-xpath-14", "functions/data-4", FALSE }, + { "functions/functions-coalesce-1", "functions/data-1", FALSE }, { "graph/graph-1", "graph/data-1", FALSE }, { "graph/graph-2", "graph/data-2", FALSE }, { "graph/graph-3", "graph/data-3", FALSE }, |