Browse Source

Add tests for Turtle named inline nodes extension.

git-svn-id: http://svn.drobilla.net/serd/trunk@483 490d8e77-9747-427b-9fa3-0b8f29cee8a0
zrythm_meson
David Robillard 8 years ago
parent
commit
5ecf01d05c
  1. 3
      tests/bad/bad-ext-namedblank-op.ttl
  2. 2
      tests/good/test-ext-namedblank-iri.nt
  3. 3
      tests/good/test-ext-namedblank-iri.ttl
  4. 2
      tests/good/test-ext-namedblank-prefix.nt
  5. 3
      tests/good/test-ext-namedblank-prefix.ttl

3
tests/bad/bad-ext-namedblank-op.ttl

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
@prefix eg: <http://example.org/eg#> .
eg:s eg:p [ =: _:o ; eg:name "o" ] .

2
tests/good/test-ext-namedblank-iri.nt

@ -0,0 +1,2 @@ @@ -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" .

3
tests/good/test-ext-namedblank-iri.ttl

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
@prefix eg: <http://example.org/eg#> .
eg:s eg:p [ == <http://example.org/object> ; eg:name "o" ] .

2
tests/good/test-ext-namedblank-prefix.nt

@ -0,0 +1,2 @@ @@ -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" .

3
tests/good/test-ext-namedblank-prefix.ttl

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
@prefix eg: <http://example.org/eg#> .
eg:s eg:p [ == eg:o ; eg:name "o" ] .
Loading…
Cancel
Save