Browse Source

Restructure test suite to match new Turtle test suite.

git-svn-id: http://svn.drobilla.net/serd/trunk@412 490d8e77-9747-427b-9fa3-0b8f29cee8a0
zrythm_meson
David Robillard 10 years ago
parent
commit
d3e093b153
  1. 0
      tests/bad/bad-00.ttl
  2. 0
      tests/bad/bad-01.ttl
  3. 0
      tests/bad/bad-02.ttl
  4. 0
      tests/bad/bad-03.ttl
  5. 0
      tests/bad/bad-04.ttl
  6. 0
      tests/bad/bad-05.ttl
  7. 0
      tests/bad/bad-06.ttl
  8. 0
      tests/bad/bad-07.ttl
  9. 0
      tests/bad/bad-08.ttl
  10. 0
      tests/bad/bad-09.ttl
  11. 0
      tests/bad/bad-10.ttl
  12. 0
      tests/bad/bad-11.ttl
  13. 0
      tests/bad/bad-12.ttl
  14. 0
      tests/bad/bad-13.ttl
  15. 0
      tests/bad/bad-14.ttl
  16. 0
      tests/bad/bad-base.ttl
  17. 0
      tests/bad/bad-blank.ttl
  18. 0
      tests/bad/bad-datatype.ttl
  19. 0
      tests/bad/bad-eof-in-blank.ttl
  20. 0
      tests/bad/bad-eof-in-escape.ttl
  21. 0
      tests/bad/bad-eof-in-lang-suffix.ttl
  22. 0
      tests/bad/bad-eof-in-lang.ttl
  23. 0
      tests/bad/bad-eof-in-list.ttl
  24. 0
      tests/bad/bad-eof-in-object-list.ttl
  25. 0
      tests/bad/bad-eof-in-object-list2.ttl
  26. 0
      tests/bad/bad-eof-in-predicate-list.ttl
  27. 0
      tests/bad/bad-eof-in-string.ttl
  28. 0
      tests/bad/bad-eof-in-triple-quote.ttl
  29. 0
      tests/bad/bad-eof-in-uri.ttl
  30. 0
      tests/bad/bad-escape.ttl
  31. 0
      tests/bad/bad-hex-digit.ttl
  32. 0
      tests/bad/bad-id-clash.ttl
  33. 0
      tests/bad/bad-lang.ttl
  34. 0
      tests/bad/bad-list.ttl
  35. 0
      tests/bad/bad-list2.ttl
  36. 0
      tests/bad/bad-namespace.ttl
  37. 0
      tests/bad/bad-ns.ttl
  38. 0
      tests/bad/bad-num.ttl
  39. 0
      tests/bad/bad-object.ttl
  40. 0
      tests/bad/bad-object2.ttl
  41. 0
      tests/bad/bad-prefix.ttl
  42. 0
      tests/bad/bad-string.ttl
  43. 0
      tests/bad/bad-uri-escape.ttl
  44. 0
      tests/bad/bad-verb.ttl
  45. 1
      tests/base.nt
  46. 1
      tests/base.out
  47. 88
      tests/manifest-bad.ttl
  48. 0
      tests/rdf-schema.nt
  49. 36
      tests/rdfq-results.out
  50. 39
      tests/rdfq-results.ttl
  51. 0
      tests/rdfs-namespace.nt
  52. 0
      tests/test-00.nt
  53. 0
      tests/test-01.nt
  54. 0
      tests/test-02.nt
  55. 0
      tests/test-03.nt
  56. 0
      tests/test-04.nt
  57. 0
      tests/test-05.nt
  58. 0
      tests/test-06.nt
  59. 0
      tests/test-07.nt
  60. 0
      tests/test-08.nt
  61. 0
      tests/test-09.nt
  62. 0
      tests/test-10.nt
  63. 0
      tests/test-11.nt
  64. 0
      tests/test-12.nt
  65. 0
      tests/test-13.nt
  66. 0
      tests/test-14.nt
  67. 0
      tests/test-15.nt
  68. 0
      tests/test-16.nt
  69. 0
      tests/test-17.nt
  70. 0
      tests/test-18.nt
  71. 0
      tests/test-19.nt
  72. 0
      tests/test-20.nt
  73. 0
      tests/test-21.nt
  74. 0
      tests/test-22.nt
  75. 0
      tests/test-23.nt
  76. 0
      tests/test-24.nt
  77. 0
      tests/test-25.nt
  78. 0
      tests/test-26.nt
  79. 0
      tests/test-27.nt
  80. 0
      tests/test-29.nt
  81. 0
      tests/test-30.nt
  82. 0
      tests/test-backspace.nt
  83. 0
      tests/test-bad-utf8.nt
  84. 0
      tests/test-base-query.nt
  85. 0
      tests/test-blank-cont.nt
  86. 0
      tests/test-blank-in-list.nt
  87. 0
      tests/test-bom.nt
  88. 0
      tests/test-cr.nt
  89. 0
      tests/test-delete.nt
  90. 0
      tests/test-digit-start-pname.nt
  91. 0
      tests/test-eof-at-page-end.nt
  92. 0
      tests/test-escapes.nt
  93. 0
      tests/test-id.nt
  94. 0
      tests/test-lang.nt
  95. 0
      tests/test-list-in-blank.nt
  96. 0
      tests/test-list-subject.nt
  97. 0
      tests/test-list.nt
  98. 0
      tests/test-long-string.nt
  99. 0
      tests/test-no-spaces.nt
  100. 0
      tests/test-num.nt
  101. Some files were not shown because too many files have changed in this diff Show More

0
tests/bad-00.ttl → tests/bad/bad-00.ttl

0
tests/bad-01.ttl → tests/bad/bad-01.ttl

0
tests/bad-02.ttl → tests/bad/bad-02.ttl

0
tests/bad-03.ttl → tests/bad/bad-03.ttl

0
tests/bad-04.ttl → tests/bad/bad-04.ttl

0
tests/bad-05.ttl → tests/bad/bad-05.ttl

0
tests/bad-06.ttl → tests/bad/bad-06.ttl

0
tests/bad-07.ttl → tests/bad/bad-07.ttl

0
tests/bad-08.ttl → tests/bad/bad-08.ttl

0
tests/bad-09.ttl → tests/bad/bad-09.ttl

0
tests/bad-10.ttl → tests/bad/bad-10.ttl

0
tests/bad-11.ttl → tests/bad/bad-11.ttl

0
tests/bad-12.ttl → tests/bad/bad-12.ttl

0
tests/bad-13.ttl → tests/bad/bad-13.ttl

0
tests/bad-14.ttl → tests/bad/bad-14.ttl

0
tests/bad-base.ttl → tests/bad/bad-base.ttl

0
tests/bad-blank.ttl → tests/bad/bad-blank.ttl

0
tests/bad-datatype.ttl → tests/bad/bad-datatype.ttl

0
tests/bad-eof-in-blank.ttl → tests/bad/bad-eof-in-blank.ttl

0
tests/bad-eof-in-escape.ttl → tests/bad/bad-eof-in-escape.ttl

0
tests/bad-eof-in-lang-suffix.ttl → tests/bad/bad-eof-in-lang-suffix.ttl

0
tests/bad-eof-in-lang.ttl → tests/bad/bad-eof-in-lang.ttl

0
tests/bad-eof-in-list.ttl → tests/bad/bad-eof-in-list.ttl

0
tests/bad-eof-in-object-list.ttl → tests/bad/bad-eof-in-object-list.ttl

0
tests/bad-eof-in-object-list2.ttl → tests/bad/bad-eof-in-object-list2.ttl

0
tests/bad-eof-in-predicate-list.ttl → tests/bad/bad-eof-in-predicate-list.ttl

0
tests/bad-eof-in-string.ttl → tests/bad/bad-eof-in-string.ttl

0
tests/bad-eof-in-triple-quote.ttl → tests/bad/bad-eof-in-triple-quote.ttl

0
tests/bad-eof-in-uri.ttl → tests/bad/bad-eof-in-uri.ttl

0
tests/bad-escape.ttl → tests/bad/bad-escape.ttl

0
tests/bad-hex-digit.ttl → tests/bad/bad-hex-digit.ttl

0
tests/bad-id-clash.ttl → tests/bad/bad-id-clash.ttl

0
tests/bad-lang.ttl → tests/bad/bad-lang.ttl

0
tests/bad-list.ttl → tests/bad/bad-list.ttl

0
tests/bad-list2.ttl → tests/bad/bad-list2.ttl

0
tests/bad-namespace.ttl → tests/bad/bad-namespace.ttl

0
tests/bad-ns.ttl → tests/bad/bad-ns.ttl

0
tests/bad-num.ttl → tests/bad/bad-num.ttl

0
tests/bad-object.ttl → tests/bad/bad-object.ttl

0
tests/bad-object2.ttl → tests/bad/bad-object2.ttl

0
tests/bad-prefix.ttl → tests/bad/bad-prefix.ttl

0
tests/bad-string.ttl → tests/bad/bad-string.ttl

0
tests/bad-uri-escape.ttl → tests/bad/bad-uri-escape.ttl

0
tests/bad-verb.ttl → tests/bad/bad-verb.ttl

1
tests/base.nt

@ -0,0 +1 @@ @@ -0,0 +1 @@
<http://www.w3.org/2001/sw/DataAccess/df1/tests/foo> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2001/sw/DataAccess/df1/tests/Bar> .

1
tests/base.out

@ -1 +0,0 @@ @@ -1 +0,0 @@
<foo> a <Bar> .

88
tests/manifest-bad.ttl

@ -1,88 +0,0 @@ @@ -1,88 +0,0 @@
@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 bad syntax test cases (must fail)" ;
mf:entries
(
[ mf:name "bad-00" ;
rdfs:comment "prefix name must end in a :" ;
mf:action [ qt:data <bad-00.ttl> ] ;
]
[ mf:name "bad-01" ;
rdfs:comment "blank predicate forbidden" ;
mf:action [ qt:data <bad-01.ttl> ] ;
]
[ mf:name "bad-02" ;
rdfs:comment "blank predicate forbidden" ;
mf:action [ qt:data <bad-02.ttl> ] ;
]
[ mf:name "bad-03" ;
rdfs:comment "a forbidden as subject" ;
mf:action [ qt:data <bad-03.ttl> ] ;
]
[ mf:name "bad-04" ;
rdfs:comment ", not allowed in collections" ;
mf:action [ qt:data <bad-04.ttl> ] ;
]
[ mf:name "bad-05" ;
rdfs:comment "{} not allowed in Turtle" ;
mf:action [ qt:data <bad-05.ttl> ] ;
]
[ mf:name "bad-06" ;
rdfs:comment "is and of not allowed in Turtle" ;
mf:action [ qt:data <bad-06.ttl> ] ;
]
[ mf:name "bad-07" ;
rdfs:comment "paths not allowed in Turtle" ;
mf:action [ qt:data <bad-07.ttl> ] ;
]
[ mf:name "bad-08" ;
rdfs:comment "@keywords not allowed in Turtle" ;
mf:action [ qt:data <bad-08.ttl> ] ;
]
[ mf:name "bad-09" ;
rdfs:comment "=> not allowed in Turtle" ;
mf:action [ qt:data <bad-09.ttl> ] ;
]
[ mf:name "bad-10" ;
rdfs:comment "= not allowed in Turtle" ;
mf:action [ qt:data <bad-10.ttl> ] ;
]
[ mf:name "bad-11" ;
rdfs:comment "@forAll not allowed in Turtle" ;
mf:action [ qt:data <bad-11.ttl> ] ;
]
[ mf:name "bad-12" ;
rdfs:comment "@forSome not allowed in Turtle" ;
mf:action [ qt:data <bad-12.ttl> ] ;
]
[ mf:name "bad-13" ;
rdfs:comment "<= not allowed in Turtle" ;
mf:action [ qt:data <bad-13.ttl> ] ;
]
[ mf:name "bad-14" ;
rdfs:comment "long literal with missing end" ;
mf:action [ qt:data <bad-14.ttl> ] ;
]
# End of tests
).

0
tests/rdf-schema.out → tests/rdf-schema.nt

36
tests/rdfq-results.out

@ -1,36 +0,0 @@ @@ -1,36 +0,0 @@
_:genid1 <http://jena.hpl.hp.com/2003/03/result-set#variable> "x" .
_:genid1 <http://jena.hpl.hp.com/2003/03/result-set#value> "123"^^<http://www.w3.org/2001/XMLSchema#integer> .
_:genid2 <http://jena.hpl.hp.com/2003/03/result-set#variable> "y" .
_:genid2 <http://jena.hpl.hp.com/2003/03/result-set#value> <http://example.com/resource1> .
_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://jena.hpl.hp.com/2003/03/result-set#ResultSolution> .
_:genid3 <http://jena.hpl.hp.com/2003/03/result-set#binding> _:genid1 .
_:genid3 <http://jena.hpl.hp.com/2003/03/result-set#binding> _:genid2 .
_:genid4 <http://jena.hpl.hp.com/2003/03/result-set#variable> "x" .
_:genid4 <http://jena.hpl.hp.com/2003/03/result-set#value> "2003-01-21" .
_:genid5 <http://jena.hpl.hp.com/2003/03/result-set#variable> "y" .
_:genid5 <http://jena.hpl.hp.com/2003/03/result-set#value> <http://example.com/resource2> .
_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://jena.hpl.hp.com/2003/03/result-set#ResultSolution> .
_:genid6 <http://jena.hpl.hp.com/2003/03/result-set#binding> _:genid4 .
_:genid6 <http://jena.hpl.hp.com/2003/03/result-set#binding> _:genid5 .
_:genid7 <http://jena.hpl.hp.com/2003/03/result-set#variable> "x" .
_:genid7 <http://jena.hpl.hp.com/2003/03/result-set#value> "anon1" .
_:genid8 <http://jena.hpl.hp.com/2003/03/result-set#variable> "y" .
_:genid8 <http://jena.hpl.hp.com/2003/03/result-set#value> _:a .
_:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://jena.hpl.hp.com/2003/03/result-set#ResultSolution> .
_:genid9 <http://jena.hpl.hp.com/2003/03/result-set#binding> _:genid7 .
_:genid9 <http://jena.hpl.hp.com/2003/03/result-set#binding> _:genid8 .
_:genid10 <http://jena.hpl.hp.com/2003/03/result-set#variable> "x" .
_:genid10 <http://jena.hpl.hp.com/2003/03/result-set#value> "anon2" .
_:genid11 <http://jena.hpl.hp.com/2003/03/result-set#variable> "y" .
_:genid11 <http://jena.hpl.hp.com/2003/03/result-set#value> _:a .
_:genid12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://jena.hpl.hp.com/2003/03/result-set#ResultSolution> .
_:genid12 <http://jena.hpl.hp.com/2003/03/result-set#binding> _:genid10 .
_:genid12 <http://jena.hpl.hp.com/2003/03/result-set#binding> _:genid11 .
<http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://jena.hpl.hp.com/2003/03/result-set#ResultSet> .
<http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl> <http://jena.hpl.hp.com/2003/03/result-set#size> "4"^^<http://www.w3.org/2001/XMLSchema#integer> .
<http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl> <http://jena.hpl.hp.com/2003/03/result-set#resultVariable> "x" .
<http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl> <http://jena.hpl.hp.com/2003/03/result-set#resultVariable> "y" .
<http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl> <http://jena.hpl.hp.com/2003/03/result-set#solution> _:genid3 .
<http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl> <http://jena.hpl.hp.com/2003/03/result-set#solution> _:genid6 .
<http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl> <http://jena.hpl.hp.com/2003/03/result-set#solution> _:genid9 .
<http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl> <http://jena.hpl.hp.com/2003/03/result-set#solution> _:genid12 .

39
tests/rdfq-results.ttl

@ -1,39 +0,0 @@ @@ -1,39 +0,0 @@
# from http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rs: <http://jena.hpl.hp.com/2003/03/result-set#> .
<> rdf:type rs:ResultSet ;
rs:size 4 ;
rs:resultVariable "x" ; rs:resultVariable "y" ;
rs:solution
[ rdf:type rs:ResultSolution ;
rs:binding [ rs:variable "x" ; rs:value 123 ] ;
rs:binding [ rs:variable "y" ; rs:value <http://example.com/resource1> ]
] ;
rs:solution
[ rdf:type rs:ResultSolution ;
rs:binding [ rs:variable "x" ;
rs:value "2003-01-21" ] ;
rs:binding [ rs:variable "y" ;
rs:value <http://example.com/resource2> ]
] ;
rs:solution
[ rdf:type rs:ResultSolution ;
rs:binding [ rs:variable "x" ;
rs:value "anon1" ] ;
rs:binding [ rs:variable "y" ;
rs:value _:a ]
] ;
rs:solution
[ rdf:type rs:ResultSolution ;
rs:binding [ rs:variable "x" ;
rs:value "anon2" ] ;
rs:binding [ rs:variable "y" ;
rs:value _:a ]
] ;
.

0
tests/rdfs-namespace.out → tests/rdfs-namespace.nt

0
tests/test-00.out → tests/test-00.nt

0
tests/test-01.out → tests/test-01.nt

0
tests/test-02.out → tests/test-02.nt

0
tests/test-03.out → tests/test-03.nt

0
tests/test-04.out → tests/test-04.nt

0
tests/test-05.out → tests/test-05.nt

0
tests/test-06.out → tests/test-06.nt

0
tests/test-07.out → tests/test-07.nt

0
tests/test-08.out → tests/test-08.nt

0
tests/test-09.out → tests/test-09.nt

0
tests/test-10.out → tests/test-10.nt

0
tests/test-11.out → tests/test-11.nt

0
tests/test-12.out → tests/test-12.nt

0
tests/test-13.out → tests/test-13.nt

0
tests/test-14.out → tests/test-14.nt

0
tests/test-15.out → tests/test-15.nt

0
tests/test-16.out → tests/test-16.nt

0
tests/test-17.out → tests/test-17.nt

0
tests/test-18.out → tests/test-18.nt

0
tests/test-19.out → tests/test-19.nt

0
tests/test-20.out → tests/test-20.nt

0
tests/test-21.out → tests/test-21.nt

0
tests/test-22.out → tests/test-22.nt

0
tests/test-23.out → tests/test-23.nt

0
tests/test-24.out → tests/test-24.nt

0
tests/test-25.out → tests/test-25.nt

0
tests/test-26.out → tests/test-26.nt

0
tests/test-27.out → tests/test-27.nt

0
tests/test-29.out → tests/test-29.nt

0
tests/test-30.out → tests/test-30.nt

0
tests/test-backspace.out → tests/test-backspace.nt

0
tests/test-bad-utf8.out → tests/test-bad-utf8.nt

0
tests/test-base-query.out → tests/test-base-query.nt

0
tests/test-blank-cont.out → tests/test-blank-cont.nt

0
tests/test-blank-in-list.out → tests/test-blank-in-list.nt

0
tests/test-bom.out → tests/test-bom.nt

0
tests/test-cr.out → tests/test-cr.nt

0
tests/test-delete.out → tests/test-delete.nt

0
tests/test-digit-start-pname.out → tests/test-digit-start-pname.nt

0
tests/test-eof-at-page-end.out → tests/test-eof-at-page-end.nt

0
tests/test-escapes.out → tests/test-escapes.nt

0
tests/test-id.out → tests/test-id.nt

0
tests/test-lang.out → tests/test-lang.nt

0
tests/test-list-in-blank.out → tests/test-list-in-blank.nt

0
tests/test-list-subject.out → tests/test-list-subject.nt

0
tests/test-list.out → tests/test-list.nt

0
tests/test-long-string.out → tests/test-long-string.nt

0
tests/test-no-spaces.out → tests/test-no-spaces.nt

0
tests/test-num.out → tests/test-num.nt

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save