diff --git a/tests/frame-manifest.jsonld b/tests/frame-manifest.jsonld index dc945da..95c9011 100644 --- a/tests/frame-manifest.jsonld +++ b/tests/frame-manifest.jsonld @@ -620,6 +620,15 @@ "frame": "frame/0069-frame.jsonld", "expect": "frame/0069-out.jsonld", "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0070", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Empty frame with empty context with protected terms.", + "purpose": "Empty frame matches all nodes using empty context and protected terms.", + "input": "frame/0070-in.jsonld", + "frame": "frame/0070-frame.jsonld", + "expect": "frame/0070-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#teo01", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], diff --git a/tests/frame/0070-frame.jsonld b/tests/frame/0070-frame.jsonld new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/frame/0070-frame.jsonld @@ -0,0 +1 @@ +{} diff --git a/tests/frame/0070-in.jsonld b/tests/frame/0070-in.jsonld new file mode 100644 index 0000000..485b2a5 --- /dev/null +++ b/tests/frame/0070-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "T": { + "@id": "ex:T", + "@context": {} + }, + "p1": { + "@id": "ex:p1", + "@context": { + "@protected": true, + "p2": { + "@id": "ex:p2", + "@type": "@id" + } + } + } + }, + "p1": { + "@id": "ex:1", + "@type": "T", + "p2": "ex:test" + } +} diff --git a/tests/frame/0070-out.jsonld b/tests/frame/0070-out.jsonld new file mode 100644 index 0000000..fa74e24 --- /dev/null +++ b/tests/frame/0070-out.jsonld @@ -0,0 +1,23 @@ +{ + "@graph": [ + { + "ex:p1": { + "@id": "ex:1", + "@type": "ex:T", + "ex:p2": { + "@id": "ex:test" + } + } + }, + { + "@id": "ex:1", + "@type": "ex:T", + "ex:p2": { + "@id": "ex:test" + } + }, + { + "@id": "ex:test" + } + ] +}