aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extra
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-03-30 01:55:50 +0000
committerDavid Robillard <d@drobilla.net>2013-03-30 01:55:50 +0000
commite6f2680dc5e4a5c0578a1996786099c819779053 (patch)
tree85e5edbe3185ea9f06cd17a3a5d6cc326c61659a /tests/extra
parent2d6b2c5560ec27e61b2cfdbb50b91b1e96d04ed0 (diff)
downloadserd-e6f2680dc5e4a5c0578a1996786099c819779053.tar.gz
serd-e6f2680dc5e4a5c0578a1996786099c819779053.tar.bz2
serd-e6f2680dc5e4a5c0578a1996786099c819779053.zip
Merge test suites.
git-svn-id: http://svn.drobilla.net/serd/trunk@441 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests/extra')
-rw-r--r--tests/extra/manifest.ttl101
-rw-r--r--tests/extra/turtle-syntax-bad-blank-label-dot-end.ttl2
-rw-r--r--tests/extra/turtle-syntax-bad-ln-dash-start.ttl2
-rw-r--r--tests/extra/turtle-syntax-bad-ln-escape-start.ttl2
-rw-r--r--tests/extra/turtle-syntax-bad-ln-escape.ttl2
-rw-r--r--tests/extra/turtle-syntax-bad-missing-ns-dot-end.ttl1
-rw-r--r--tests/extra/turtle-syntax-bad-missing-ns-dot-start.ttl1
-rw-r--r--tests/extra/turtle-syntax-bad-ns-dot-end.ttl2
-rw-r--r--tests/extra/turtle-syntax-bad-ns-dot-start.ttl2
-rw-r--r--tests/extra/turtle-syntax-bad-number-dot-in-anon.ttl6
-rw-r--r--tests/extra/turtle-syntax-blank-label.nt3
-rw-r--r--tests/extra/turtle-syntax-blank-label.ttl4
-rw-r--r--tests/extra/turtle-syntax-ln-colons.nt5
-rw-r--r--tests/extra/turtle-syntax-ln-colons.ttl6
-rw-r--r--tests/extra/turtle-syntax-ln-dots.nt3
-rw-r--r--tests/extra/turtle-syntax-ln-dots.ttl4
-rw-r--r--tests/extra/turtle-syntax-ns-dots.ttl2
-rw-r--r--tests/extra/turtle-syntax-pname-dots.ttl2
18 files changed, 0 insertions, 150 deletions
diff --git a/tests/extra/manifest.ttl b/tests/extra/manifest.ttl
deleted file mode 100644
index 62a5fa3e..00000000
--- a/tests/extra/manifest.ttl
+++ /dev/null
@@ -1,101 +0,0 @@
-@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 "Extra Turtle tests from Serd" ;
- mf:entries (
- <#turtle-syntax-bad-blank-label-dot-end>
- <#turtle-syntax-bad-ln-dash-start>
- <#turtle-syntax-bad-ln-escape-start>
- <#turtle-syntax-bad-ln-escape>
- <#turtle-syntax-bad-missing-ns-dot-end>
- <#turtle-syntax-bad-missing-ns-dot-start>
- <#turtle-syntax-bad-ns-dot-end>
- <#turtle-syntax-bad-ns-dot-start>
- <#turtle-syntax-bad-number-dot-in-anon>
- <#turtle-syntax-blank-label>
- <#turtle-syntax-ln-colons>
- <#turtle-syntax-ln-dots>
- <#turtle-syntax-ns-dots>
- ) .
-
-<#turtle-syntax-bad-blank-label-dot-end>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Blank node label must not end in dot" ;
- mf:name "turtle-syntax-bad-blank-label-dot-end" ;
- mf:action <turtle-syntax-bad-blank-label-dot-end.ttl> .
-
-<#turtle-syntax-bad-number-dot-in-anon>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Dot delimeter may not appear in anonymous nodes" ;
- mf:name "turtle-syntax-bad-number-dot-in-anon" ;
- mf:action <turtle-syntax-bad-number-dot-in-anon.ttl> .
-
-<#turtle-syntax-bad-ln-dash-start>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Local name must not begin with dash" ;
- mf:name "turtle-syntax-bad-ln-dash-start" ;
- mf:action <turtle-syntax-bad-ln-dash-start.ttl> .
-
-<#turtle-syntax-bad-ln-escape>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Bad hex escape in local name" ;
- mf:name "turtle-syntax-bad-ln-escape" ;
- mf:action <turtle-syntax-bad-ln-escape.ttl> .
-
-<#turtle-syntax-bad-ln-escape-start>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Bad hex escape at start of local name" ;
- mf:name "turtle-syntax-bad-ln-escape-start" ;
- mf:action <turtle-syntax-bad-ln-escape-start.ttl> .
-
-<#turtle-syntax-bad-ns-dot-end>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Prefix must not end in dot" ;
- mf:name "turtle-syntax-bad-ns-dot-end" ;
- mf:action <turtle-syntax-bad-ns-dot-end.ttl> .
-
-<#turtle-syntax-bad-ns-dot-start>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Prefix must not start with dot" ;
- mf:name "turtle-syntax-bad-ns-dot-start" ;
- mf:action <turtle-syntax-bad-ns-dot-start.ttl> .
-
-<#turtle-syntax-bad-missing-ns-dot-end>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Prefix must not end in dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" ;
- mf:name "turtle-syntax-bad-missing-ns-dot-end" ;
- mf:action <turtle-syntax-bad-missing-ns-dot-end.ttl> .
-
-<#turtle-syntax-bad-missing-ns-dot-start>
- rdf:type rdft:TestTurtleNegativeSyntax ;
- rdfs:comment "Prefix must not start with dot (error in triple, not prefix directive like turtle-syntax-bad-ns-dot-end)" ;
- mf:name "turtle-syntax-bad-missing-ns-dot-start" ;
- mf:action <turtle-syntax-bad-missing-ns-dot-start.ttl> .
-
-<#turtle-syntax-ln-dots>
- rdf:type rdft:TestTurtlePositiveSyntax ;
- rdfs:comment "Dots in pname local names" ;
- mf:name "turtle-syntax-ln-dots" ;
- mf:action <turtle-syntax-ln-dots.ttl> .
-
-<#turtle-syntax-ln-colons>
- rdf:type rdft:TestTurtlePositiveSyntax ;
- rdfs:comment "Colons in pname local names" ;
- mf:name "turtle-syntax-ln-colons" ;
- mf:action <turtle-syntax-ln-colons.ttl> .
-
-<#turtle-syntax-ns-dots>
- rdf:type rdft:TestTurtlePositiveSyntax ;
- rdfs:comment "Dots in namespace names" ;
- mf:name "turtle-syntax-ns-dots" ;
- mf:action <turtle-syntax-ns-dots.ttl> .
-
-<#turtle-syntax-blank-label>
- rdf:type rdft:TestTurtlePositiveSyntax ;
- rdfs:comment "Characters allowed in blank node labels" ;
- mf:name "turtle-syntax-blank-label" ;
- mf:action <turtle-syntax-blank-label.ttl> .
diff --git a/tests/extra/turtle-syntax-bad-blank-label-dot-end.ttl b/tests/extra/turtle-syntax-bad-blank-label-dot-end.ttl
deleted file mode 100644
index 613e775f..00000000
--- a/tests/extra/turtle-syntax-bad-blank-label-dot-end.ttl
+++ /dev/null
@@ -1,2 +0,0 @@
-@prefix : <http://example/> .
-_:b1. :p :o .
diff --git a/tests/extra/turtle-syntax-bad-ln-dash-start.ttl b/tests/extra/turtle-syntax-bad-ln-dash-start.ttl
deleted file mode 100644
index 291bdda3..00000000
--- a/tests/extra/turtle-syntax-bad-ln-dash-start.ttl
+++ /dev/null
@@ -1,2 +0,0 @@
-@prefix : <http://example/> .
-:s :p :-o .
diff --git a/tests/extra/turtle-syntax-bad-ln-escape-start.ttl b/tests/extra/turtle-syntax-bad-ln-escape-start.ttl
deleted file mode 100644
index d1661bd7..00000000
--- a/tests/extra/turtle-syntax-bad-ln-escape-start.ttl
+++ /dev/null
@@ -1,2 +0,0 @@
-@prefix : <http://example/> .
-:s :p :%2o .
diff --git a/tests/extra/turtle-syntax-bad-ln-escape.ttl b/tests/extra/turtle-syntax-bad-ln-escape.ttl
deleted file mode 100644
index 585e28b5..00000000
--- a/tests/extra/turtle-syntax-bad-ln-escape.ttl
+++ /dev/null
@@ -1,2 +0,0 @@
-@prefix : <http://example/> .
-:s :p :o%2 .
diff --git a/tests/extra/turtle-syntax-bad-missing-ns-dot-end.ttl b/tests/extra/turtle-syntax-bad-missing-ns-dot-end.ttl
deleted file mode 100644
index d06f4e69..00000000
--- a/tests/extra/turtle-syntax-bad-missing-ns-dot-end.ttl
+++ /dev/null
@@ -1 +0,0 @@
-valid:s valid:p invalid.:o .
diff --git a/tests/extra/turtle-syntax-bad-missing-ns-dot-start.ttl b/tests/extra/turtle-syntax-bad-missing-ns-dot-start.ttl
deleted file mode 100644
index 23514bcc..00000000
--- a/tests/extra/turtle-syntax-bad-missing-ns-dot-start.ttl
+++ /dev/null
@@ -1 +0,0 @@
-.undefined:s .undefined:p .undefined:o .
diff --git a/tests/extra/turtle-syntax-bad-ns-dot-end.ttl b/tests/extra/turtle-syntax-bad-ns-dot-end.ttl
deleted file mode 100644
index a99fc98d..00000000
--- a/tests/extra/turtle-syntax-bad-ns-dot-end.ttl
+++ /dev/null
@@ -1,2 +0,0 @@
-@prefix eg. : <http://example/> .
-eg.:s eg.:p eg.:o .
diff --git a/tests/extra/turtle-syntax-bad-ns-dot-start.ttl b/tests/extra/turtle-syntax-bad-ns-dot-start.ttl
deleted file mode 100644
index b3993dd7..00000000
--- a/tests/extra/turtle-syntax-bad-ns-dot-start.ttl
+++ /dev/null
@@ -1,2 +0,0 @@
-@prefix .eg : <http://example/> .
-.eg:s .eg:p .eg:o .
diff --git a/tests/extra/turtle-syntax-bad-number-dot-in-anon.ttl b/tests/extra/turtle-syntax-bad-number-dot-in-anon.ttl
deleted file mode 100644
index 46d15f9a..00000000
--- a/tests/extra/turtle-syntax-bad-number-dot-in-anon.ttl
+++ /dev/null
@@ -1,6 +0,0 @@
-@prefix : <http://example/> .
-
-:s
- :p [
- :p1 27.
- ] .
diff --git a/tests/extra/turtle-syntax-blank-label.nt b/tests/extra/turtle-syntax-blank-label.nt
deleted file mode 100644
index 05dcc396..00000000
--- a/tests/extra/turtle-syntax-blank-label.nt
+++ /dev/null
@@ -1,3 +0,0 @@
-_:0b <http://example/p> <http://example/o> .
-_:_b <http://example/p> <http://example/o> .
-_:b.0 <http://example/p> <http://example/o> .
diff --git a/tests/extra/turtle-syntax-blank-label.ttl b/tests/extra/turtle-syntax-blank-label.ttl
deleted file mode 100644
index 3e3e516d..00000000
--- a/tests/extra/turtle-syntax-blank-label.ttl
+++ /dev/null
@@ -1,4 +0,0 @@
-@prefix : <http://example/> .
-_:0b :p :o . # Starts with digit
-_:_b :p :o . # Starts with underscore
-_:b.0 :p :o . # Contains dot, ends with digit
diff --git a/tests/extra/turtle-syntax-ln-colons.nt b/tests/extra/turtle-syntax-ln-colons.nt
deleted file mode 100644
index 9b3c223f..00000000
--- a/tests/extra/turtle-syntax-ln-colons.nt
+++ /dev/null
@@ -1,5 +0,0 @@
-<http://example/s:1> <http://example/p:1> <http://example/o:1> .
-<http://example/s::2> <http://example/p::2> <http://example/o::2> .
-<http://example/3:s> <http://example/3:p> <http://example/3> .
-<http://example/:s> <http://example/:p> <http://example/:o> .
-<http://example/:s:> <http://example/:p:> <http://example/:o:> .
diff --git a/tests/extra/turtle-syntax-ln-colons.ttl b/tests/extra/turtle-syntax-ln-colons.ttl
deleted file mode 100644
index 397989db..00000000
--- a/tests/extra/turtle-syntax-ln-colons.ttl
+++ /dev/null
@@ -1,6 +0,0 @@
-@prefix : <http://example/> .
-:s:1 :p:1 :o:1 .
-:s::2 :p::2 :o::2 .
-:3:s :3:p :3 .
-::s ::p ::o .
-::s: ::p: ::o: .
diff --git a/tests/extra/turtle-syntax-ln-dots.nt b/tests/extra/turtle-syntax-ln-dots.nt
deleted file mode 100644
index d24052bb..00000000
--- a/tests/extra/turtle-syntax-ln-dots.nt
+++ /dev/null
@@ -1,3 +0,0 @@
-<http://example/s.1> <http://example/p.1> <http://example/o.1> .
-<http://example/s..2> <http://example/p..2> <http://example/o..2> .
-<http://example/3.s> <http://example/3.p> <http://example/3> .
diff --git a/tests/extra/turtle-syntax-ln-dots.ttl b/tests/extra/turtle-syntax-ln-dots.ttl
deleted file mode 100644
index 230381a1..00000000
--- a/tests/extra/turtle-syntax-ln-dots.ttl
+++ /dev/null
@@ -1,4 +0,0 @@
-@prefix : <http://example/> .
-:s.1 :p.1 :o.1 .
-:s..2 :p..2 :o..2.
-:3.s :3.p :3.
diff --git a/tests/extra/turtle-syntax-ns-dots.ttl b/tests/extra/turtle-syntax-ns-dots.ttl
deleted file mode 100644
index 78465870..00000000
--- a/tests/extra/turtle-syntax-ns-dots.ttl
+++ /dev/null
@@ -1,2 +0,0 @@
-@prefix e.g: <http://example/> .
-e.g:s e.g:p e.g:o .
diff --git a/tests/extra/turtle-syntax-pname-dots.ttl b/tests/extra/turtle-syntax-pname-dots.ttl
deleted file mode 100644
index a708cf70..00000000
--- a/tests/extra/turtle-syntax-pname-dots.ttl
+++ /dev/null
@@ -1,2 +0,0 @@
-@prefix : <http://example/> .
-:s.ubj :p.r.ed :o.bject.