--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0071-in.jsonld Mon Apr 15 19:04:12 2013 +0200
@@ -0,0 +1,21 @@
+{
+ "@context": [
+ {
+ "v": "http://example.com/vocab#",
+ "term": "v:somethingElse",
+ "termId": { "@id": "v:somethingElseId" },
+ "v:term": "v:somethingElse",
+ "v:termId": { "@id": "v:somethingElseId" }
+ },
+ {
+ "term": "term",
+ "termId": { "@id": "termId" },
+ "v:term": "v:term",
+ "v:termId": { "@id": "v:termId" }
+ }
+ ],
+ "term": "value of term",
+ "termId": "value of termId",
+ "v:term": "value of v:term",
+ "v:termId": "value of v:termId"
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/expand-0071-out.jsonld Mon Apr 15 19:04:12 2013 +0200
@@ -0,0 +1,12 @@
+[
+ {
+ "http://example.com/vocab#somethingElse": [
+ { "@value": "value of term" },
+ { "@value": "value of v:term" }
+ ],
+ "http://example.com/vocab#somethingElseId": [
+ { "@value": "value of termId" },
+ { "@value": "value of v:termId" }
+ ]
+ }
+]
--- a/test-suite/tests/expand-manifest.jsonld Mon Apr 15 11:10:18 2013 -0400
+++ b/test-suite/tests/expand-manifest.jsonld Mon Apr 15 19:04:12 2013 +0200
@@ -417,11 +417,17 @@
"input": "expand-0069-in.jsonld",
"expect": "expand-0069-out.jsonld"
}, {
- "@id": "#t0069",
+ "@id": "#t0070",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Redefine compact IRI to define type mapping using the compact IRI itself as string value",
"input": "expand-0070-in.jsonld",
"expect": "expand-0070-out.jsonld"
+ }, {
+ "@id": "#t0071",
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
+ "name": "Redefine term and a term looking like a compact IRI reusing a previous definition",
+ "input": "expand-0071-in.jsonld",
+ "expect": "expand-0071-out.jsonld"
}
]
}