Skip to content

Commit 2f19dc4

Browse files
committed
Merge remote-tracking branch 'origin/master' into issue-430-containers
# Conflicts: # test-suite/tests/compact-manifest.jsonld # test-suite/tests/expand-manifest.jsonld
2 parents 1d56389 + 327a188 commit 2f19dc4

File tree

2 files changed

+36
-18
lines changed

2 files changed

+36
-18
lines changed

test-suite/tests/compact-manifest.jsonld

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -592,71 +592,80 @@
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
"@id": "#tm001",
630635
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
631636
"name": "Indexes to object not having an @id",
632637
"purpose": "Compaction using @container: @id",
633638
"input": "compact-m001-in.jsonld",
634639
"context": "compact-m001-context.jsonld",
635-
"expect": "compact-m001-out.jsonld"
640+
"expect": "compact-m001-out.jsonld",
641+
"option": {"processingMode": "json-ld-1.1"}
636642
}, {
637643
"@id": "#tm002",
638644
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
639645
"name": "Indexes to object already having an @id",
640646
"purpose": "Compaction using @container: @id",
641647
"input": "compact-m002-in.jsonld",
642648
"context": "compact-m002-context.jsonld",
643-
"expect": "compact-m002-out.jsonld"
649+
"expect": "compact-m002-out.jsonld",
650+
"option": {"processingMode": "json-ld-1.1"}
644651
}, {
645652
"@id": "#tm003",
646653
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
647654
"name": "Indexes to object not having an @type",
648655
"purpose": "Compaction using @container: @type",
649656
"input": "compact-m003-in.jsonld",
650657
"context": "compact-m003-context.jsonld",
651-
"expect": "compact-m003-out.jsonld"
658+
"expect": "compact-m003-out.jsonld",
659+
"option": {"processingMode": "json-ld-1.1"}
652660
}, {
653661
"@id": "#tm004",
654662
"@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
655663
"name": "Indexes to object already having an @type",
656664
"purpose": "Compaction using @container: @type",
657665
"input": "compact-m004-in.jsonld",
658666
"context": "compact-m004-context.jsonld",
659-
"expect": "compact-m004-out.jsonld"
667+
"expect": "compact-m004-out.jsonld",
668+
"option": {"processingMode": "json-ld-1.1"}
660669
}
661670
]
662671
}

test-suite/tests/expand-manifest.jsonld

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -564,63 +564,72 @@
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
"@id": "#tm001",
598603
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
599604
"name": "Adds @id to object not having an @id",
600605
"purpose": "Expansion using @container: @id",
601606
"input": "expand-m001-in.jsonld",
602-
"expect": "expand-m001-out.jsonld"
607+
"expect": "expand-m001-out.jsonld",
608+
"option": {"processingMode": "json-ld-1.1"}
603609
}, {
604610
"@id": "#tm002",
605611
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
606612
"name": "Retains @id in object already having an @id",
607613
"purpose": "Expansion using @container: @id",
608614
"input": "expand-m002-in.jsonld",
609-
"expect": "expand-m002-out.jsonld"
615+
"expect": "expand-m002-out.jsonld",
616+
"option": {"processingMode": "json-ld-1.1"}
610617
}, {
611618
"@id": "#tm003",
612619
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
613620
"name": "Adds @type to object not having an @type",
614621
"purpose": "Expansion using @container: @type",
615622
"input": "expand-m003-in.jsonld",
616-
"expect": "expand-m003-out.jsonld"
623+
"expect": "expand-m003-out.jsonld",
624+
"option": {"processingMode": "json-ld-1.1"}
617625
}, {
618626
"@id": "#tm004",
619627
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
620628
"name": "Prepends @type in object already having an @type",
621629
"purpose": "Expansion using @container: @type",
622630
"input": "expand-m004-in.jsonld",
623-
"expect": "expand-m004-out.jsonld"
631+
"expect": "expand-m004-out.jsonld",
632+
"option": {"processingMode": "json-ld-1.1"}
624633
}
625634
]
626635
}

0 commit comments

Comments
 (0)