Skip to content

Mark 1.1 tests with "specVersion": "1.1", which is independent of "processingMode". #518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions test-suite/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",

"context": { "@id": "input", "@type": "@id" },
"context": { "@type": "@id" },
"expect": { "@id": "mf:result", "@type": "@id" },
"frame": { "@id": "input", "@type": "@id" },
"frame": { "@type": "@id" },
"input": { "@id": "mf:action", "@type": "@id" },
"option": { "@type": "@id"},
"sequence": { "@id": "mf:entries", "@type": "@id", "@container": "@list" },
Expand All @@ -23,10 +23,11 @@
"compactToRelative": { "@type": "xsd:boolean" },
"documentLoader": { "@type": "xsd:string" },
"expandContext": { "@type": "xsd:string" },
"httpStatus": { "@type": "xsd:integer" },
"httpLink": { "@type": "xsd:string", "@container": "@set" },
"processingMode": { "@type": "xsd:string" },
"produceGeneralizedRdf":{ "@type": "xsd:boolean" },
"useNativeTypes": { "@type": "xsd:boolean" },
"httpStatus": { "@type": "xsd:integer"},
"httpLink": { "@container": "@set"}
"specVersion": { "@type": "xsd:string" },
"useNativeTypes": { "@type": "xsd:boolean" }
}
}
2 changes: 1 addition & 1 deletion test-suite/manifest.jsonld
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "http://json-ld.org/test-suite/context.jsonld",
"@context": "https://json-ld.org/test-suite/context.jsonld",
"@id": "",
"@type": "mf:Manifest",
"description": "This manifest loads additional manifests for specific behavior tests",
Expand Down
10 changes: 5 additions & 5 deletions test-suite/tests/compact-0038-out.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
"title": {
"en": {
"@type": "site-cd:field-types/title_field",
"site-cd:node/article/title/value": "This is the English title"
"title:/value": "This is the English title"
},
"es": {
"@type": "site-cd:field-types/title_field",
"site-cd:node/article/title/value": "Este es el t’tulo espa–ol"
"title:/value": "Este es el t’tulo espa–ol"
}
},
"body": {
"en": {
"@type": "site-cd:field-types/text_with_summary",
"site-cd:node/article/body/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
"site-cd:node/article/body/summary": "This is the teaser for the body.",
"site-cd:node/article/body/format": "full_html"
"body:/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
"body:/summary": "This is the teaser for the body.",
"body:/format": "full_html"
}
},
"field_tags": {
Expand Down
57 changes: 57 additions & 0 deletions test-suite/tests/compact-0038a-out.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"@context": {
"site": "http://example.com/",
"site-cd": "site:site-schema/content-deployment/",
"title": {
"@id": "site-cd:node/article/title",
"@container": "@index"
},
"body": {
"@id": "site-cd:node/article/body",
"@container": "@index"
},
"field_tags": {
"@id": "site-cd:node/article/field_tags",
"@container": "@index"
}
},
"@id": "site:node/1",
"@type": "site-cd:node/article",
"title": {
"en": {
"@type": "site-cd:field-types/title_field",
"site-cd:node/article/title/value": "This is the English title"
},
"es": {
"@type": "site-cd:field-types/title_field",
"site-cd:node/article/title/value": "Este es el t’tulo espa–ol"
}
},
"body": {
"en": {
"@type": "site-cd:field-types/text_with_summary",
"site-cd:node/article/body/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",
"site-cd:node/article/body/summary": "This is the teaser for the body.",
"site-cd:node/article/body/format": "full_html"
}
},
"field_tags": {
"en": {
"@type": "site-cd:taxonomy/term",
"@id": "site:taxonomy/term/1",
"site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010"
},
"es": [
{
"@type": "site-cd:taxonomy/term",
"@id": "site:taxonomy/term/1",
"site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010"
},
{
"@type": "site-cd:taxonomy/term",
"@id": "site:taxonomy/term/2",
"site-cd:taxonomy/term/uuid": "a55b982c-58ac-4862-9b00-aa221a388010"
}
]
}
}
Loading