[tracker/rss-enclosures] Unit test for NB#163715
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] Unit test for NB#163715
- Date: Mon, 3 May 2010 00:32:44 +0000 (UTC)
commit 7d6b0954a38650f111c7a10ef8b7ed1482bd715c
Author: Ivan Frade <ivan frade nokia com>
Date: Fri Apr 9 15:19:21 2010 +0300
Unit test for NB#163715
tests/libtracker-data/basic/Makefile.am | 1 +
tests/libtracker-data/basic/compare-cast.out | 1 +
tests/libtracker-data/basic/compare-cast.rq | 1 +
tests/libtracker-data/tracker-sparql-test.c | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/libtracker-data/basic/Makefile.am b/tests/libtracker-data/basic/Makefile.am
index c879fc4..a90c7d1 100644
--- a/tests/libtracker-data/basic/Makefile.am
+++ b/tests/libtracker-data/basic/Makefile.am
@@ -3,6 +3,7 @@ include $(top_srcdir)/Makefile.decl
EXTRA_DIST = \
base-prefix-3.out \
base-prefix-3.rq \
+ compare-cast.rq \
data-1.ontology \
data-1.ttl \
predicate-variable.out \
diff --git a/tests/libtracker-data/basic/compare-cast.out b/tests/libtracker-data/basic/compare-cast.out
new file mode 100644
index 0000000..8268615
--- /dev/null
+++ b/tests/libtracker-data/basic/compare-cast.out
@@ -0,0 +1 @@
+"true"
diff --git a/tests/libtracker-data/basic/compare-cast.rq b/tests/libtracker-data/basic/compare-cast.rq
new file mode 100644
index 0000000..f176883
--- /dev/null
+++ b/tests/libtracker-data/basic/compare-cast.rq
@@ -0,0 +1 @@
+SELECT (15 > "11"^^<http://www.w3.org/2001/XMLSchema#int>) WHERE { }
diff --git a/tests/libtracker-data/tracker-sparql-test.c b/tests/libtracker-data/tracker-sparql-test.c
index c4584aa..58603f7 100644
--- a/tests/libtracker-data/tracker-sparql-test.c
+++ b/tests/libtracker-data/tracker-sparql-test.c
@@ -58,6 +58,7 @@ const TestInfo tests[] = {
{ "anon/query", "anon/data", FALSE },
{ "ask/ask-1", "ask/data", FALSE },
{ "basic/base-prefix-3", "basic/data-1", FALSE },
+ { "basic/compare-cast", "basic/data-1", FALSE },
{ "basic/predicate-variable", "basic/data-1", FALSE },
{ "basic/predicate-variable-2", "basic/data-1", FALSE },
{ "basic/predicate-variable-3", "basic/data-1", FALSE },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]