diff options
author | David Robillard <d@drobilla.net> | 2011-01-25 00:32:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-25 00:32:54 +0000 |
commit | 18563159fbee5c305719e782ff05482430f43ce6 (patch) | |
tree | 63d9e2eb87162e23519956602a60cb8e8417e087 | |
parent | 702208e54132477eeff922ebf641ba56540b9456 (diff) | |
download | serd-18563159fbee5c305719e782ff05482430f43ce6.tar.gz serd-18563159fbee5c305719e782ff05482430f43ce6.tar.bz2 serd-18563159fbee5c305719e782ff05482430f43ce6.zip |
Add URI test cases.
git-svn-id: http://svn.drobilla.net/serd/trunk@57 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r-- | tests/test-uri.out | 4 | ||||
-rw-r--r-- | tests/test-uri.ttl | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/test-uri.out b/tests/test-uri.out index 546d121e..6d717fdd 100644 --- a/tests/test-uri.out +++ b/tests/test-uri.out @@ -21,3 +21,7 @@ <http://a/> <http://www.w3.org/2002/07/owl#sameAs> <http://a/> . <http://a/> <http://www.w3.org/2002/07/owl#sameAs> <http://a/> . <http://a/g> <http://www.w3.org/2002/07/owl#sameAs> <http://a/g> . +<http://A?aquery> <http://www.w3.org/2002/07/owl#sameAs> <http://A?aquery> . +<http://A#afragment> <http://www.w3.org/2002/07/owl#sameAs> <http://A#afragment> . +<http://a/b/c/d;p?aquery> <http://www.w3.org/2002/07/owl#sameAs> <http://a/b/c/d;p?aquery> . +<http://a/b/c/d;p?q#afragment> <http://www.w3.org/2002/07/owl#sameAs> <http://a/b/c/d;p?q#afragment> . diff --git a/tests/test-uri.ttl b/tests/test-uri.ttl index 2a85aadd..d2b4711d 100644 --- a/tests/test-uri.ttl +++ b/tests/test-uri.ttl @@ -28,3 +28,10 @@ <../..> owl:sameAs <http://a/> . <../../> owl:sameAs <http://a/> . <../../g> owl:sameAs <http://a/g> . + +# Additional tests for Serd +<http://A?aquery> owl:sameAs <http://A?aquery> . +<http://A#afragment> owl:sameAs <http://A#afragment> . +<?aquery> owl:sameAs <http://a/b/c/d;p?aquery> . +<#afragment> owl:sameAs <http://a/b/c/d;p?q#afragment> . + |