diff options
author | David Robillard <d@drobilla.net> | 2023-03-31 10:50:12 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | d22653dfe356e3da1354cdb0f7915e29c4a33e3b (patch) | |
tree | 496e678ba61a436e2bf0b11b079bf6115ba630fa /test/extra/bad | |
parent | 469034ec4ae5c0b5230ca30c40aaa9b1432c13a2 (diff) | |
download | serd-d22653dfe356e3da1354cdb0f7915e29c4a33e3b.tar.gz serd-d22653dfe356e3da1354cdb0f7915e29c4a33e3b.tar.bz2 serd-d22653dfe356e3da1354cdb0f7915e29c4a33e3b.zip |
Factor out NTriples reader
Diffstat (limited to 'test/extra/bad')
-rw-r--r-- | test/extra/bad/bad-blank-node-label.nt | 1 | ||||
-rw-r--r-- | test/extra/bad/bad-trailing-garbage.nt | 1 | ||||
-rw-r--r-- | test/extra/bad/manifest.ttl | 13 |
3 files changed, 15 insertions, 0 deletions
diff --git a/test/extra/bad/bad-blank-node-label.nt b/test/extra/bad/bad-blank-node-label.nt new file mode 100644 index 00000000..d178a623 --- /dev/null +++ b/test/extra/bad/bad-blank-node-label.nt @@ -0,0 +1 @@ +<http://example.org/s> <http://example.org/p> _nocolon . diff --git a/test/extra/bad/bad-trailing-garbage.nt b/test/extra/bad/bad-trailing-garbage.nt new file mode 100644 index 00000000..79790812 --- /dev/null +++ b/test/extra/bad/bad-trailing-garbage.nt @@ -0,0 +1 @@ +<http://example.org/s> <http://example.org/p> <http://example.org/o> . <http://example.org/error> diff --git a/test/extra/bad/manifest.ttl b/test/extra/bad/manifest.ttl index 9dda56b2..7ab5a427 100644 --- a/test/extra/bad/manifest.ttl +++ b/test/extra/bad/manifest.ttl @@ -10,8 +10,10 @@ <#bad-a-subject> <#bad-base> <#bad-blank> + <#bad-blank-node-label> <#bad-blank-predicate> <#bad-blank-syntax> + <#bad-blank-syntax> <#bad-bom> <#bad-char-in-local> <#bad-char-in-prefix> @@ -78,6 +80,7 @@ <#bad-semicolon-after-subject> <#bad-string> <#bad-subject> + <#bad-trailing-garbage> <#bad-true-predicate> <#bad-true-subject> <#bad-uri-escape> @@ -107,6 +110,11 @@ mf:action <bad-blank.ttl> ; mf:name "bad-blank" . +<#bad-blank-node-label> + a rdft:TestNTriplesNegativeSyntax ; + mf:action <bad-blank-node-label.nt> ; + mf:name "bad-blank-node-label" . + <#bad-blank-predicate> a rdft:TestTurtleNegativeSyntax ; mf:action <bad-blank-predicate.ttl> ; @@ -447,6 +455,11 @@ mf:action <bad-subject.ttl> ; mf:name "bad-subject" . +<#bad-trailing-garbage> + a rdft:TestNTriplesNegativeSyntax ; + mf:action <bad-trailing-garbage.nt> ; + mf:name "bad-trailing-garbage" . + <#bad-true-predicate> a rdft:TestTurtleNegativeSyntax ; mf:action <bad-true-predicate.ttl> ; |