Skip to content

Commit 327a188

Browse files
authored
Merge pull request #452 from json-ld/mark-tests-1.1
Mark tests of 1.1 features with `processingMode-1.1`.
2 parents 3f78a48 + db25c98 commit 327a188

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

test-suite/tests/compact-manifest.jsonld

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,39 +592,44 @@
592592
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
593593
"input": "compact-c001-in.jsonld",
594594
"context": "compact-c001-context.jsonld",
595-
"expect": "compact-c001-out.jsonld"
595+
"expect": "compact-c001-out.jsonld",
596+
"option": {"processingMode": "json-ld-1.1"}
596597
}, {
597598
"@id": "#tc002",
598599
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
599600
"name": "overriding a term",
600601
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
601602
"input": "compact-c002-in.jsonld",
602603
"context": "compact-c002-context.jsonld",
603-
"expect": "compact-c002-out.jsonld"
604+
"expect": "compact-c002-out.jsonld",
605+
"option": {"processingMode": "json-ld-1.1"}
604606
}, {
605607
"@id": "#tc003",
606608
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
607609
"name": "property and value with different terms mapping to the same expanded property",
608610
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
609611
"input": "compact-c003-in.jsonld",
610612
"context": "compact-c003-context.jsonld",
611-
"expect": "compact-c003-out.jsonld"
613+
"expect": "compact-c003-out.jsonld",
614+
"option": {"processingMode": "json-ld-1.1"}
612615
}, {
613616
"@id": "#tc004",
614617
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
615618
"name": "deep @context affects nested nodes",
616619
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
617620
"input": "compact-c004-in.jsonld",
618621
"context": "compact-c004-context.jsonld",
619-
"expect": "compact-c004-out.jsonld"
622+
"expect": "compact-c004-out.jsonld",
623+
"option": {"processingMode": "json-ld-1.1"}
620624
}, {
621625
"@id": "#tc005",
622626
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
623627
"name": "scoped context layers on intemediate contexts",
624628
"purpose": "Compaction using a scoped context uses term scope for selecting proper term",
625629
"input": "compact-c005-in.jsonld",
626630
"context": "compact-c005-context.jsonld",
627-
"expect": "compact-c005-out.jsonld"
631+
"expect": "compact-c005-out.jsonld",
632+
"option": {"processingMode": "json-ld-1.1"}
628633
}
629634
]
630635
}

test-suite/tests/expand-manifest.jsonld

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -564,35 +564,40 @@
564564
"name": "adding new term",
565565
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
566566
"input": "expand-c001-in.jsonld",
567-
"expect": "expand-c001-out.jsonld"
567+
"expect": "expand-c001-out.jsonld",
568+
"option": {"processingMode": "json-ld-1.1"}
568569
}, {
569570
"@id": "#tc002",
570571
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
571572
"name": "overriding a term",
572573
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
573574
"input": "expand-c002-in.jsonld",
574-
"expect": "expand-c002-out.jsonld"
575+
"expect": "expand-c002-out.jsonld",
576+
"option": {"processingMode": "json-ld-1.1"}
575577
}, {
576578
"@id": "#tc003",
577579
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
578580
"name": "property and value with different terms mapping to the same expanded property",
579581
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
580582
"input": "expand-c003-in.jsonld",
581-
"expect": "expand-c003-out.jsonld"
583+
"expect": "expand-c003-out.jsonld",
584+
"option": {"processingMode": "json-ld-1.1"}
582585
}, {
583586
"@id": "#tc004",
584587
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
585588
"name": "deep @context affects nested nodes",
586589
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
587590
"input": "expand-c004-in.jsonld",
588-
"expect": "expand-c004-out.jsonld"
591+
"expect": "expand-c004-out.jsonld",
592+
"option": {"processingMode": "json-ld-1.1"}
589593
}, {
590594
"@id": "#tc005",
591595
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
592596
"name": "scoped context layers on intemediate contexts",
593597
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
594598
"input": "expand-c005-in.jsonld",
595-
"expect": "expand-c005-out.jsonld"
599+
"expect": "expand-c005-out.jsonld",
600+
"option": {"processingMode": "json-ld-1.1"}
596601
}
597602
]
598603
}

0 commit comments

Comments
 (0)