Add base IRI to all test manifest files
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Thu, 16 Aug 2012 15:00:53 +0200
changeset 809 d639624b9bd8
parent 808 f35d32e78b5d
child 810 72b67f09cacf
Add base IRI to all test manifest files

It was already added to expand-manifest.jsonld in 0b6908f7014dd3b2048123762b775adfbdca4a26.
test-suite/tests/compact-manifest.jsonld
test-suite/tests/frame-manifest.jsonld
test-suite/tests/fromRdf-manifest.jsonld
test-suite/tests/normalize-manifest.jsonld
test-suite/tests/toRdf-manifest.jsonld
--- a/test-suite/tests/compact-manifest.jsonld	Tue Aug 14 19:17:50 2012 +0200
+++ b/test-suite/tests/compact-manifest.jsonld	Thu Aug 16 15:00:53 2012 +0200
@@ -4,6 +4,7 @@
   "@type": "jld:Manifest",
   "rdfs:comment": "JSON-LD to Compaction tests use object compare",
   "name": "compact",
+  "baseIri": "http://json-ld.org/test-suite/tests/",
   "sequence": [{
     "@type": ["test:TestCase", "jld:CompactTest"],
     "name": "id",
--- a/test-suite/tests/frame-manifest.jsonld	Tue Aug 14 19:17:50 2012 +0200
+++ b/test-suite/tests/frame-manifest.jsonld	Thu Aug 16 15:00:53 2012 +0200
@@ -1,134 +1,135 @@
 {
-   "@context": "http://json-ld.org/test-suite/context.jsonld",
-   "@id": "",
-   "@type": "jld:Manifest",
-   "rdfs:comment": "JSON-LD to Framing tests use object compare",
-   "name": "frame",
-   "sequence": [{
+  "@context": "http://json-ld.org/test-suite/context.jsonld",
+  "@id": "",
+  "@type": "jld:Manifest",
+  "rdfs:comment": "JSON-LD to Framing tests use object compare",
+  "name": "frame",
+  "baseIri": "http://json-ld.org/test-suite/tests/",
+    "sequence": [{
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "simple",
       "input": "frame-0001-in.jsonld",
       "frame": "frame-0001-frame.jsonld",
       "expect": "frame-0001-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "reframe w/extra CURIE value",
       "input": "frame-0002-in.jsonld",
       "frame": "frame-0002-frame.jsonld",
       "expect": "frame-0002-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "reframe (null)",
       "input": "frame-0003-in.jsonld",
       "frame": "frame-0003-frame.jsonld",
       "expect": "frame-0003-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "reframe (type)",
       "input": "frame-0004-in.jsonld",
       "frame": "frame-0004-frame.jsonld",
       "expect": "frame-0004-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "reframe (explicit)",
       "input": "frame-0005-in.jsonld",
       "frame": "frame-0005-frame.jsonld",
       "expect": "frame-0005-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "reframe (non-explicit)",
       "input": "frame-0006-in.jsonld",
       "frame": "frame-0006-frame.jsonld",
       "expect": "frame-0006-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "input has multiple types",
       "input": "frame-0007-in.jsonld",
       "frame": "frame-0007-frame.jsonld",
       "expect": "frame-0007-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "array framing cases",
       "input": "frame-0008-in.jsonld",
       "frame": "frame-0008-frame.jsonld",
       "expect": "frame-0008-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "default value",
       "input": "frame-0009-in.jsonld",
       "frame": "frame-0009-frame.jsonld",
       "expect": "frame-0009-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "property CURIE conflict",
       "input": "frame-0010-in.jsonld",
       "frame": "frame-0010-frame.jsonld",
       "expect": "frame-0010-out.jsonld"
-   }, {  
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "@embed",
       "input": "frame-0011-in.jsonld",
       "frame": "frame-0011-frame.jsonld",
       "expect": "frame-0011-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Array frame",
       "input": "frame-0012-in.jsonld",
       "frame": "frame-0012-frame.jsonld",
       "expect": "frame-0012-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Replace existing embed",
       "input": "frame-0013-in.jsonld",
       "frame": "frame-0013-frame.jsonld",
       "expect": "frame-0013-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Replace existing embed on 2nd pass",
       "input": "frame-0014-in.jsonld",
       "frame": "frame-0014-frame.jsonld",
       "expect": "frame-0014-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Replace deeply-nested embed",
       "input": "frame-0015-in.jsonld",
       "frame": "frame-0015-frame.jsonld",
       "expect": "frame-0015-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Use @type in ducktype filter",
       "input": "frame-0016-in.jsonld",
       "frame": "frame-0016-frame.jsonld",
       "expect": "frame-0016-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Non-flat input",
       "input": "frame-0017-in.jsonld",
       "frame": "frame-0017-frame.jsonld",
       "expect": "frame-0017-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "no frame @context but @graph output",
       "input": "frame-0018-in.jsonld",
       "frame": "frame-0018-frame.jsonld",
       "expect": "frame-0018-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Resources can be re-embedded again in each top-level frame match",
       "input": "frame-0019-in.jsonld",
       "frame": "frame-0019-frame.jsonld",
       "expect": "frame-0019-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Blank nodes in an array",
       "input": "frame-0020-in.jsonld",
       "frame": "frame-0020-frame.jsonld",
       "expect": "frame-0020-out.jsonld"
-   }, {
+    }, {
       "@type": ["test:TestCase", "jld:FrameTest"],
       "name": "Blank nodes in @type",
       "input": "frame-0021-in.jsonld",
       "frame": "frame-0021-frame.jsonld",
       "expect": "frame-0021-out.jsonld"
-   }]
+    }]
 }
--- a/test-suite/tests/fromRdf-manifest.jsonld	Tue Aug 14 19:17:50 2012 +0200
+++ b/test-suite/tests/fromRdf-manifest.jsonld	Thu Aug 16 15:00:53 2012 +0200
@@ -4,6 +4,7 @@
   "@type": "jld:Manifest",
   "rdfs:comment": "RDF to JSON-LD tests take N-Quads Input",
   "name": "fromRdf",
+  "baseIri": "http://json-ld.org/test-suite/tests/",
   "sequence": [
     {
       "@type": ["test:TestCase", "jld:FromRDFTest"],
--- a/test-suite/tests/normalize-manifest.jsonld	Tue Aug 14 19:17:50 2012 +0200
+++ b/test-suite/tests/normalize-manifest.jsonld	Thu Aug 16 15:00:53 2012 +0200
@@ -4,6 +4,7 @@
   "@type": "jld:Manifest",
   "rdfs:comment": "JSON-LD to Expansion tests use object compare",
   "name": "normalize",
+  "baseIri": "http://json-ld.org/test-suite/tests/",
   "sequence": [{
     "@type": ["test:TestCase", "jld:NormalizeTest"],
     "name": "simple id",
--- a/test-suite/tests/toRdf-manifest.jsonld	Tue Aug 14 19:17:50 2012 +0200
+++ b/test-suite/tests/toRdf-manifest.jsonld	Thu Aug 16 15:00:53 2012 +0200
@@ -4,6 +4,7 @@
   "@type": "jld:Manifest",
   "rdfs:comment": "JSON-LD to RDF tests generate N-Quads Output",
   "name": "toRdf",
+  "baseIri": "http://json-ld.org/test-suite/tests/",
   "sequence": [
     {
       "@type": ["test:TestCase", "jld:ToRDFTest"],
@@ -185,6 +186,6 @@
       "purpose": "Tests graphs containing subject references as strings.",
       "input": "toRdf-0030-in.jsonld",
       "expect": "toRdf-0030-out.nq"
-    }    
+    }
   ]
 }