diff options
author | David Robillard <d@drobilla.net> | 2018-11-25 16:12:23 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | 3b1252125ca66387f904ce107fb4c6130d5c582d (patch) | |
tree | 2407cdb6f3c372286895e767c58153f6f02bbe5b /tests | |
parent | e320bb53e58314fb2f04d514fc68202efcb52f3e (diff) | |
download | serd-3b1252125ca66387f904ce107fb4c6130d5c582d.tar.gz serd-3b1252125ca66387f904ce107fb4c6130d5c582d.tar.bz2 serd-3b1252125ca66387f904ce107fb4c6130d5c582d.zip |
Add separate test suite for lax syntax tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/good/manifest.ttl | 7 | ||||
-rw-r--r-- | tests/lax/manifest.ttl | 17 | ||||
-rw-r--r-- | tests/lax/test-bad-utf8.nt (renamed from tests/good/test-bad-utf8.nt) | 0 | ||||
-rw-r--r-- | tests/lax/test-bad-utf8.ttl (renamed from tests/good/test-bad-utf8.ttl) | 0 |
4 files changed, 17 insertions, 7 deletions
diff --git a/tests/good/manifest.ttl b/tests/good/manifest.ttl index dd83a7e5..9dccde7b 100644 --- a/tests/good/manifest.ttl +++ b/tests/good/manifest.ttl @@ -18,7 +18,6 @@ <#test-30> <#test-a-without-whitespace> <#test-backspace> - <#test-bad-utf8> <#test-base-query> <#test-blank-cont> <#test-blank-in-list> @@ -109,12 +108,6 @@ mf:action <test-backspace.ttl> ; mf:result <test-backspace.nt> . -<#test-bad-utf8> - rdf:type rdft:TestTurtleEval ; - mf:name "test-bad-utf8" ; - mf:action <test-bad-utf8.ttl> ; - mf:result <test-bad-utf8.nt> . - <#test-base-query> rdf:type rdft:TestTurtleEval ; mf:name "test-base-query" ; diff --git a/tests/lax/manifest.ttl b/tests/lax/manifest.ttl new file mode 100644 index 00000000..4de689ad --- /dev/null +++ b/tests/lax/manifest.ttl @@ -0,0 +1,17 @@ +@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix rdft: <http://www.w3.org/ns/rdftest#> . + +<> + rdf:type mf:Manifest ; + rdfs:comment "Serd lax syntax test cases" ; + mf:entries ( + <#test-bad-utf8> + ) . + +<#test-bad-utf8> + rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "test-bad-utf8" ; + mf:action <test-bad-utf8.ttl> ; + mf:result <test-bad-utf8.nt> . diff --git a/tests/good/test-bad-utf8.nt b/tests/lax/test-bad-utf8.nt index 6d73993d..6d73993d 100644 --- a/tests/good/test-bad-utf8.nt +++ b/tests/lax/test-bad-utf8.nt diff --git a/tests/good/test-bad-utf8.ttl b/tests/lax/test-bad-utf8.ttl index 2c105f5b..2c105f5b 100644 --- a/tests/good/test-bad-utf8.ttl +++ b/tests/lax/test-bad-utf8.ttl |