summaryrefslogtreecommitdiff
path: root/tests/libtracker-data/tracker-sparql-test.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2018-12-25 20:35:46 +0100
committerCarlos Garnacho <carlosg@gnome.org>2018-12-26 13:21:38 +0100
commit7e09abe116b4dcedf177f3cf8f66ce347a4a8075 (patch)
tree262619eb5fce345b0d9d474245f107fac0d2d21c /tests/libtracker-data/tracker-sparql-test.c
parent0d5c1a65f5a1ea331d438b863e9b6fff14b2dff3 (diff)
downloadtracker-7e09abe116b4dcedf177f3cf8f66ce347a4a8075.tar.gz
tests: Add a bunch of property path testswip/carlosg/property-paths
Alternative, recursive, optional paths are tested, and combinations of those.
Diffstat (limited to 'tests/libtracker-data/tracker-sparql-test.c')
-rw-r--r--tests/libtracker-data/tracker-sparql-test.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/libtracker-data/tracker-sparql-test.c b/tests/libtracker-data/tracker-sparql-test.c
index 33a98fb11..2db5166ae 100644
--- a/tests/libtracker-data/tracker-sparql-test.c
+++ b/tests/libtracker-data/tracker-sparql-test.c
@@ -155,8 +155,20 @@ const TestInfo tests[] = {
{ "property-paths/sequence-path-1", "property-paths/data", FALSE },
{ "property-paths/sequence-path-2", "property-paths/data", FALSE },
{ "property-paths/sequence-path-3", "property-paths/data", FALSE },
+ { "property-paths/optional-path-1", "property-paths/data", FALSE },
+ { "property-paths/recursive-path-1", "property-paths/data", FALSE },
+ { "property-paths/recursive-path-2", "property-paths/data", FALSE },
+ { "property-paths/alternative-path-1", "property-paths/data", FALSE },
+ { "property-paths/alternative-path-2", "property-paths/data", FALSE },
{ "property-paths/mixed-inverse-and-sequence-1", "property-paths/data", FALSE },
{ "property-paths/mixed-inverse-and-sequence-2", "property-paths/data", FALSE },
+ { "property-paths/mixed-inverse-and-sequence-3", "property-paths/data", FALSE },
+ { "property-paths/mixed-recursive-and-sequence-1", "property-paths/data", FALSE },
+ { "property-paths/mixed-recursive-and-alternative-1", "property-paths/data", FALSE },
+ { "property-paths/mixed-recursive-and-alternative-2", "property-paths/data", FALSE },
+ { "property-paths/mixed-recursive-and-inverse-1", "property-paths/data", FALSE },
+ { "property-paths/mixed-recursive-and-inverse-2", "property-paths/data", FALSE },
+ { "property-paths/mixed-recursive-and-inverse-3", "property-paths/data", FALSE },
/* Update tests */
{ "update/insert-data-query-1", "update/insert-data-1", FALSE, FALSE },
{ "update/insert-data-query-2", "update/insert-data-2", FALSE, TRUE },