diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/full/README.md | 5 | ||||
-rw-r--r-- | test/full/full-uris.ttl | 7 | ||||
-rw-r--r-- | test/full/manifest.ttl | 17 | ||||
-rw-r--r-- | test/meson.build | 4 |
4 files changed, 33 insertions, 0 deletions
diff --git a/test/full/README.md b/test/full/README.md new file mode 100644 index 00000000..5cadb1b1 --- /dev/null +++ b/test/full/README.md @@ -0,0 +1,5 @@ +Full Test Suite +================= + +This simple suite tests preservation of full URIs in the input (avoiding prefix +qualification). diff --git a/test/full/full-uris.ttl b/test/full/full-uris.ttl new file mode 100644 index 00000000..cfb048df --- /dev/null +++ b/test/full/full-uris.ttl @@ -0,0 +1,7 @@ +@prefix eg: <http://example.org/> . + +<http://example.org/s1> + eg:prefixed false . + +eg:s2 + eg:prefixed true . diff --git a/test/full/manifest.ttl b/test/full/manifest.ttl new file mode 100644 index 00000000..a7cfac4a --- /dev/null +++ b/test/full/manifest.ttl @@ -0,0 +1,17 @@ +@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix rdft: <http://www.w3.org/ns/rdftest#> . +@prefix serd: <http://drobilla.net/ns/serd#> . + +<> + a mf:Manifest ; + rdfs:comment "Serd full URI test suite" ; + mf:entries ( + <#full-uris> + ) . + +<#full-uris> + a rdft:TestTurtleEval ; + mf:action <full-uris.ttl> ; + mf:name "full-uris" ; + mf:result <full-uris.ttl> . diff --git a/test/meson.build b/test/meson.build index f5282672..8f8e9e20 100644 --- a/test/meson.build +++ b/test/meson.build @@ -195,6 +195,10 @@ ns_serdtest = 'http://drobilla.net/sw/serd/test/' ns_w3 = 'http://www.w3.org/2013/' test_suites = { + 'full': [ + files('full/manifest.ttl'), ns_serdtest + 'full/', + '--', '-f', + ], 'lax.lax': [ '--lax', files('lax/manifest.ttl'), ns_serdtest + 'lax/', |