aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bad/bad-missing-uri-scheme.nt1
-rw-r--r--tests/bad/bad-uri-scheme-start.nt1
-rw-r--r--tests/bad/bad-uri-scheme.nt1
-rw-r--r--tests/bad/bad-uri-truncated.nt1
-rw-r--r--tests/good/test-uri.nt3
-rw-r--r--tests/good/test-uri.ttl3
6 files changed, 10 insertions, 0 deletions
diff --git a/tests/bad/bad-missing-uri-scheme.nt b/tests/bad/bad-missing-uri-scheme.nt
new file mode 100644
index 00000000..5d7bc724
--- /dev/null
+++ b/tests/bad/bad-missing-uri-scheme.nt
@@ -0,0 +1 @@
+<foo> <bar> <baz> .
diff --git a/tests/bad/bad-uri-scheme-start.nt b/tests/bad/bad-uri-scheme-start.nt
new file mode 100644
index 00000000..cd3fd70f
--- /dev/null
+++ b/tests/bad/bad-uri-scheme-start.nt
@@ -0,0 +1 @@
+<2http://example.org/s> <http://example.org/p> <http://example.org/o> .
diff --git a/tests/bad/bad-uri-scheme.nt b/tests/bad/bad-uri-scheme.nt
new file mode 100644
index 00000000..1329edcd
--- /dev/null
+++ b/tests/bad/bad-uri-scheme.nt
@@ -0,0 +1 @@
+<b@d://example.org/s> <http://example.org/p> <http://example.org/o> .
diff --git a/tests/bad/bad-uri-truncated.nt b/tests/bad/bad-uri-truncated.nt
new file mode 100644
index 00000000..22d29e4b
--- /dev/null
+++ b/tests/bad/bad-uri-truncated.nt
@@ -0,0 +1 @@
+<foo \ No newline at end of file
diff --git a/tests/good/test-uri.nt b/tests/good/test-uri.nt
index 6c56f594..1744963c 100644
--- a/tests/good/test-uri.nt
+++ b/tests/good/test-uri.nt
@@ -41,5 +41,8 @@
<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> .
<http://a/> <http://www.w3.org/2002/07/owl#sameAs> <http://a/> .
+<view-source://foo> <http://www.w3.org/2002/07/owl#sameAs> <view-source://foo> .
+<coap+tcp://foo> <http://www.w3.org/2002/07/owl#sameAs> <coap+tcp://foo> .
+<osc.udp://foo> <http://www.w3.org/2002/07/owl#sameAs> <osc.udp://foo> .
<http://B/foo> <http://www.w3.org/2002/07/owl#sameAs> <http://B/foo> .
<http://C/bar> <http://www.w3.org/2002/07/owl#sameAs> <http://C/bar> .
diff --git a/tests/good/test-uri.ttl b/tests/good/test-uri.ttl
index cf43a38b..b6a8d967 100644
--- a/tests/good/test-uri.ttl
+++ b/tests/good/test-uri.ttl
@@ -58,6 +58,9 @@
<?aquery> owl:sameAs <http://a/b/c/d;p?aquery> .
<#afragment> owl:sameAs <http://a/b/c/d;p?q#afragment> .
<../../../../../../> owl:sameAs <http://a/> .
+<view-source://foo> owl:sameAs <view-source://foo> .
+<coap+tcp://foo> owl:sameAs <coap+tcp://foo> .
+<osc.udp://foo> owl:sameAs <osc.udp://foo> .
@base <http://B?bquery> .