diff options
author | David Robillard <d@drobilla.net> | 2014-12-17 05:50:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-17 05:50:53 +0000 |
commit | 5ecf01d05c20b068a85c61c4cd2b77be86a6dfae (patch) | |
tree | 5c25ac4c0a5e30e2a686e720d2777eb227ee03f0 /tests | |
parent | 96894224c76b371a7198dc18b9f6be78e7eb1b97 (diff) | |
download | serd-5ecf01d05c20b068a85c61c4cd2b77be86a6dfae.tar.gz serd-5ecf01d05c20b068a85c61c4cd2b77be86a6dfae.tar.bz2 serd-5ecf01d05c20b068a85c61c4cd2b77be86a6dfae.zip |
Add tests for Turtle named inline nodes extension.
git-svn-id: http://svn.drobilla.net/serd/trunk@483 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bad/bad-ext-namedblank-op.ttl | 3 | ||||
-rw-r--r-- | tests/good/test-ext-namedblank-iri.nt | 2 | ||||
-rw-r--r-- | tests/good/test-ext-namedblank-iri.ttl | 3 | ||||
-rw-r--r-- | tests/good/test-ext-namedblank-prefix.nt | 2 | ||||
-rw-r--r-- | tests/good/test-ext-namedblank-prefix.ttl | 3 |
5 files changed, 13 insertions, 0 deletions
diff --git a/tests/bad/bad-ext-namedblank-op.ttl b/tests/bad/bad-ext-namedblank-op.ttl new file mode 100644 index 00000000..5e648393 --- /dev/null +++ b/tests/bad/bad-ext-namedblank-op.ttl @@ -0,0 +1,3 @@ +@prefix eg: <http://example.org/eg#> . + +eg:s eg:p [ =: _:o ; eg:name "o" ] . diff --git a/tests/good/test-ext-namedblank-iri.nt b/tests/good/test-ext-namedblank-iri.nt new file mode 100644 index 00000000..26075a73 --- /dev/null +++ b/tests/good/test-ext-namedblank-iri.nt @@ -0,0 +1,2 @@ +<http://example.org/eg#s> <http://example.org/eg#p> <http://example.org/object> . +<http://example.org/object> <http://example.org/eg#name> "o" . diff --git a/tests/good/test-ext-namedblank-iri.ttl b/tests/good/test-ext-namedblank-iri.ttl new file mode 100644 index 00000000..28fb32ab --- /dev/null +++ b/tests/good/test-ext-namedblank-iri.ttl @@ -0,0 +1,3 @@ +@prefix eg: <http://example.org/eg#> . + +eg:s eg:p [ == <http://example.org/object> ; eg:name "o" ] . diff --git a/tests/good/test-ext-namedblank-prefix.nt b/tests/good/test-ext-namedblank-prefix.nt new file mode 100644 index 00000000..9a2710fb --- /dev/null +++ b/tests/good/test-ext-namedblank-prefix.nt @@ -0,0 +1,2 @@ +<http://example.org/eg#s> <http://example.org/eg#p> <http://example.org/eg#o> . +<http://example.org/eg#o> <http://example.org/eg#name> "o" . diff --git a/tests/good/test-ext-namedblank-prefix.ttl b/tests/good/test-ext-namedblank-prefix.ttl new file mode 100644 index 00000000..7de79655 --- /dev/null +++ b/tests/good/test-ext-namedblank-prefix.ttl @@ -0,0 +1,3 @@ +@prefix eg: <http://example.org/eg#> . + +eg:s eg:p [ == eg:o ; eg:name "o" ] . |