Permalink
Browse files

Merge pull request #452 from json-ld/mark-tests-1.1

Mark tests of 1.1 features with `processingMode-1.1`.
  • Loading branch information...
2 parents 3f78a48 + db25c98 commit 327a1888bfd4d39054642f6f0e10bb2830acee01 @gkellogg gkellogg committed on GitHub Jan 10, 2017
Showing with 20 additions and 10 deletions.
  1. +10 −5 test-suite/tests/compact-manifest.jsonld
  2. +10 −5 test-suite/tests/expand-manifest.jsonld
@@ -592,39 +592,44 @@
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
"input": "compact-c001-in.jsonld",
"context": "compact-c001-context.jsonld",
- "expect": "compact-c001-out.jsonld"
+ "expect": "compact-c001-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}, {
"@id": "#tc002",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "overriding a term",
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
"input": "compact-c002-in.jsonld",
"context": "compact-c002-context.jsonld",
- "expect": "compact-c002-out.jsonld"
+ "expect": "compact-c002-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}, {
"@id": "#tc003",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "property and value with different terms mapping to the same expanded property",
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
"input": "compact-c003-in.jsonld",
"context": "compact-c003-context.jsonld",
- "expect": "compact-c003-out.jsonld"
+ "expect": "compact-c003-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}, {
"@id": "#tc004",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "deep @context affects nested nodes",
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
"input": "compact-c004-in.jsonld",
"context": "compact-c004-context.jsonld",
- "expect": "compact-c004-out.jsonld"
+ "expect": "compact-c004-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}, {
"@id": "#tc005",
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "scoped context layers on intemediate contexts",
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
"input": "compact-c005-in.jsonld",
"context": "compact-c005-context.jsonld",
- "expect": "compact-c005-out.jsonld"
+ "expect": "compact-c005-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}
]
}
@@ -564,35 +564,40 @@
"name": "adding new term",
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
"input": "expand-c001-in.jsonld",
- "expect": "expand-c001-out.jsonld"
+ "expect": "expand-c001-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}, {
"@id": "#tc002",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "overriding a term",
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
"input": "expand-c002-in.jsonld",
- "expect": "expand-c002-out.jsonld"
+ "expect": "expand-c002-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}, {
"@id": "#tc003",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "property and value with different terms mapping to the same expanded property",
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
"input": "expand-c003-in.jsonld",
- "expect": "expand-c003-out.jsonld"
+ "expect": "expand-c003-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}, {
"@id": "#tc004",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "deep @context affects nested nodes",
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
"input": "expand-c004-in.jsonld",
- "expect": "expand-c004-out.jsonld"
+ "expect": "expand-c004-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}, {
"@id": "#tc005",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "scoped context layers on intemediate contexts",
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
"input": "expand-c005-in.jsonld",
- "expect": "expand-c005-out.jsonld"
+ "expect": "expand-c005-out.jsonld",
+ "option": {"processingMode": "json-ld-1.1"}
}
]
}

0 comments on commit 327a188

Please sign in to comment.