[tracker/parser] libtracker-data: Add algebra/filter-placement-2 test
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/parser] libtracker-data: Add algebra/filter-placement-2 test
- Date: Fri, 14 Aug 2009 10:05:07 +0000 (UTC)
commit 2f546d4ded55cf9cdaacfd1750eb9dfd10d8f62d
Author: Jürg Billeter <j bitron ch>
Date: Fri Aug 14 11:41:13 2009 +0200
libtracker-data: Add algebra/filter-placement-2 test
.../libtracker-data/algebra/filter-placement-2.out | 1 +
.../libtracker-data/algebra/filter-placement-2.rq | 7 +++++++
tests/libtracker-data/tracker-sparql-test.c | 1 +
3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-data/algebra/filter-placement-2.out b/tests/libtracker-data/algebra/filter-placement-2.out
new file mode 100644
index 0000000..1026c25
--- /dev/null
+++ b/tests/libtracker-data/algebra/filter-placement-2.out
@@ -0,0 +1 @@
+"2"
diff --git a/tests/libtracker-data/algebra/filter-placement-2.rq b/tests/libtracker-data/algebra/filter-placement-2.rq
new file mode 100644
index 0000000..0f4e1a3
--- /dev/null
+++ b/tests/libtracker-data/algebra/filter-placement-2.rq
@@ -0,0 +1,7 @@
+PREFIX : <http://example/>
+
+SELECT ?v
+{
+ FILTER (?v = 2)
+ ?s :p ?v .
+}
diff --git a/tests/libtracker-data/tracker-sparql-test.c b/tests/libtracker-data/tracker-sparql-test.c
index b9fb9b7..f24c9f3 100644
--- a/tests/libtracker-data/tracker-sparql-test.c
+++ b/tests/libtracker-data/tracker-sparql-test.c
@@ -44,6 +44,7 @@ const TestInfo tests[] = {
{ "algebra/two-nested-opt-alt", "algebra/two-nested-opt" },
{ "algebra/opt-filter-3", "algebra/opt-filter-3" },
{ "algebra/filter-placement-1", "algebra/data-2" },
+ { "algebra/filter-placement-2", "algebra/data-2" },
{ "algebra/filter-nested-1", "algebra/data-1" },
{ "bnode-coreference/query", "bnode-coreference/data" },
{ "bound/bound1", "bound/data" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]