From accb206729f92b86b932f98df840d1480605ce11 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 3 Apr 2023 09:00:19 -0400 Subject: Clean up remaining stale test suite data --- test/extra/bad/manifest.ttl | 598 ++++++++++++++++++++++---------------------- 1 file changed, 299 insertions(+), 299 deletions(-) (limited to 'test/extra/bad/manifest.ttl') diff --git a/test/extra/bad/manifest.ttl b/test/extra/bad/manifest.ttl index 05bcc69d..691969d9 100644 --- a/test/extra/bad/manifest.ttl +++ b/test/extra/bad/manifest.ttl @@ -1,38 +1,28 @@ @prefix mf: . -@prefix rdf: . @prefix rdfs: . @prefix rdft: . <> - rdf:type mf:Manifest ; - rdfs:comment "Serd bad syntax test cases" ; + a mf:Manifest ; + rdfs:comment "Serd bad (negative) test suite" ; mf:entries ( - <#bad-00> - <#bad-01> - <#bad-02> - <#bad-03> - <#bad-04> - <#bad-05> - <#bad-06> - <#bad-07> - <#bad-08> - <#bad-09> - <#bad-10> - <#bad-11> - <#bad-12> - <#bad-13> - <#bad-14> + <#bad-a-subject> <#bad-base> <#bad-blank> + <#bad-blank-predicate> <#bad-blank-syntax> <#bad-bom> <#bad-char-in-local> <#bad-char-in-prefix> <#bad-char-in-uri> - <#bad-datatype-syntax> + <#bad-comma-in-collection> <#bad-datatype> + <#bad-datatype-syntax> + <#bad-disallowed-char-in-local> + <#bad-disallowed-char-in-prefix> <#bad-dot-after-subject> <#bad-dot-in-collection> + <#bad-empty-blank-predicate> <#bad-eof-after-quotes> <#bad-eof-at-string-start> <#bad-eof-in-blank> @@ -40,410 +30,420 @@ <#bad-eof-in-lang-suffix> <#bad-eof-in-lang> <#bad-eof-in-list> - <#bad-eof-in-object-list2> + <#bad-eof-in-long-string> <#bad-eof-in-object-list> + <#bad-eof-in-object-list2> <#bad-eof-in-predicate-list> - <#bad-eof-in-long-string> <#bad-eof-in-string> + <#bad-eof-in-text-character> <#bad-eof-in-triple-quote> <#bad-eof-in-uri> + <#bad-eof-in-uri-character> <#bad-eof-in-uri-scheme> + <#bad-equivalence> <#bad-escape> <#bad-ext-namedblank-op> + <#bad-forAll> + <#bad-forSome> <#bad-graph-blank-label> + <#bad-graph-subject> <#bad-hex-digit> <#bad-id-clash> + <#bad-implied> + <#bad-implies> + <#bad-is-of-keywords> + <#bad-keywords> <#bad-lang> - <#bad-list2> <#bad-list> + <#bad-list2> <#bad-long-literal-in-list> + <#bad-long-literal-missing-end> <#bad-missing-semi> + <#bad-missing-uri-scheme> <#bad-misspelled-base> <#bad-misspelled-prefix> <#bad-namespace> <#bad-ns> <#bad-null-byte> <#bad-num> - <#bad-object2> <#bad-object> + <#bad-object2> + <#bad-paths> <#bad-pn-escape> + <#bad-prefix-missing-colon> <#bad-prefix> <#bad-quote-in-uri> <#bad-semicolon-after-subject> <#bad-string> <#bad-subject> <#bad-uri-escape> + <#bad-uri-scheme> + <#bad-uri-scheme-start> + <#bad-uri-truncated> <#bad-verb> - <#invalid-char-in-local> - <#invalid-char-in-prefix> - <#bad-missing-uri-scheme.nt> - <#bad-uri-scheme.nt> - <#bad-uri-scheme-start.nt> - <#bad-uri-truncated.nt> ) . -<#bad-00> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-00" ; - mf:action . - -<#bad-01> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-01" ; - mf:action . - -<#bad-02> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-02" ; - mf:action . - -<#bad-03> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-03" ; - mf:action . - -<#bad-04> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-04" ; - mf:action . - -<#bad-05> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-05" ; - mf:action . - -<#bad-06> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-06" ; - mf:action . - -<#bad-07> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-07" ; - mf:action . - -<#bad-08> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-08" ; - mf:action . - -<#bad-09> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-09" ; - mf:action . - -<#bad-10> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-10" ; - mf:action . - -<#bad-11> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-11" ; - mf:action . - -<#bad-12> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-12" ; - mf:action . - -<#bad-13> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-13" ; - mf:action . - -<#bad-14> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-14" ; - mf:action . +<#bad-a-subject> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-a-subject" . <#bad-base> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-base" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-base" . <#bad-blank> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-blank" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-blank" . + +<#bad-blank-predicate> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-blank-predicate" . <#bad-blank-syntax> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-blank-syntax" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-blank-syntax" . <#bad-bom> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-bom" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-bom" . <#bad-char-in-local> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-char-in-local" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-char-in-local" . <#bad-char-in-prefix> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-char-in-prefix" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-char-in-prefix" . <#bad-char-in-uri> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-char-in-uri" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-char-in-uri" . -<#bad-datatype-syntax> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-datatype-syntax" ; - mf:action . +<#bad-comma-in-collection> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-comma-in-collection" . <#bad-datatype> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-datatype" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-datatype" . + +<#bad-datatype-syntax> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-datatype-syntax" . + +<#bad-disallowed-char-in-local> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-disallowed-char-in-local" . + +<#bad-disallowed-char-in-prefix> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-disallowed-char-in-prefix" . <#bad-dot-after-subject> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-dot-after-subject" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-dot-after-subject" . <#bad-dot-in-collection> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-dot-in-collection" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-dot-in-collection" . + +<#bad-empty-blank-predicate> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-empty-blank-predicate" . <#bad-eof-after-quotes> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-after-quotes" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-after-quotes" . <#bad-eof-at-string-start> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-at-string-start" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-at-string-start" . <#bad-eof-in-blank> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-blank" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-blank" . <#bad-eof-in-escape> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-escape" ; - mf:action . - -<#bad-eof-in-lang-suffix> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-lang-suffix" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-escape" . <#bad-eof-in-lang> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-lang" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-lang" . + +<#bad-eof-in-lang-suffix> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-lang-suffix" . <#bad-eof-in-list> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-list" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-list" . -<#bad-eof-in-object-list2> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-object-list2" ; - mf:action . +<#bad-eof-in-long-string> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-long-string" . <#bad-eof-in-object-list> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-object-list" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-object-list" . -<#bad-eof-in-predicate-list> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-predicate-list" ; - mf:action . +<#bad-eof-in-object-list2> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-object-list2" . -<#bad-eof-in-long-string> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-long-string" ; - mf:action . +<#bad-eof-in-predicate-list> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-predicate-list" . <#bad-eof-in-string> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-string" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-string" . <#bad-eof-in-triple-quote> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-triple-quote" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-triple-quote" . <#bad-eof-in-uri> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-eof-in-uri" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-uri" . <#bad-eof-in-uri-scheme> - rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "bad-eof-in-uri-scheme" ; - mf:action . + a rdft:TestNTriplesNegativeSyntax ; + mf:action ; + mf:name "bad-eof-in-uri-scheme" . + +<#bad-equivalence> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-equivalence" . <#bad-escape> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-escape" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-escape" . <#bad-ext-namedblank-op> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-ext-namedblank-op" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-ext-namedblank-op" . + +<#bad-forAll> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-forAll" . + +<#bad-forSome> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-forSome" . <#bad-graph-blank-label> - rdf:type rdft:TestTrigNegativeSyntax ; - mf:name "bad-graph-blank-label" ; - mf:action . + a rdft:TestTrigNegativeSyntax ; + mf:action ; + mf:name "bad-graph-blank-label" . + +<#bad-graph-subject> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-graph-subject" . <#bad-hex-digit> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-hex-digit" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-hex-digit" . <#bad-id-clash> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-id-clash" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-id-clash" . + +<#bad-implied> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-implied" . + +<#bad-implies> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-implies" . + +<#bad-is-of-keywords> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-is-of-keywords" . + +<#bad-keywords> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-keywords" . <#bad-lang> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-lang" ; - mf:action . - -<#bad-list2> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-list2" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-lang" . <#bad-list> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-list" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-list" . + +<#bad-list2> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-list2" . <#bad-long-literal-in-list> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-long-literal-in-list" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-long-literal-in-list" . + +<#bad-long-literal-missing-end> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-long-literal-missing-end" . <#bad-missing-semi> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-missing-semi" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-missing-semi" . + +<#bad-missing-uri-scheme> + a rdft:TestNTriplesNegativeSyntax ; + mf:action ; + mf:name "bad-missing-uri-scheme" . <#bad-misspelled-base> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-misspelled-base" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-misspelled-base" . <#bad-misspelled-prefix> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-misspelled-prefix" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-misspelled-prefix" . <#bad-namespace> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-namespace" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-namespace" . <#bad-ns> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-ns" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-ns" . <#bad-null-byte> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-null-byte" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-null-byte" . <#bad-num> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-num" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-num" . + +<#bad-object> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-object" . <#bad-object2> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-object2" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-object2" . -<#bad-object> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-object" ; - mf:action . +<#bad-paths> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-paths" . <#bad-pn-escape> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-pn-escape" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-pn-escape" . <#bad-prefix> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-prefix" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-prefix" . + +<#bad-prefix-missing-colon> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-prefix-missing-colon" . <#bad-quote-in-uri> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-quote-in-uri" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-quote-in-uri" . <#bad-semicolon-after-subject> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-semicolon-after-subject" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-semicolon-after-subject" . <#bad-string> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-string" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-string" . <#bad-subject> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-subject" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-subject" . <#bad-uri-escape> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-uri-escape" ; - mf:action . + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-uri-escape" . -<#bad-verb> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "bad-verb" ; - mf:action . - -<#invalid-char-in-local> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "invalid-char-in-local" ; - mf:action . - -<#invalid-char-in-prefix> - rdf:type rdft:TestTurtleNegativeSyntax ; - mf:name "invalid-char-in-prefix" ; - mf:action . - -<#bad-missing-uri-scheme.nt> - rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "bad-missing-uri-scheme" ; - mf:action . - -<#bad-uri-scheme.nt> - rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "bad-uri-scheme" ; - mf:action . - -<#bad-uri-scheme-start.nt> - rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "bad-uri-scheme-start" ; - mf:action . - -<#bad-uri-truncated.nt> - rdf:type rdft:TestNTriplesNegativeSyntax ; - mf:name "bad-uri-truncated" ; - mf:action . +<#bad-uri-scheme> + a rdft:TestNTriplesNegativeSyntax ; + mf:action ; + mf:name "bad-uri-scheme" . + +<#bad-uri-scheme-start> + a rdft:TestNTriplesNegativeSyntax ; + mf:action ; + mf:name "bad-uri-scheme-start" . +<#bad-uri-truncated> + a rdft:TestNTriplesNegativeSyntax ; + mf:action ; + mf:name "bad-uri-truncated" . + +<#bad-verb> + a rdft:TestTurtleNegativeSyntax ; + mf:action ; + mf:name "bad-verb" . -- cgit v1.2.1