diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2022-11-21 12:58:37 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2022-11-21 13:56:40 +0100 |
commit | 29a9277df6a7ca23e23865113b94d87555a173bb (patch) | |
tree | 08a6e6e89de912d637eb4c27547b95fa9c9e9fb7 /tests | |
parent | 6c58347e873b6e8ce904876963068b2624e2f623 (diff) | |
download | tracker-29a9277df6a7ca23e23865113b94d87555a173bb.tar.gz |
tests: Make CONSTRAINT tests use absolute IRIs
Do not rely on our loose interpretation of IRIs to make tests work.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/constraint/coexisting-1.out | 8 | ||||
-rw-r--r-- | tests/core/constraint/coexisting-1.rq | 2 | ||||
-rw-r--r-- | tests/core/constraint/coexisting-2.out | 4 | ||||
-rw-r--r-- | tests/core/constraint/coexisting-2.rq | 2 | ||||
-rw-r--r-- | tests/core/constraint/coexisting-3.out | 8 | ||||
-rw-r--r-- | tests/core/constraint/coexisting-4.out | 4 | ||||
-rw-r--r-- | tests/core/constraint/coexisting-4.rq | 2 | ||||
-rw-r--r-- | tests/core/constraint/data.rq | 1 | ||||
-rw-r--r-- | tests/core/constraint/nested-1.rq | 2 | ||||
-rw-r--r-- | tests/core/constraint/nested-2.rq | 4 | ||||
-rw-r--r-- | tests/core/constraint/nested-3.out | 2 | ||||
-rw-r--r-- | tests/core/constraint/nested-3.rq | 4 | ||||
-rw-r--r-- | tests/core/constraint/nested-6.out | 2 |
13 files changed, 23 insertions, 22 deletions
diff --git a/tests/core/constraint/coexisting-1.out b/tests/core/constraint/coexisting-1.out index 8be680548..cb964306a 100644 --- a/tests/core/constraint/coexisting-1.out +++ b/tests/core/constraint/coexisting-1.out @@ -1,4 +1,4 @@ -"a" -"b" -"c" -"d" +"http://example/a" +"http://example/b" +"http://example/c" +"http://example/d" diff --git a/tests/core/constraint/coexisting-1.rq b/tests/core/constraint/coexisting-1.rq index 3fc6ee60a..4ab5604e6 100644 --- a/tests/core/constraint/coexisting-1.rq +++ b/tests/core/constraint/coexisting-1.rq @@ -1,3 +1,3 @@ -CONSTRAINT GRAPH ALL,<A> +CONSTRAINT GRAPH ALL,<http://example/A> SELECT ?u { ?u a example:A } ORDER BY ?u diff --git a/tests/core/constraint/coexisting-2.out b/tests/core/constraint/coexisting-2.out index 22d3c21b7..f0da31cbd 100644 --- a/tests/core/constraint/coexisting-2.out +++ b/tests/core/constraint/coexisting-2.out @@ -1,2 +1,2 @@ -"a" -"d" +"http://example/a" +"http://example/d" diff --git a/tests/core/constraint/coexisting-2.rq b/tests/core/constraint/coexisting-2.rq index 439678b18..f10383c0f 100644 --- a/tests/core/constraint/coexisting-2.rq +++ b/tests/core/constraint/coexisting-2.rq @@ -1,3 +1,3 @@ -CONSTRAINT GRAPH DEFAULT,<A> +CONSTRAINT GRAPH DEFAULT,<http://example/A> SELECT ?u { ?u a example:A } ORDER BY ?u diff --git a/tests/core/constraint/coexisting-3.out b/tests/core/constraint/coexisting-3.out index 8be680548..cb964306a 100644 --- a/tests/core/constraint/coexisting-3.out +++ b/tests/core/constraint/coexisting-3.out @@ -1,4 +1,4 @@ -"a" -"b" -"c" -"d" +"http://example/a" +"http://example/b" +"http://example/c" +"http://example/d" diff --git a/tests/core/constraint/coexisting-4.out b/tests/core/constraint/coexisting-4.out index 071144f21..9c0598673 100644 --- a/tests/core/constraint/coexisting-4.out +++ b/tests/core/constraint/coexisting-4.out @@ -1,2 +1,2 @@ -"a" -"b" +"http://example/a" +"http://example/b" diff --git a/tests/core/constraint/coexisting-4.rq b/tests/core/constraint/coexisting-4.rq index 7dec44fba..65cf10200 100644 --- a/tests/core/constraint/coexisting-4.rq +++ b/tests/core/constraint/coexisting-4.rq @@ -1,3 +1,3 @@ -CONSTRAINT GRAPH <A>,<B> +CONSTRAINT GRAPH <http://example/A>,<http://example/B> SELECT ?u { ?u a example:A } ORDER BY ?u diff --git a/tests/core/constraint/data.rq b/tests/core/constraint/data.rq index ef6ac9e25..3fa41b302 100644 --- a/tests/core/constraint/data.rq +++ b/tests/core/constraint/data.rq @@ -1,3 +1,4 @@ +BASE <http://example/> INSERT { GRAPH <A> { <a> a example:A ; diff --git a/tests/core/constraint/nested-1.rq b/tests/core/constraint/nested-1.rq index db172998d..7cc4fe29a 100644 --- a/tests/core/constraint/nested-1.rq +++ b/tests/core/constraint/nested-1.rq @@ -1,3 +1,3 @@ CONSTRAINT GRAPH -CONSTRAINT GRAPH <A> +CONSTRAINT GRAPH <http://example/A> SELECT ?u { ?u a example:A } diff --git a/tests/core/constraint/nested-2.rq b/tests/core/constraint/nested-2.rq index dafb152b9..c18d2abc2 100644 --- a/tests/core/constraint/nested-2.rq +++ b/tests/core/constraint/nested-2.rq @@ -1,3 +1,3 @@ -CONSTRAINT GRAPH <A> -CONSTRAINT GRAPH <B> +CONSTRAINT GRAPH <http://example/A> +CONSTRAINT GRAPH <http://example/B> SELECT ?u { ?u a example:A } diff --git a/tests/core/constraint/nested-3.out b/tests/core/constraint/nested-3.out index 19010cc35..6735c0767 100644 --- a/tests/core/constraint/nested-3.out +++ b/tests/core/constraint/nested-3.out @@ -1 +1 @@ -"b" +"http://example/b" diff --git a/tests/core/constraint/nested-3.rq b/tests/core/constraint/nested-3.rq index a46945d5d..8c3147f54 100644 --- a/tests/core/constraint/nested-3.rq +++ b/tests/core/constraint/nested-3.rq @@ -1,3 +1,3 @@ -CONSTRAINT GRAPH <A>, <B> -CONSTRAINT GRAPH <B> +CONSTRAINT GRAPH <http://example/A>, <http://example/B> +CONSTRAINT GRAPH <http://example/B> SELECT ?u { ?u a example:A } diff --git a/tests/core/constraint/nested-6.out b/tests/core/constraint/nested-6.out index 5775b9f8c..469a2dd34 100644 --- a/tests/core/constraint/nested-6.out +++ b/tests/core/constraint/nested-6.out @@ -1 +1 @@ -"d" +"http://example/d" |