[tracker/parser] libtracker-data: Add algebra/filter-nested-2 test



commit 3edc98865086c25aafd43a628266ed67b789f800
Author: Jürg Billeter <j bitron ch>
Date:   Fri Aug 14 11:45:38 2009 +0200

    libtracker-data: Add algebra/filter-nested-2 test

 tests/libtracker-data/algebra/filter-nested-2.rq  |    4 ++++
 tests/libtracker-data/tracker-sparql-test.c       |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-data/algebra/filter-nested-2.out b/tests/libtracker-data/algebra/filter-nested-2.out
new file mode 100644
index 0000000..e69de29
diff --git a/tests/libtracker-data/algebra/filter-nested-2.rq b/tests/libtracker-data/algebra/filter-nested-2.rq
new file mode 100644
index 0000000..8430cef
--- /dev/null
+++ b/tests/libtracker-data/algebra/filter-nested-2.rq
@@ -0,0 +1,4 @@
+PREFIX : <http://example/> 
+
+SELECT ?v
+{ :x :p ?v . { FILTER(?v = 1) } }
diff --git a/tests/libtracker-data/tracker-sparql-test.c b/tests/libtracker-data/tracker-sparql-test.c
index e618d09..0fb9ea0 100644
--- a/tests/libtracker-data/tracker-sparql-test.c
+++ b/tests/libtracker-data/tracker-sparql-test.c
@@ -47,6 +47,7 @@ const TestInfo tests[] = {
 	{ "algebra/filter-placement-2", "algebra/data-2" },
 	{ "algebra/filter-placement-3", "algebra/data-2" },
 	{ "algebra/filter-nested-1", "algebra/data-1" },
+	{ "algebra/filter-nested-2", "algebra/data-1" },
 	{ "bnode-coreference/query", "bnode-coreference/data" },
 	{ "bound/bound1", "bound/data" },
 	{ "expr-ops/query-ge-1", "expr-ops/data" },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]