summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 21:03:41 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 21:03:41 +0000
commit6019a68609a3798e83cb28924376a320a18386bc (patch)
treea8727a7d139f584950fe984db679c541c00f27c3 /tests
parent20aaebdc3024ef93afc80167f972287116a85f08 (diff)
downloadsord-6019a68609a3798e83cb28924376a320a18386bc.tar.gz
sord-6019a68609a3798e83cb28924376a320a18386bc.tar.bz2
sord-6019a68609a3798e83cb28924376a320a18386bc.zip
Update test suite for latest serd.
git-svn-id: http://svn.drobilla.net/sord/trunk@293 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'tests')
-rw-r--r--tests/test-00.out2
-rw-r--r--tests/test-04.out4
-rw-r--r--tests/test-05.out8
-rw-r--r--tests/test-07.out10
-rw-r--r--tests/test-09.out6
-rw-r--r--tests/test-13.out2
-rw-r--r--tests/test-29.out1
-rw-r--r--tests/test-29.ttl1
-rw-r--r--tests/test-id.out4
-rw-r--r--tests/test-id.ttl2
-rw-r--r--tests/test-lang.out1
-rw-r--r--tests/test-lang.ttl3
-rw-r--r--tests/test-num.out1
-rw-r--r--tests/test-num.ttl1
14 files changed, 24 insertions, 22 deletions
diff --git a/tests/test-00.out b/tests/test-00.out
index 7f8b717..d1d84a2 100644
--- a/tests/test-00.out
+++ b/tests/test-00.out
@@ -1 +1 @@
-_:genid1 <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#x> <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#y> .
+_:b1 <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#x> <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#y> .
diff --git a/tests/test-04.out b/tests/test-04.out
index 414e4b8..d5d0152 100644
--- a/tests/test-04.out
+++ b/tests/test-04.out
@@ -1,2 +1,2 @@
-_:genid1 <http://example.org/base#a> <http://example.org/base#b> .
-<http://example.org/base#c> <http://example.org/base#d> _:genid2 .
+_:b1 <http://example.org/base#a> <http://example.org/base#b> .
+<http://example.org/base#c> <http://example.org/base#d> _:b2 .
diff --git a/tests/test-05.out b/tests/test-05.out
index bf90417..d440197 100644
--- a/tests/test-05.out
+++ b/tests/test-05.out
@@ -1,4 +1,4 @@
-_:genid1 <http://example.org/base#a> <http://example.org/base#b> .
-_:genid1 <http://example.org/base#c> <http://example.org/base#d> .
-<http://example.org/base#e> <http://example.org/base#f> _:genid2 .
-_:genid2 <http://example.org/base#g> <http://example.org/base#h> .
+_:b1 <http://example.org/base#a> <http://example.org/base#b> .
+_:b1 <http://example.org/base#c> <http://example.org/base#d> .
+<http://example.org/base#e> <http://example.org/base#f> _:b2 .
+_:b2 <http://example.org/base#g> <http://example.org/base#h> .
diff --git a/tests/test-07.out b/tests/test-07.out
index 4a4e8ee..e62cede 100644
--- a/tests/test-07.out
+++ b/tests/test-07.out
@@ -1,5 +1,5 @@
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid2 .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:genid1 .
+<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:b1 .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b2 .
+_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
+_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
diff --git a/tests/test-09.out b/tests/test-09.out
index 5fdb909..c716408 100644
--- a/tests/test-09.out
+++ b/tests/test-09.out
@@ -1,4 +1,4 @@
_:hasParent <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
-_:genid1 <http://www.w3.org/2002/07/owl#onProperty> _:hasParent .
-_:genid1 <http://www.w3.org/2002/07/owl#maxCardinality> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:b1 <http://www.w3.org/2002/07/owl#onProperty> _:hasParent .
+_:b1 <http://www.w3.org/2002/07/owl#maxCardinality> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/test-13.out b/tests/test-13.out
index 9feb5ad..195a1af 100644
--- a/tests/test-13.out
+++ b/tests/test-13.out
@@ -1,2 +1,2 @@
-_:genid1 <http://example.org/ron> _:genid2 .
+_:b1 <http://example.org/ron> _:b2 .
<http://example.org/ron> <http://example.org/ron> <http://example.org/ron> .
diff --git a/tests/test-29.out b/tests/test-29.out
deleted file mode 100644
index 612052d..0000000
--- a/tests/test-29.out
+++ /dev/null
@@ -1 +0,0 @@
-<http://example.org/node> <http://example.org/prop> <scheme:\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\t\n\u000B\u000C\r\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F !"#$%&'()*+,-./0123456789:/<=\u003E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u007F> .
diff --git a/tests/test-29.ttl b/tests/test-29.ttl
deleted file mode 100644
index 612052d..0000000
--- a/tests/test-29.ttl
+++ /dev/null
@@ -1 +0,0 @@
-<http://example.org/node> <http://example.org/prop> <scheme:\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\t\n\u000B\u000C\r\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F !"#$%&'()*+,-./0123456789:/<=\u003E?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u007F> .
diff --git a/tests/test-id.out b/tests/test-id.out
index 722fc6d..b4b1106 100644
--- a/tests/test-id.out
+++ b/tests/test-id.out
@@ -1,2 +1,2 @@
-<http://example.org/base#c> <http://example.org/base#d> _:genid1 .
-_:docid1 <http://example.org/base#a> <http://example.org/base#b> .
+<http://example.org/base#c> <http://example.org/base#d> _:b1 .
+_:B1 <http://example.org/base#a> <http://example.org/base#b> .
diff --git a/tests/test-id.ttl b/tests/test-id.ttl
index 6bc1c37..cfd0e9c 100644
--- a/tests/test-id.ttl
+++ b/tests/test-id.ttl
@@ -1,4 +1,4 @@
@prefix : <http://example.org/base#> .
:c :d [] .
-_:genid1 :a :b .
+_:b1 :a :b .
diff --git a/tests/test-lang.out b/tests/test-lang.out
index c36dda4..61daecb 100644
--- a/tests/test-lang.out
+++ b/tests/test-lang.out
@@ -2,3 +2,4 @@
<http://example.org/test-lang#thing> <http://example.org/test-lang#greeting> "Howdy"@en-us .
<http://example.org/test-lang#thing> <http://example.org/test-lang#greeting> "Bonjour"@fr .
<http://example.org/test-lang#thing> <http://example.org/test-lang#greeting> "Guten Tag"@de-latn-de .
+<http://example.org/test-lang#thing> <http://example.org/test-lang#greeting> "HEY MAN"@en-crazy0place .
diff --git a/tests/test-lang.ttl b/tests/test-lang.ttl
index f7c2727..b061647 100644
--- a/tests/test-lang.ttl
+++ b/tests/test-lang.ttl
@@ -3,4 +3,5 @@
:thing :greeting "Hello"@en ;
:greeting "Howdy"@en-us ;
:greeting "Bonjour"@fr ;
- :greeting "Guten Tag"@de-latn-de .
+ :greeting "Guten Tag"@de-latn-de ;
+ :greeting "HEY MAN"@en-crazy0place .
diff --git a/tests/test-num.out b/tests/test-num.out
index 2502580..54263d4 100644
--- a/tests/test-num.out
+++ b/tests/test-num.out
@@ -7,3 +7,4 @@
<http://example.org/eg#thing> <http://example.org/eg#num> "1.58490e-05"^^<http://www.w3.org/2001/XMLSchema#double> .
<http://example.org/eg#thing> <http://example.org/eg#num> "1.58490e+05"^^<http://www.w3.org/2001/XMLSchema#double> .
<http://example.org/eg#thing> <http://example.org/eg#num> "1.58490e05"^^<http://www.w3.org/2001/XMLSchema#double> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "1.58490E05"^^<http://www.w3.org/2001/XMLSchema#double> .
diff --git a/tests/test-num.ttl b/tests/test-num.ttl
index 54a425a..68ad290 100644
--- a/tests/test-num.ttl
+++ b/tests/test-num.ttl
@@ -9,3 +9,4 @@ eg:thing eg:num -.6 .
eg:thing eg:num 1.58490e-05 .
eg:thing eg:num 1.58490e+05 .
eg:thing eg:num 1.58490e05 .
+eg:thing eg:num 1.58490E05 .