Update toRDF tests to exclude triples with blank node predicates
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 23 Jul 2013 23:27:25 +0200
changeset 1818 4c500f184f8e
parent 1817 5349548d7579
child 1819 35abb0a44d0d
child 1822 918515534141
child 1826 6794338c7038
Update toRDF tests to exclude triples with blank node predicates

This addresses #222.
test-suite/tests/toRdf-0078-out.nq
test-suite/tests/toRdf-0108-out.nq
test-suite/tests/toRdf-manifest.jsonld
--- a/test-suite/tests/toRdf-0078-out.nq	Tue Jul 23 22:39:03 2013 +0200
+++ b/test-suite/tests/toRdf-0078-out.nq	Tue Jul 23 23:27:25 2013 +0200
@@ -1,9 +1,1 @@
 _:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> _:b0 .
-_:b0 _:b0 "plain value" .
-_:b0 _:b0 <http://json-ld.org/test-suite/tests/relativeIri> .
-_:b0 _:b0 _:b0 .
-_:b0 _:b0 _:b1 .
-_:b0 _:b0 _:b2 .
-_:b0 _:b0 _:b3 .
-_:b1 _:b0 "term" .
-_:b2 _:b0 "termId" .
--- a/test-suite/tests/toRdf-0108-out.nq	Tue Jul 23 22:39:03 2013 +0200
+++ b/test-suite/tests/toRdf-0108-out.nq	Tue Jul 23 23:27:25 2013 +0200
@@ -1,2 +1,1 @@
 _:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> _:b0 .
-_:b1 _:b2 "all these IRIs remain unchanged because they are interpreted as blank node identifiers" .
--- a/test-suite/tests/toRdf-manifest.jsonld	Tue Jul 23 22:39:03 2013 +0200
+++ b/test-suite/tests/toRdf-manifest.jsonld	Tue Jul 23 23:27:25 2013 +0200
@@ -474,7 +474,7 @@
     }, {
       "@id": "#t0078",
       "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
-      "name": "Blank nodes are not relabeled during expansion.",
+      "name": "Triples with blank node predicates are dropped by default.",
       "input": "toRdf-0078-in.jsonld",
       "expect": "toRdf-0078-out.nq"
     }, {