aboutsummaryrefslogtreecommitdiffstats
path: root/tests/good/manifest.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-09-24 18:48:18 +0200
committerDavid Robillard <d@drobilla.net>2017-09-24 19:20:25 +0200
commita5824db519e84e8e45498e78502615d99b63d144 (patch)
tree4c59d39a78f9fb45dc2b7ff2b8a06c63f98983b6 /tests/good/manifest.ttl
parent82b207f424549d319a85d2b332da9776588495c9 (diff)
downloadserd-a5824db519e84e8e45498e78502615d99b63d144.tar.gz
serd-a5824db519e84e8e45498e78502615d99b63d144.tar.bz2
serd-a5824db519e84e8e45498e78502615d99b63d144.zip
Make internal tests standard manifest-driven test suites
Diffstat (limited to 'tests/good/manifest.ttl')
-rw-r--r--tests/good/manifest.ttl363
1 files changed, 304 insertions, 59 deletions
diff --git a/tests/good/manifest.ttl b/tests/good/manifest.ttl
index bf0d4af4..026da87d 100644
--- a/tests/good/manifest.ttl
+++ b/tests/good/manifest.ttl
@@ -1,59 +1,304 @@
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
-@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
-
-<> rdf:type mf:Manifest ;
- rdfs:comment "Turtle good syntax test cases (must pass)" ;
- mf:entries
- (
- [ mf:name "test-14" ;
- rdfs:comment "10000 triples, more than the default Bison stack size" ;
- mf:action [ qt:data <test-14.ttl> ] ;
- mf:result <test-14.out>
- ]
-
- [ mf:name "test-15" ;
- rdfs:comment "10000 triple objects (10000 triples)" ;
- mf:action [ qt:data <test-15.ttl> ] ;
- mf:result <test-15.out>
- ]
-
- [ mf:name "test-16" ;
- rdfs:comment "10000 items (10000 triples)" ;
- mf:action [ qt:data <test-16.ttl> ] ;
- mf:result <test-16.out>
- ]
-
- [ mf:name "test-18" ;
- rdfs:comment "long literals with escapes" ;
- mf:action [ qt:data <test-18.ttl> ] ;
- mf:result <test-18.out>
- ]
-
- [ mf:name "test-30" ;
- rdfs:comment "@base" ;
- mf:action [ qt:data <test-30.ttl> ] ;
- mf:result <test-30.out>
- ]
-
- [ mf:name "rdf-schema" ;
- rdfs:comment "RDF Namespace document converted into Turtle" ;
- mf:action [ qt:data <rdf-schema.ttl> ] ;
- mf:result <rdf-schema.out>
- ]
-
- [ mf:name "rdfs-namespace" ;
- rdfs:comment "RDFS Namespace document converted into Turtle" ;
- mf:action [ qt:data <rdfs-namespace.ttl> ] ;
- mf:result <rdfs-namespace.out>
- ]
-
- [ mf:name "rdfq-results" ;
- rdfs:comment "Example query result from http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html" ;
- mf:action [ qt:data <rdfq-results.ttl> ] ;
- mf:result <rdfq-results.out>
- ]
-
- # End of tests
- ).
+@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 good syntax test cases" ;
+ mf:entries (
+ <#test-14>
+ <#base>
+ <#manifest>
+ <#rdf-schema>
+ <#rdfs-namespace>
+ <#test-14>
+ <#test-15>
+ <#test-16>
+ <#test-18>
+ <#test-30>
+ <#test-backspace>
+ <#test-bad-utf8>
+ <#test-base-query>
+ <#test-blank-cont>
+ <#test-blankdot>
+ <#test-blank-in-list>
+ <#test-bom>
+ <#test-cr>
+ <#test-delete>
+ <#test-digit-start-pname>
+ <#test-empty>
+ <#test-eof-at-page-end>
+ <#test-escapes>
+ <#test-ext-namedblank-iri>
+ <#test-ext-namedblank-prefix>
+ <#test-id>
+ <#test-lang>
+ <#test-list-in-blank>
+ <#test-list-subject>
+ <#test-list>
+ <#test-long-string>
+ <#test-no-spaces>
+ <#test-num>
+ <#test-out-of-range-unicode>
+ <#test-prefix>
+ <#test-pretty>
+ <#test-rel>
+ <#test-semi-dot>
+ <#test-uri-escape>
+ <#test-uri>
+ <#test-utf8-uri>
+ <#UTF-8>
+ ) .
+
+<#test-14>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-14" ;
+ mf:action <test-14.ttl> .
+
+<#base>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "base" ;
+ mf:action <base.ttl> ;
+ mf:result <base.nt> .
+
+<#manifest>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "manifest" ;
+ mf:action <manifest.ttl> ;
+ mf:result <manifest.nt> .
+
+<#rdf-schema>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "rdf-schema" ;
+ mf:action <rdf-schema.ttl> ;
+ mf:result <rdf-schema.nt> .
+
+<#rdfs-namespace>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "rdfs-namespace" ;
+ mf:action <rdfs-namespace.ttl> ;
+ mf:result <rdfs-namespace.nt> .
+
+<#test-14>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-14" ;
+ mf:action <test-14.ttl> ;
+ mf:result <test-14.nt> .
+
+<#test-15>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-15" ;
+ mf:action <test-15.ttl> ;
+ mf:result <test-15.nt> .
+
+<#test-16>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-16" ;
+ mf:action <test-16.ttl> ;
+ mf:result <test-16.nt> .
+
+<#test-18>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-18" ;
+ mf:action <test-18.ttl> ;
+ mf:result <test-18.nt> .
+
+<#test-30>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-30" ;
+ mf:action <test-30.ttl> ;
+ mf:result <test-30.nt> .
+
+<#test-backspace>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-backspace" ;
+ 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" ;
+ mf:action <test-base-query.ttl> ;
+ mf:result <test-base-query.nt> .
+
+<#test-blank-cont>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-blank-cont" ;
+ mf:action <test-blank-cont.ttl> ;
+ mf:result <test-blank-cont.nt> .
+
+<#test-blankdot>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-blankdot" ;
+ mf:action <test-blankdot.ttl> ;
+ mf:result <test-blankdot.nt> .
+
+<#test-blank-in-list>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-blank-in-list" ;
+ mf:action <test-blank-in-list.ttl> ;
+ mf:result <test-blank-in-list.nt> .
+
+<#test-bom>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-bom" ;
+ mf:action <test-bom.ttl> ;
+ mf:result <test-bom.nt> .
+
+<#test-cr>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-cr" ;
+ mf:action <test-cr.ttl> ;
+ mf:result <test-cr.nt> .
+
+<#test-delete>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-delete" ;
+ mf:action <test-delete.ttl> ;
+ mf:result <test-delete.nt> .
+
+<#test-digit-start-pname>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-digit-start-pname" ;
+ mf:action <test-digit-start-pname.ttl> ;
+ mf:result <test-digit-start-pname.nt> .
+
+<#test-empty>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-empty" ;
+ mf:action <test-empty.ttl> ;
+ mf:result <test-empty.nt> .
+
+<#test-eof-at-page-end>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-eof-at-page-end" ;
+ mf:action <test-eof-at-page-end.ttl> ;
+ mf:result <test-eof-at-page-end.nt> .
+
+<#test-escapes>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-escapes" ;
+ mf:action <test-escapes.ttl> ;
+ mf:result <test-escapes.nt> .
+
+<#test-ext-namedblank-iri>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-ext-namedblank-iri" ;
+ mf:action <test-ext-namedblank-iri.ttl> ;
+ mf:result <test-ext-namedblank-iri.nt> .
+
+<#test-ext-namedblank-prefix>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-ext-namedblank-prefix" ;
+ mf:action <test-ext-namedblank-prefix.ttl> ;
+ mf:result <test-ext-namedblank-prefix.nt> .
+
+<#test-id>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-id" ;
+ mf:action <test-id.ttl> ;
+ mf:result <test-id.nt> .
+
+<#test-lang>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-lang" ;
+ mf:action <test-lang.ttl> ;
+ mf:result <test-lang.nt> .
+
+<#test-list-in-blank>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-list-in-blank" ;
+ mf:action <test-list-in-blank.ttl> ;
+ mf:result <test-list-in-blank.nt> .
+
+<#test-list-subject>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-list-subject" ;
+ mf:action <test-list-subject.ttl> ;
+ mf:result <test-list-subject.nt> .
+
+<#test-list>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-list" ;
+ mf:action <test-list.ttl> ;
+ mf:result <test-list.nt> .
+
+<#test-long-string>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-long-string" ;
+ mf:action <test-long-string.ttl> ;
+ mf:result <test-long-string.nt> .
+
+<#test-no-spaces>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-no-spaces" ;
+ mf:action <test-no-spaces.ttl> ;
+ mf:result <test-no-spaces.nt> .
+
+<#test-num>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-num" ;
+ mf:action <test-num.ttl> ;
+ mf:result <test-num.nt> .
+
+<#test-out-of-range-unicode>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-out-of-range-unicode" ;
+ mf:action <test-out-of-range-unicode.ttl> ;
+ mf:result <test-out-of-range-unicode.nt> .
+
+<#test-prefix>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-prefix" ;
+ mf:action <test-prefix.ttl> ;
+ mf:result <test-prefix.nt> .
+
+<#test-pretty>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-pretty" ;
+ mf:action <test-pretty.ttl> ;
+ mf:result <test-pretty.nt> .
+
+<#test-rel>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-rel" ;
+ mf:action <test-rel.ttl> ;
+ mf:result <test-rel.nt> .
+
+<#test-semi-dot>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-semi-dot" ;
+ mf:action <test-semi-dot.ttl> ;
+ mf:result <test-semi-dot.nt> .
+
+<#test-uri-escape>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-uri-escape" ;
+ mf:action <test-uri-escape.ttl> ;
+ mf:result <test-uri-escape.nt> .
+
+<#test-uri>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-uri" ;
+ mf:action <test-uri.ttl> ;
+ mf:result <test-uri.nt> .
+
+<#test-utf8-uri>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-utf8-uri" ;
+ mf:action <test-utf8-uri.ttl> ;
+ mf:result <test-utf8-uri.nt> .
+
+<#UTF-8>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "UTF-8" ;
+ mf:action <UTF-8.ttl> ;
+ mf:result <UTF-8.nt> .
+