diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2022-11-21 12:19:35 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2022-11-21 13:56:40 +0100 |
commit | f994fc906a56181a34026d3e998faf7fab615353 (patch) | |
tree | 66f7d0bf1a4f50699f48d9b95d50624e1f706ad4 /tests | |
parent | 8e82b74241f9172a47122368d1c4533613ff216c (diff) | |
download | tracker-f994fc906a56181a34026d3e998faf7fab615353.tar.gz |
tests: Make CONSTRUCT 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/construct/construct-pattern.out | 24 | ||||
-rw-r--r-- | tests/core/construct/construct-where.out | 16 | ||||
-rw-r--r-- | tests/core/construct/construct-with-modifiers.out | 8 | ||||
-rw-r--r-- | tests/core/construct/data.ttl | 20 |
4 files changed, 34 insertions, 34 deletions
diff --git a/tests/core/construct/construct-pattern.out b/tests/core/construct/construct-pattern.out index bda80d4c6..a5ac5f21a 100644 --- a/tests/core/construct/construct-pattern.out +++ b/tests/core/construct/construct-pattern.out @@ -1,12 +1,12 @@ -"a" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" -"b" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" -"c" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" -"d" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" -"a" "http://xmlns.com/foaf/0.1/name" "nameA" -"b" "http://xmlns.com/foaf/0.1/name" "nameB" -"c" "http://xmlns.com/foaf/0.1/name" "nameC" -"d" "http://xmlns.com/foaf/0.1/name" "nameD" -"a" "http://xmlns.com/foaf/0.1/mbox" "mailto:bob@work" -"b" "http://xmlns.com/foaf/0.1/mbox" "mailto:bob@work" -"c" "http://xmlns.com/foaf/0.1/mbox" "mailto:bob@work" -"d" "http://xmlns.com/foaf/0.1/mbox" "mailto:bob@work" +"http://example/a" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" +"http://example/b" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" +"http://example/c" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" +"http://example/d" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" +"http://example/a" "http://xmlns.com/foaf/0.1/name" "nameA" +"http://example/b" "http://xmlns.com/foaf/0.1/name" "nameB" +"http://example/c" "http://xmlns.com/foaf/0.1/name" "nameC" +"http://example/d" "http://xmlns.com/foaf/0.1/name" "nameD" +"http://example/a" "http://xmlns.com/foaf/0.1/mbox" "mailto:bob@work" +"http://example/b" "http://xmlns.com/foaf/0.1/mbox" "mailto:bob@work" +"http://example/c" "http://xmlns.com/foaf/0.1/mbox" "mailto:bob@work" +"http://example/d" "http://xmlns.com/foaf/0.1/mbox" "mailto:bob@work" diff --git a/tests/core/construct/construct-where.out b/tests/core/construct/construct-where.out index 6fb4dde44..cd10976f1 100644 --- a/tests/core/construct/construct-where.out +++ b/tests/core/construct/construct-where.out @@ -1,8 +1,8 @@ -"a" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://example/A" -"b" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://example/A" -"c" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://example/A" -"d" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://example/A" -"a" "http://example/name" "nameA" -"b" "http://example/name" "nameB" -"c" "http://example/name" "nameC" -"d" "http://example/name" "nameD" +"http://example/a" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://example/A" +"http://example/b" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://example/A" +"http://example/c" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://example/A" +"http://example/d" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://example/A" +"http://example/a" "http://example/name" "nameA" +"http://example/b" "http://example/name" "nameB" +"http://example/c" "http://example/name" "nameC" +"http://example/d" "http://example/name" "nameD" diff --git a/tests/core/construct/construct-with-modifiers.out b/tests/core/construct/construct-with-modifiers.out index 737959de6..bc4611370 100644 --- a/tests/core/construct/construct-with-modifiers.out +++ b/tests/core/construct/construct-with-modifiers.out @@ -1,4 +1,4 @@ -"c" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" -"b" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" -"c" "http://xmlns.com/foaf/0.1/name" "nameC" -"b" "http://xmlns.com/foaf/0.1/name" "nameB" +"http://example/c" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" +"http://example/b" "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" "http://xmlns.com/foaf/0.1/Person" +"http://example/c" "http://xmlns.com/foaf/0.1/name" "nameC" +"http://example/b" "http://xmlns.com/foaf/0.1/name" "nameB" diff --git a/tests/core/construct/data.ttl b/tests/core/construct/data.ttl index 7449849fd..acbb1e253 100644 --- a/tests/core/construct/data.ttl +++ b/tests/core/construct/data.ttl @@ -1,31 +1,31 @@ @prefix example: <http://example/> . -<a> a example:A ; +example:a a example:A ; example:name 'nameA' ; example:date '2000-01-01T00:00:01Z' ; example:number 42 . -<b> a example:A ; +example:b a example:A ; example:name 'nameB' ; example:date '2001-01-01T00:00:01Z' ; example:number 73 ; - example:relation <z> . + example:relation example:z . -<c> a example:A ; +example:c a example:A ; example:name 'nameC' ; example:number 113 ; - example:relation <x> . + example:relation example:x . -<d> a example:A ; +example:d a example:A ; example:name 'nameD' ; example:date '2002-01-01T00:00:01Z' ; - example:relation <z> . + example:relation example:z . -<x> a example:B ; +example:x a example:B ; example:title 'titleX' . -<y> a example:B ; +example:y a example:B ; example:title 'titleY' . -<z> a example:B ; +example:z a example:B ; example:title 'titleZ' . |