From 5ecf01d05c20b068a85c61c4cd2b77be86a6dfae Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Dec 2014 05:50:53 +0000 Subject: Add tests for Turtle named inline nodes extension. git-svn-id: http://svn.drobilla.net/serd/trunk@483 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- tests/bad/bad-ext-namedblank-op.ttl | 3 +++ tests/good/test-ext-namedblank-iri.nt | 2 ++ tests/good/test-ext-namedblank-iri.ttl | 3 +++ tests/good/test-ext-namedblank-prefix.nt | 2 ++ tests/good/test-ext-namedblank-prefix.ttl | 3 +++ 5 files changed, 13 insertions(+) create mode 100644 tests/bad/bad-ext-namedblank-op.ttl create mode 100644 tests/good/test-ext-namedblank-iri.nt create mode 100644 tests/good/test-ext-namedblank-iri.ttl create mode 100644 tests/good/test-ext-namedblank-prefix.nt create mode 100644 tests/good/test-ext-namedblank-prefix.ttl (limited to 'tests') 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: . + +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 @@ + . + "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: . + +eg:s eg:p [ == ; 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 @@ + . + "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: . + +eg:s eg:p [ == eg:o ; eg:name "o" ] . -- cgit v1.2.1