Update test manifest definitions to be compatible with other RDF test suites using <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#>.
--- a/test-suite/context.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/context.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -2,17 +2,17 @@
"@context": {
"dc": "http://purl.org/dc/terms/",
"jld": "http://json-ld.org/test-suite/vocab#",
- "test": "http://www.w3.org/2006/03/test-description#",
+ "mf": "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
- "context": { "@id": "test:input", "@type": "@id" },
- "expect": { "@id": "test:informationResourceResults", "@type": "@id" },
- "frame": { "@id": "test:input", "@type": "@id" },
- "input": { "@id": "test:informationResourceInput", "@type": "@id" },
- "name": "dc:title",
- "optimize": { "@id": "test:input", "@type": "@id"},
- "purpose": "test:purpose",
- "sequence": { "@id": "jld:sequence", "@type": "@id", "@container": "@list" },
+ "context": { "@id": "jld:input", "@type": "@id" },
+ "expect": { "@id": "mf:result", "@type": "@id" },
+ "frame": { "@id": "jld:input", "@type": "@id" },
+ "input": { "@id": "mf:action", "@type": "@id" },
+ "name": "rdfs:comment",
+ "optimize": { "@id": "jld:input", "@type": "@id"},
+ "purpose": "rdfs:comment",
+ "sequence": { "@id": "mf:entries", "@type": "@id", "@container": "@list" },
"baseIri": { "@id": "jld:baseiri", "@type": "@id" }
}
}
--- a/test-suite/manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -1,7 +1,7 @@
{
"@context": "http://json-ld.org/test-suite/context.jsonld",
"@id": "",
- "@type": "jld:Manifest",
+ "@type": "mf:Manifest",
"rdfs:comment": "This manifest loads additional manifests for specific behavior tests",
"name": "JSON-LD Test Suite",
"sequence": [
--- a/test-suite/tests/compact-manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/tests/compact-manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -1,397 +1,397 @@
{
"@context": "http://json-ld.org/test-suite/context.jsonld",
"@id": "",
- "@type": "jld:Manifest",
+ "@type": "mf:Manifest",
"rdfs:comment": "JSON-LD to Compaction tests use object compare",
"name": "compact",
"baseIri": "http://json-ld.org/test-suite/tests/",
"sequence": [
{
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "drop free-floating nodes",
"input": "compact-0001-in.jsonld",
"context": "compact-0001-context.jsonld",
"expect": "compact-0001-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "basic",
"input": "compact-0002-in.jsonld",
"context": "compact-0002-context.jsonld",
"expect": "compact-0002-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "drop null and unmapped properties",
"input": "compact-0003-in.jsonld",
"context": "compact-0003-context.jsonld",
"expect": "compact-0003-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "optimize @set, keep empty arrays",
"input": "compact-0004-in.jsonld",
"context": "compact-0004-context.jsonld",
"expect": "compact-0004-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "@type and prefix compaction",
"input": "compact-0005-in.jsonld",
"context": "compact-0005-context.jsonld",
"expect": "compact-0005-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "keep expanded object format if @type doesn't match",
"input": "compact-0006-in.jsonld",
"context": "compact-0006-context.jsonld",
"expect": "compact-0006-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "add context",
"input": "compact-0007-in.jsonld",
"context": "compact-0007-context.jsonld",
"expect": "compact-0007-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "alias keywords",
"input": "compact-0008-in.jsonld",
"context": "compact-0008-context.jsonld",
"expect": "compact-0008-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "compact @id",
"input": "compact-0009-in.jsonld",
"context": "compact-0009-context.jsonld",
"expect": "compact-0009-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "array to @graph",
"input": "compact-0010-in.jsonld",
"context": "compact-0010-context.jsonld",
"expect": "compact-0010-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "compact date",
"input": "compact-0011-in.jsonld",
"context": "compact-0011-context.jsonld",
"expect": "compact-0011-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "native types",
"input": "compact-0012-in.jsonld",
"context": "compact-0012-context.jsonld",
"expect": "compact-0012-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "@value with @language",
"input": "compact-0013-in.jsonld",
"context": "compact-0013-context.jsonld",
"expect": "compact-0013-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "array to aliased @graph",
"input": "compact-0014-in.jsonld",
"context": "compact-0014-context.jsonld",
"expect": "compact-0014-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "best match compaction",
"input": "compact-0015-in.jsonld",
"context": "compact-0015-context.jsonld",
"expect": "compact-0015-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "recursive named graphs",
"input": "compact-0016-in.jsonld",
"context": "compact-0016-context.jsonld",
"expect": "compact-0016-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "A term mapping to null removes the mapping",
"input": "compact-0017-in.jsonld",
"context": "compact-0017-context.jsonld",
"expect": "compact-0017-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "best matching term for lists",
"input": "compact-0018-in.jsonld",
"context": "compact-0018-context.jsonld",
"expect": "compact-0018-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Keep duplicate values in @list and @set",
"input": "compact-0019-in.jsonld",
"context": "compact-0019-context.jsonld",
"expect": "compact-0019-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact @id that is a property IRI when @container is @list",
"input": "compact-0020-in.jsonld",
"context": "compact-0020-context.jsonld",
"expect": "compact-0020-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact properties and types using @vocab",
"input": "compact-0021-in.jsonld",
"context": "compact-0021-context.jsonld",
"expect": "compact-0021-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact nested properties using @list containers",
"input": "compact-0022-in.jsonld",
"context": "compact-0022-context.jsonld",
"expect": "compact-0022-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "@vocab takes precedence over prefixes - even if the result is longer",
"input": "compact-0023-in.jsonld",
"context": "compact-0023-context.jsonld",
"expect": "compact-0023-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "The most specific term that matches all of the elements in the list, taking into account the default language, must be selected.",
"input": "compact-0024-in.jsonld",
"context": "compact-0024-context.jsonld",
"expect": "compact-0024-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Language maps",
"input": "compact-0025-in.jsonld",
"context": "compact-0025-context.jsonld",
"expect": "compact-0025-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Using language maps with @vocab, a default language, and a competing term",
"input": "compact-0026-in.jsonld",
"context": "compact-0026-context.jsonld",
"expect": "compact-0026-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Fall back to term with @set container if term with language map is defined",
"input": "compact-0027-in.jsonld",
"context": "compact-0027-context.jsonld",
"expect": "compact-0027-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Alias keywords and use @vocab",
"input": "compact-0028-in.jsonld",
"context": "compact-0028-context.jsonld",
"expect": "compact-0028-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Simple @index map",
"input": "compact-0029-in.jsonld",
"context": "compact-0029-context.jsonld",
"expect": "compact-0029-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Preserve @index tags if not compacted to an index map",
"input": "compact-0030-in.jsonld",
"context": "compact-0030-context.jsonld",
"expect": "compact-0030-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact @reverse",
"input": "compact-0031-in.jsonld",
"context": "compact-0031-context.jsonld",
"expect": "compact-0031-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact keys in reverse-maps",
"input": "compact-0032-in.jsonld",
"context": "compact-0032-context.jsonld",
"expect": "compact-0032-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact reverse-map to reverse property",
"input": "compact-0033-in.jsonld",
"context": "compact-0033-context.jsonld",
"expect": "compact-0033-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Do not use reverse property if no other property matches as normal property",
"input": "compact-0034-in.jsonld",
"context": "compact-0034-context.jsonld",
"expect": "compact-0034-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact pure node references to strings for reverse properties",
"input": "compact-0035-in.jsonld",
"context": "compact-0035-context.jsonld",
"expect": "compact-0035-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact reverse properties using index containers",
"input": "compact-0036-in.jsonld",
"context": "compact-0036-context.jsonld",
"expect": "compact-0036-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact keys in @reverse using @vocab",
"input": "compact-0037-in.jsonld",
"context": "compact-0037-context.jsonld",
"expect": "compact-0037-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Index map round-tripping (Drupal content deployment)",
"input": "compact-0038-in.jsonld",
"context": "compact-0038-context.jsonld",
"expect": "compact-0038-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Value of @graph is always an array",
"input": "compact-0039-in.jsonld",
"context": "compact-0039-context.jsonld",
"expect": "compact-0039-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Ensure that value of @list is always an array",
"input": "compact-0040-in.jsonld",
"context": "compact-0040-context.jsonld",
"expect": "compact-0040-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "If an index is present, a term having an @list container is not selected",
"input": "compact-0041-in.jsonld",
"context": "compact-0041-context.jsonld",
"expect": "compact-0041-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Make sure keyword aliasing works if a list can't be compacted",
"input": "compact-0042-in.jsonld",
"context": "compact-0042-context.jsonld",
"expect": "compact-0042-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Ensure that @vocab compaction isn't used if the result collides with a term",
"input": "compact-0043-in.jsonld",
"context": "compact-0043-context.jsonld",
"expect": "compact-0043-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term",
"input": "compact-0044-in.jsonld",
"context": "compact-0044-context.jsonld",
"expect": "compact-0044-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Values of @id are transformed to relative IRIs, terms are ignored",
"input": "compact-0045-in.jsonld",
"context": "compact-0045-context.jsonld",
"expect": "compact-0045-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Wrap top-level array into @graph even if no context is passed",
"input": "compact-0046-in.jsonld",
"context": "compact-0046-context.jsonld",
"expect": "compact-0046-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Prefer terms with a language mapping set to null over terms without language-mapping for non-strings",
"input": "compact-0048-in.jsonld",
"context": "compact-0048-context.jsonld",
"expect": "compact-0048-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Round tripping of lists that contain just IRIs",
"input": "compact-0049-in.jsonld",
"context": "compact-0049-context.jsonld",
"expect": "compact-0049-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Round tripping @list with scalar",
"input": "compact-0051-in.jsonld",
"context": "compact-0051-context.jsonld",
"expect": "compact-0051-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Round tripping @list with scalar and @graph alias",
"input": "compact-0052-in.jsonld",
"context": "compact-0052-context.jsonld",
"expect": "compact-0052-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact to @type: @vocab when no @type: @id term available",
"input": "compact-0053-in.jsonld",
"context": "compact-0053-context.jsonld",
"expect": "compact-0053-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact to @type: @vocab and compact @id to term",
"input": "compact-0054-in.jsonld",
"context": "compact-0054-context.jsonld",
"expect": "compact-0054-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Round tripping @type: @vocab",
"input": "compact-0055-in.jsonld",
"context": "compact-0055-context.jsonld",
"expect": "compact-0055-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Prefer @type: @vocab over @type: @id for terms",
"input": "compact-0056-in.jsonld",
"context": "compact-0056-context.jsonld",
"expect": "compact-0056-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Complex round tripping @type: @vocab and @type: @id",
"input": "compact-0057-in.jsonld",
"context": "compact-0057-context.jsonld",
"expect": "compact-0057-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Prefer @type: @id over @type: @vocab for non-terms",
"input": "compact-0058-in.jsonld",
"context": "compact-0058-context.jsonld",
"expect": "compact-0058-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms",
"input": "compact-0059-in.jsonld",
"context": "compact-0059-context.jsonld",
"expect": "compact-0059-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms",
"input": "compact-0060-in.jsonld",
"context": "compact-0060-context.jsonld",
"expect": "compact-0060-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)",
"input": "compact-0061-in.jsonld",
"context": "compact-0061-context.jsonld",
"expect": "compact-0061-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Relative IRIs don't round-trip with @type: @vocab",
"input": "compact-0062-in.jsonld",
"context": "compact-0062-context.jsonld",
"expect": "compact-0062-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact IRI round-tripping with @type: @vocab",
"input": "compact-0063-in.jsonld",
"context": "compact-0063-context.jsonld",
"expect": "compact-0063-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact language-tagged and indexed strings to index-map",
"input": "compact-0064-in.jsonld",
"context": "compact-0064-context.jsonld",
"expect": "compact-0064-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Language-tagged and indexed strings don't compact to language-map",
"input": "compact-0065-in.jsonld",
"context": "compact-0065-context.jsonld",
"expect": "compact-0065-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Relative IRIs",
"input": "compact-0066-in.jsonld",
"context": "compact-0066-context.jsonld",
"expect": "compact-0066-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:CompactTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"],
"name": "Compact reverse property whose values are unlabeled blank nodes",
"input": "compact-0067-in.jsonld",
"context": "compact-0067-context.jsonld",
--- a/test-suite/tests/error-expand-manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/tests/error-expand-manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -7,7 +7,7 @@
"baseIri": "http://json-ld.org/test-suite/tests/",
"sequence": [
{
- "@type": [ "test:TestCase", "jld:ExpandTest", "jld:ApiErrorTest" ],
+ "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:ApiErrorTest" ],
"name": "Keywords cannot be aliased to other keywords",
"input": "error-expand-0001-in.jsonld",
"expect": "keyword redefinition"
--- a/test-suite/tests/expand-manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/tests/expand-manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -7,339 +7,339 @@
"baseIri": "http://json-ld.org/test-suite/tests/",
"sequence": [
{
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "drop free-floating nodes",
"input": "expand-0001-in.jsonld",
"expect": "expand-0001-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "basic",
"input": "expand-0002-in.jsonld",
"expect": "expand-0002-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "drop null and unmapped properties",
"input": "expand-0003-in.jsonld",
"expect": "expand-0003-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "optimize @set, keep empty arrays",
"input": "expand-0004-in.jsonld",
"expect": "expand-0004-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "do not expand aliased @id/@type",
"input": "expand-0005-in.jsonld",
"expect": "expand-0005-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "alias keywords",
"input": "expand-0006-in.jsonld",
"expect": "expand-0006-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "date type-coercion",
"input": "expand-0007-in.jsonld",
"expect": "expand-0007-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@value with @language",
"input": "expand-0008-in.jsonld",
"expect": "expand-0008-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@graph with terms",
"input": "expand-0009-in.jsonld",
"expect": "expand-0009-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "native types",
"input": "expand-0010-in.jsonld",
"expect": "expand-0010-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "coerced @id",
"input": "expand-0011-in.jsonld",
"expect": "expand-0011-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@graph with embed",
"input": "expand-0012-in.jsonld",
"expect": "expand-0012-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand already expanded",
"input": "expand-0013-in.jsonld",
"expect": "expand-0013-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@set of @value objects with keyword aliases",
"input": "expand-0014-in.jsonld",
"expect": "expand-0014-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "collapse set of sets, keep empty lists",
"input": "expand-0015-in.jsonld",
"expect": "expand-0015-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "context reset",
"input": "expand-0016-in.jsonld",
"expect": "expand-0016-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@graph and @id aliased",
"input": "expand-0017-in.jsonld",
"expect": "expand-0017-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "override default @language in terms; only language-tag strings",
"input": "expand-0018-in.jsonld",
"expect": "expand-0018-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "remove @value = null",
"input": "expand-0019-in.jsonld",
"expect": "expand-0019-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "do not remove @graph if not at top-level",
"input": "expand-0020-in.jsonld",
"expect": "expand-0020-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "do not remove @graph at top-level if not only property",
"input": "expand-0021-in.jsonld",
"expect": "expand-0021-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand value with default language",
"input": "expand-0022-in.jsonld",
"expect": "expand-0022-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding lists and sets with properties having coercion coerces list/set values",
"input": "expand-0023-in.jsonld",
"expect": "expand-0023-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Multiple contexts",
"input": "expand-0024-in.jsonld",
"expect": "expand-0024-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Problematic IRI expansion tests",
"input": "expand-0025-in.jsonld",
"expect": "expand-0025-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding term mapping to @type uses @type syntax",
"input": "expand-0026-in.jsonld",
"expect": "expand-0026-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Keep duplicate values in @list and @set",
"input": "expand-0027-in.jsonld",
"expect": "expand-0027-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Use @vocab in properties and @type but not in @id",
"input": "expand-0028-in.jsonld",
"expect": "expand-0028-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Relative IRIs",
"input": "expand-0029-in.jsonld",
"expect": "expand-0029-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Language maps",
"input": "expand-0030-in.jsonld",
"expect": "expand-0030-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "type-coercion of native types",
"input": "expand-0031-in.jsonld",
"expect": "expand-0031-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Mapping a term to null decouples it from @vocab",
"input": "expand-0032-in.jsonld",
"expect": "expand-0032-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Using @vocab with with type-coercion",
"input": "expand-0033-in.jsonld",
"expect": "expand-0033-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Multiple properties expanding to the same IRI",
"input": "expand-0034-in.jsonld",
"expect": "expand-0034-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Using language maps with @vocab, a default language, and a colliding property",
"input": "expand-0035-in.jsonld",
"expect": "expand-0035-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding @index",
"input": "expand-0036-in.jsonld",
"expect": "expand-0036-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding @reverse",
"input": "expand-0037-in.jsonld",
"expect": "expand-0037-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Blank nodes are not relabeled during expansion.",
"input": "expand-0038-in.jsonld",
"expect": "expand-0038-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Using terms in a reverse-maps",
"input": "expand-0039-in.jsonld",
"expect": "expand-0039-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Only invoke language and index map expansion if the value is a JSON object",
"input": "expand-0040-in.jsonld",
"expect": "expand-0040-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Reset the default language",
"input": "expand-0041-in.jsonld",
"expect": "expand-0041-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding reverse properties",
"input": "expand-0042-in.jsonld",
"expect": "expand-0042-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Using reverse properties inside a @reverse-container",
"input": "expand-0043-in.jsonld",
"expect": "expand-0043-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Ensure index maps use language mapping",
"input": "expand-0044-in.jsonld",
"expect": "expand-0044-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Top-level value objects are removed",
"input": "expand-0045-in.jsonld",
"expect": "expand-0045-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Free-floating nodes are removed",
"input": "expand-0046-in.jsonld",
"expect": "expand-0046-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Free-floating values in sets are removed, free-floating lists are removed completely",
"input": "expand-0047-in.jsonld",
"expect": "expand-0047-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Terms are ignored in @id",
"input": "expand-0048-in.jsonld",
"expect": "expand-0048-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Using strings as value of a reverse property",
"input": "expand-0049-in.jsonld",
"expect": "expand-0049-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Context definitions using compact IRIs don't inherit the definitions of the prefix",
"input": "expand-0050-in.jsonld",
"expect": "expand-0050-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expansion of keyword aliases in term definitions",
"input": "expand-0051-in.jsonld",
"expect": "expand-0051-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@vocab-relative IRIs in term definitions",
"input": "expand-0052-in.jsonld",
"expect": "expand-0052-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand absolute IRI with @type: @vocab",
"input": "expand-0053-in.jsonld",
"expect": "expand-0053-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand term with @type: @vocab",
"input": "expand-0054-in.jsonld",
"context": "expand-0054-context.jsonld",
"expect": "expand-0054-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand @vocab-relative term with @type: @vocab",
"input": "expand-0055-in.jsonld",
"context": "expand-0055-context.jsonld",
"expect": "expand-0055-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Use terms with @type: @vocab but not with @type: @id",
"input": "expand-0056-in.jsonld",
"expect": "expand-0056-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand relative IRI with @type: @vocab",
"input": "expand-0057-in.jsonld",
"expect": "expand-0057-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand compact IRI with @type: @vocab",
"input": "expand-0058-in.jsonld",
"expect": "expand-0058-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Reset @vocab by setting it to null",
"input": "expand-0059-in.jsonld",
"expect": "expand-0059-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Overwrite document base with @base and reset it again",
"input": "expand-0060-in.jsonld",
"expect": "expand-0060-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Various relative IRIs with with @base",
"input": "expand-0062-in.jsonld",
"expect": "expand-0062-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand a reverse property with an index-container",
"input": "expand-0063-in.jsonld",
"expect": "expand-0063-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand reverse property whose values are unlabeled blank nodes",
"input": "expand-0064-in.jsonld",
"expect": "expand-0064-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Keys that are not mapped to an IRI in a reverse-map are dropped",
"input": "expand-0065-in.jsonld",
"expect": "expand-0065-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Use @vocab to expand keys in reverse-maps",
"input": "expand-0066-in.jsonld",
"expect": "expand-0066-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes",
"input": "expand-0067-in.jsonld",
"expect": "expand-0067-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore",
"input": "expand-0068-in.jsonld",
"expect": "expand-0068-out.jsonld"
--- a/test-suite/tests/flatten-manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/tests/flatten-manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -7,212 +7,212 @@
"baseIri": "http://json-ld.org/test-suite/tests/",
"sequence": [
{
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "id",
"input": "flatten-0001-in.jsonld",
"expect": "flatten-0001-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "basic",
"input": "flatten-0002-in.jsonld",
"expect": "flatten-0002-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "drop null and unmapped properties",
"input": "flatten-0003-in.jsonld",
"expect": "flatten-0003-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "optimize @set, keep empty arrays",
"input": "flatten-0004-in.jsonld",
"expect": "flatten-0004-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "do not expand aliased @id/@type",
"input": "flatten-0005-in.jsonld",
"expect": "flatten-0005-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "alias keywords",
"input": "flatten-0006-in.jsonld",
"expect": "flatten-0006-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "date type-coercion",
"input": "flatten-0007-in.jsonld",
"expect": "flatten-0007-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "@value with @language",
"input": "flatten-0008-in.jsonld",
"expect": "flatten-0008-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "@graph with terms",
"input": "flatten-0009-in.jsonld",
"expect": "flatten-0009-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "native types",
"input": "flatten-0010-in.jsonld",
"expect": "flatten-0010-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "coerced @id",
"input": "flatten-0011-in.jsonld",
"expect": "flatten-0011-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "@graph with embed",
"input": "flatten-0012-in.jsonld",
"expect": "flatten-0012-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "flatten already expanded",
"input": "flatten-0013-in.jsonld",
"expect": "flatten-0013-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "@set of @value objects with keyword aliases",
"input": "flatten-0014-in.jsonld",
"expect": "flatten-0014-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "collapse set of sets, keep empty lists",
"input": "flatten-0015-in.jsonld",
"expect": "flatten-0015-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "context reset",
"input": "flatten-0016-in.jsonld",
"expect": "flatten-0016-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "@graph and @id aliased",
"input": "flatten-0017-in.jsonld",
"expect": "flatten-0017-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "override default @language in terms; only language-tag strings",
"input": "flatten-0018-in.jsonld",
"expect": "flatten-0018-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "remove @value = null",
"input": "flatten-0019-in.jsonld",
"expect": "flatten-0019-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "do not remove @graph if not at top-level",
"input": "flatten-0020-in.jsonld",
"expect": "flatten-0020-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "do not remove @graph at top-level if not only property",
"input": "flatten-0021-in.jsonld",
"expect": "flatten-0021-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "flatten value with default language",
"input": "flatten-0022-in.jsonld",
"expect": "flatten-0022-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Flattening lists and sets with properties having coercion coerces list/set values",
"input": "flatten-0023-in.jsonld",
"expect": "flatten-0023-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Multiple contexts",
"input": "flatten-0024-in.jsonld",
"expect": "flatten-0024-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Problematic IRI flattening tests",
"input": "flatten-0025-in.jsonld",
"expect": "flatten-0025-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Flattening term mapping to @type uses @type syntax",
"input": "flatten-0026-in.jsonld",
"expect": "flatten-0026-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Keep duplicate values in @list but remove them in @set",
"input": "flatten-0027-in.jsonld",
"expect": "flatten-0027-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Use @vocab in properties and @type but not in @id",
"input": "flatten-0028-in.jsonld",
"expect": "flatten-0028-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Relative IRIs",
"input": "flatten-0029-in.jsonld",
"expect": "flatten-0029-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Language maps",
"input": "flatten-0030-in.jsonld",
"expect": "flatten-0030-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "type-coercion of native types",
"input": "flatten-0031-in.jsonld",
"expect": "flatten-0031-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Mapping a term to null decouples it from @vocab",
"input": "flatten-0032-in.jsonld",
"expect": "flatten-0032-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Using @vocab with with type-coercion",
"input": "flatten-0033-in.jsonld",
"expect": "flatten-0033-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Multiple properties expanding to the same IRI",
"input": "flatten-0034-in.jsonld",
"expect": "flatten-0034-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Using language maps with @vocab, a default language, and a colliding property",
"input": "flatten-0035-in.jsonld",
"expect": "flatten-0035-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Flattening @index",
"input": "flatten-0036-in.jsonld",
"expect": "flatten-0036-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Flattening reverse properties",
"input": "flatten-0037-in.jsonld",
"expect": "flatten-0037-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Ensure all blank nodes are relabeled when flattening.",
"input": "flatten-0038-in.jsonld",
"expect": "flatten-0038-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Flattening reverse properties using blank nodes",
"input": "flatten-0039-in.jsonld",
"expect": "flatten-0039-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FlattenTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
"name": "Only invoke language and index map expansion if the value is a JSON object",
"input": "flatten-0040-in.jsonld",
"expect": "flatten-0040-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Free-floating sets and lists",
"input": "flatten-0041-in.jsonld",
"expect": "flatten-0041-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:ExpandTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Lists objects are implicit unlabeled blank nodes and thus never equivalent",
"input": "flatten-0042-in.jsonld",
"expect": "flatten-0042-out.jsonld"
--- a/test-suite/tests/frame-manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/tests/frame-manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -6,127 +6,127 @@
"name": "frame",
"baseIri": "http://json-ld.org/test-suite/tests/",
"sequence": [{
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "simple",
"input": "frame-0001-in.jsonld",
"frame": "frame-0001-frame.jsonld",
"expect": "frame-0001-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "reframe w/extra CURIE value",
"input": "frame-0002-in.jsonld",
"frame": "frame-0002-frame.jsonld",
"expect": "frame-0002-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "reframe (null)",
"input": "frame-0003-in.jsonld",
"frame": "frame-0003-frame.jsonld",
"expect": "frame-0003-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "reframe (type)",
"input": "frame-0004-in.jsonld",
"frame": "frame-0004-frame.jsonld",
"expect": "frame-0004-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "reframe (explicit)",
"input": "frame-0005-in.jsonld",
"frame": "frame-0005-frame.jsonld",
"expect": "frame-0005-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "reframe (non-explicit)",
"input": "frame-0006-in.jsonld",
"frame": "frame-0006-frame.jsonld",
"expect": "frame-0006-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "input has multiple types",
"input": "frame-0007-in.jsonld",
"frame": "frame-0007-frame.jsonld",
"expect": "frame-0007-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "array framing cases",
"input": "frame-0008-in.jsonld",
"frame": "frame-0008-frame.jsonld",
"expect": "frame-0008-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "default value",
"input": "frame-0009-in.jsonld",
"frame": "frame-0009-frame.jsonld",
"expect": "frame-0009-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "property CURIE conflict",
"input": "frame-0010-in.jsonld",
"frame": "frame-0010-frame.jsonld",
"expect": "frame-0010-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "@embed",
"input": "frame-0011-in.jsonld",
"frame": "frame-0011-frame.jsonld",
"expect": "frame-0011-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Array frame",
"input": "frame-0012-in.jsonld",
"frame": "frame-0012-frame.jsonld",
"expect": "frame-0012-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Replace existing embed",
"input": "frame-0013-in.jsonld",
"frame": "frame-0013-frame.jsonld",
"expect": "frame-0013-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Replace existing embed on 2nd pass",
"input": "frame-0014-in.jsonld",
"frame": "frame-0014-frame.jsonld",
"expect": "frame-0014-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Replace deeply-nested embed",
"input": "frame-0015-in.jsonld",
"frame": "frame-0015-frame.jsonld",
"expect": "frame-0015-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Use @type in ducktype filter",
"input": "frame-0016-in.jsonld",
"frame": "frame-0016-frame.jsonld",
"expect": "frame-0016-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Non-flat input",
"input": "frame-0017-in.jsonld",
"frame": "frame-0017-frame.jsonld",
"expect": "frame-0017-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "no frame @context but @graph output",
"input": "frame-0018-in.jsonld",
"frame": "frame-0018-frame.jsonld",
"expect": "frame-0018-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Resources can be re-embedded again in each top-level frame match",
"input": "frame-0019-in.jsonld",
"frame": "frame-0019-frame.jsonld",
"expect": "frame-0019-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Blank nodes in an array",
"input": "frame-0020-in.jsonld",
"frame": "frame-0020-frame.jsonld",
"expect": "frame-0020-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FrameTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"],
"name": "Blank nodes in @type",
"input": "frame-0021-in.jsonld",
"frame": "frame-0021-frame.jsonld",
--- a/test-suite/tests/fromRdf-manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/tests/fromRdf-manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -7,43 +7,43 @@
"baseIri": "http://json-ld.org/test-suite/tests/",
"sequence": [
{
- "@type": ["test:TestCase", "jld:FromRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
"name": "Object Lists",
"purpose": "Tests generation using different types of objects.",
"input": "fromRdf-0001-in.nq",
"expect": "fromRdf-0001-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FromRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
"name": "Native Types",
"purpose": "Use native datatypes, where possible.",
"input": "fromRdf-0002-in.nq",
"expect": "fromRdf-0002-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FromRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
"name": "BNodes and references",
"purpose": "BNode name generation and references between resources.",
"input": "fromRdf-0003-in.nq",
"expect": "fromRdf-0003-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FromRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
"name": "Lists",
"purpose": "Multiple lists with different types of element.",
"input": "fromRdf-0004-in.nq",
"expect": "fromRdf-0004-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FromRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
"name": "Document with list",
"purpose": "Uses a named graph containing a list.",
"input": "fromRdf-0005-in.nq",
"expect": "fromRdf-0005-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FromRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
"name": "Two graphs having same subject but different values",
"purpose": "Ensure that properties and list elements aren't confused between graphs.",
"input": "fromRdf-0006-in.nq",
"expect": "fromRdf-0006-out.jsonld"
}, {
- "@type": ["test:TestCase", "jld:FromRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
"name": "Graph with multiple named graphs",
"purpose": "Testing @graph recursion.",
"input": "fromRdf-0007-in.nq",
--- a/test-suite/tests/normalize-manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/tests/normalize-manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -6,287 +6,287 @@
"name": "normalize",
"baseIri": "http://json-ld.org/test-suite/tests/",
"sequence": [{
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "simple id",
"input": "normalize-0001-in.jsonld",
"expect": "normalize-0001-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "duplicate property iri values",
"input": "normalize-0002-in.jsonld",
"expect": "normalize-0002-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "bnode",
"input": "normalize-0003-in.jsonld",
"expect": "normalize-0003-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "bnode plus embed w/subject",
"input": "normalize-0004-in.jsonld",
"expect": "normalize-0004-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "bnode embed",
"input": "normalize-0005-in.jsonld",
"expect": "normalize-0005-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "multiple rdf types",
"input": "normalize-0006-in.jsonld",
"expect": "normalize-0006-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "coerce CURIE value",
"input": "normalize-0007-in.jsonld",
"expect": "normalize-0007-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "single subject complex",
"input": "normalize-0008-in.jsonld",
"expect": "normalize-0008-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "multiple subjects - complex",
"input": "normalize-0009-in.jsonld",
"expect": "normalize-0009-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "type",
"input": "normalize-0010-in.jsonld",
"expect": "normalize-0010-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "type-coerced type",
"input": "normalize-0011-in.jsonld",
"expect": "normalize-0011-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "type-coerced type, remove duplicate reference",
"input": "normalize-0012-in.jsonld",
"expect": "normalize-0012-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "type-coerced type, cycle",
"input": "normalize-0013-in.jsonld",
"expect": "normalize-0013-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "check types",
"input": "normalize-0014-in.jsonld",
"expect": "normalize-0014-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "top level context",
"input": "normalize-0015-in.jsonld",
"expect": "normalize-0015-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - dual link - embed",
"input": "normalize-0016-in.jsonld",
"expect": "normalize-0016-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - dual link - non-embed",
"input": "normalize-0017-in.jsonld",
"expect": "normalize-0017-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - self link",
"input": "normalize-0018-in.jsonld",
"expect": "normalize-0018-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - disjoint self links",
"input": "normalize-0019-in.jsonld",
"expect": "normalize-0019-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - diamond",
"input": "normalize-0020-in.jsonld",
"expect": "normalize-0020-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - circle of 2",
"input": "normalize-0021-in.jsonld",
"expect": "normalize-0021-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - double circle of 2",
"input": "normalize-0022-in.jsonld",
"expect": "normalize-0022-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - circle of 3",
"input": "normalize-0023-in.jsonld",
"expect": "normalize-0023-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - double circle of 3 (1-2-3)",
"input": "normalize-0024-in.jsonld",
"expect": "normalize-0024-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - double circle of 3 (1-3-2)",
"input": "normalize-0025-in.jsonld",
"expect": "normalize-0025-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - double circle of 3 (2-1-3)",
"input": "normalize-0026-in.jsonld",
"expect": "normalize-0026-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - double circle of 3 (2-3-1)",
"input": "normalize-0027-in.jsonld",
"expect": "normalize-0027-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - double circle of 3 (3-2-1)",
"input": "normalize-0028-in.jsonld",
"expect": "normalize-0028-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - double circle of 3 (3-1-2)",
"input": "normalize-0029-in.jsonld",
"expect": "normalize-0029-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "blank node - point at circle of 3",
"input": "normalize-0030-in.jsonld",
"expect": "normalize-0030-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "bnode (1)",
"input": "normalize-0031-in.jsonld",
"expect": "normalize-0031-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "bnode (2)",
"input": "normalize-0032-in.jsonld",
"expect": "normalize-0032-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "disjoint identical subgraphs (1)",
"input": "normalize-0033-in.jsonld",
"expect": "normalize-0033-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "disjoint identical subgraphs (2)",
"input": "normalize-0034-in.jsonld",
"expect": "normalize-0034-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "reordered w/strings (1)",
"input": "normalize-0035-in.jsonld",
"expect": "normalize-0035-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "reordered w/strings (2)",
"input": "normalize-0036-in.jsonld",
"expect": "normalize-0036-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "reordered w/strings (3)",
"input": "normalize-0037-in.jsonld",
"expect": "normalize-0037-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "reordered 4 bnodes, reordered 2 properties (1)",
"input": "normalize-0038-in.jsonld",
"expect": "normalize-0038-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "reordered 4 bnodes, reordered 2 properties (2)",
"input": "normalize-0039-in.jsonld",
"expect": "normalize-0039-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "reordered 6 bnodes (1)",
"input": "normalize-0040-in.jsonld",
"expect": "normalize-0040-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "reordered 6 bnodes (2)",
"input": "normalize-0041-in.jsonld",
"expect": "normalize-0041-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "reordered 6 bnodes (3)",
"input": "normalize-0042-in.jsonld",
"expect": "normalize-0042-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "literal with language",
"input": "normalize-0043-in.jsonld",
"expect": "normalize-0043-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "evil (1)",
"input": "normalize-0044-in.jsonld",
"expect": "normalize-0044-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "evil (2)",
"input": "normalize-0045-in.jsonld",
"expect": "normalize-0045-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "evil (3)",
"input": "normalize-0046-in.jsonld",
"expect": "normalize-0046-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "deep diff (1)",
"input": "normalize-0047-in.jsonld",
"expect": "normalize-0047-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "deep diff (2)",
"input": "normalize-0048-in.jsonld",
"expect": "normalize-0048-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "remove null",
"input": "normalize-0049-in.jsonld",
"expect": "normalize-0049-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "nulls",
"input": "normalize-0050-in.jsonld",
"expect": "normalize-0050-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "merging subjects",
"input": "normalize-0051-in.jsonld",
"expect": "normalize-0051-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "alias keywords",
"input": "normalize-0052-in.jsonld",
"expect": "normalize-0052-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "@list",
"input": "normalize-0053-in.jsonld",
"expect": "normalize-0053-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "t-graph",
"input": "normalize-0054-in.jsonld",
"expect": "normalize-0054-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "simple reorder (1)",
"input": "normalize-0055-in.jsonld",
"expect": "normalize-0055-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "simple reorder (2)",
"input": "normalize-0056-in.jsonld",
"expect": "normalize-0056-out.nq"
}, {
- "@type": ["test:TestCase", "jld:NormalizeTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"],
"name": "unnamed graph",
"input": "normalize-0057-in.jsonld",
"expect": "normalize-0057-out.nq"
--- a/test-suite/tests/toRdf-manifest.jsonld Sat Apr 06 13:42:43 2013 +0200
+++ b/test-suite/tests/toRdf-manifest.jsonld Sun Apr 07 14:08:14 2013 -0700
@@ -7,181 +7,181 @@
"baseIri": "http://json-ld.org/test-suite/tests/",
"sequence": [
{
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Plain literal with URIs",
"purpose": "Tests generation of a triple using full URIs and a plain literal.",
"input": "toRdf-0001-in.jsonld",
"expect": "toRdf-0001-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Plain literal with CURIE from default context",
"purpose": "Tests generation of a triple using a CURIE defined in the default context.",
"input": "toRdf-0002-in.jsonld",
"expect": "toRdf-0002-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Default subject is BNode",
"purpose": "Tests that a BNode is created if no explicit subject is set.",
"input": "toRdf-0003-in.jsonld",
"expect": "toRdf-0003-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Literal with language tag",
"purpose": "Tests that a plain literal is created with a language tag.",
"input": "toRdf-0004-in.jsonld",
"expect": "toRdf-0004-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Extended character set literal",
"purpose": "Tests that a literal may be created using extended characters.",
"input": "toRdf-0005-in.jsonld",
"expect": "toRdf-0005-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Typed literal",
"purpose": "Tests creation of a literal with a datatype.",
"input": "toRdf-0006-in.jsonld",
"expect": "toRdf-0006-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Tests 'a' generates rdf:type and object is implicit IRI",
"purpose": "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.",
"input": "toRdf-0007-in.jsonld",
"expect": "toRdf-0007-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test prefix defined in @context",
"purpose": "Generate an IRI using a prefix defined within an @context.",
"input": "toRdf-0008-in.jsonld",
"expect": "toRdf-0008-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test using an empty suffix",
"purpose": "An empty suffix may be used.",
"input": "toRdf-0009-in.jsonld",
"expect": "toRdf-0009-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test object processing defines object",
"purpose": "A property referencing an associative array gets object from subject of array.",
"input": "toRdf-0010-in.jsonld",
"expect": "toRdf-0010-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test object processing defines object with implicit BNode",
"purpose": "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.",
"input": "toRdf-0011-in.jsonld",
"expect": "toRdf-0011-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Multiple Objects for a Single Property",
"purpose": "Tests that Multiple Objects are for a Single Property using array syntax.",
"input": "toRdf-0012-in.jsonld",
"expect": "toRdf-0012-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Creation of an empty list",
"purpose": "Tests that [[]] generates an empty list.",
"input": "toRdf-0013-in.jsonld",
"expect": "toRdf-0013-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Creation of a list with single element",
"purpose": "Tests that [[a]] generates list.",
"input": "toRdf-0014-in.jsonld",
"expect": "toRdf-0014-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Creation of a list with multiple elements",
"purpose": "Tests that list with multiple elements.",
"input": "toRdf-0015-in.jsonld",
"expect": "toRdf-0015-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Empty IRI expands to resource location",
"purpose": "Expanding an empty IRI uses the test file location.",
"input": "toRdf-0016-in.jsonld",
"expect": "toRdf-0016-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Relative IRI expands relative resource location",
"purpose": "Expanding a relative IRI uses the test file location.",
"input": "toRdf-0017-in.jsonld",
"expect": "toRdf-0017-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Frag ID expands relative resource location",
"purpose": "Expanding a fragment uses the test file location.",
"input": "toRdf-0018-in.jsonld",
"expect": "toRdf-0018-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test type coercion to anyURI",
"purpose": "Tests coercion of object to anyURI when specified.",
"input": "toRdf-0019-in.jsonld",
"expect": "toRdf-0019-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test type coercion to typed literal",
"purpose": "Tests coercion of object to a typed literal when specified.",
"input": "toRdf-0020-in.jsonld",
"expect": "toRdf-0020-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test coercion of double value",
"purpose": "Tests that a decimal value generates a xsd:double typed literal;.",
"input": "toRdf-0022-in.jsonld",
"expect": "toRdf-0022-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test coercion of integer value",
"purpose": "Tests that a decimal value generates a xsd:integer typed literal.",
"input": "toRdf-0023-in.jsonld",
"expect": "toRdf-0023-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test coercion of boolean value",
"purpose": "Tests that a decimal value generates a xsd:boolean typed literal.",
"input": "toRdf-0024-in.jsonld",
"expect": "toRdf-0024-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test list coercion with single element",
"purpose": "Tests that an array with a single element on a property with @list coercion creates an RDF Collection.",
"input": "toRdf-0025-in.jsonld",
"expect": "toRdf-0025-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Test creation of multiple types",
"purpose": "Tests that @type with an array of types creates multiple types.",
"input": "toRdf-0026-in.jsonld",
"expect": "toRdf-0026-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Simple named graph (Wikidata)",
"purpose": "Using @graph with other keys places triples in a named graph.",
"input": "toRdf-0027-in.jsonld",
"expect": "toRdf-0027-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Simple named graph",
"purpose": "Signing a graph.",
"input": "toRdf-0028-in.jsonld",
"expect": "toRdf-0028-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "named graph with embedded named graph",
"purpose": "Tests that named graphs containing named graphs flatten to single level of graph naming.",
"input": "toRdf-0029-in.jsonld",
"expect": "toRdf-0029-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "top-level graph with string subject reference",
"purpose": "Tests graphs containing subject references as strings.",
"input": "toRdf-0030-in.jsonld",
"expect": "toRdf-0030-out.nq"
}, {
- "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
"name": "Reverse property",
"purpose": "Tests conversion of reverse properties.",
"input": "toRdf-0031-in.jsonld",