Shorten over-long test names. Improve fromRDF test name/purpose.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sat, 17 Aug 2013 17:43:08 -0700
changeset 1899 91aec396f71c
parent 1898 5a5fef640b2a
child 1900 31af3c56c0ed
Shorten over-long test names. Improve fromRDF test name/purpose.
test-suite/tests/expand-manifest.jsonld
test-suite/tests/flatten-manifest.jsonld
test-suite/tests/fromRdf-manifest.jsonld
test-suite/tests/toRdf-manifest.jsonld
--- a/test-suite/tests/expand-manifest.jsonld	Sat Aug 17 17:34:18 2013 -0700
+++ b/test-suite/tests/expand-manifest.jsonld	Sat Aug 17 17:43:08 2013 -0700
@@ -247,7 +247,7 @@
     }, {
       "@id": "#t0035",
       "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
-      "name": "Using language maps with @vocab, a default language, and a colliding property",
+      "name": "Language maps with @vocab, default language, and colliding property",
       "purpose": "Pathological tests of language maps",
       "input": "expand-0035-in.jsonld",
       "expect": "expand-0035-out.jsonld"
--- a/test-suite/tests/flatten-manifest.jsonld	Sat Aug 17 17:34:18 2013 -0700
+++ b/test-suite/tests/flatten-manifest.jsonld	Sat Aug 17 17:43:08 2013 -0700
@@ -247,7 +247,7 @@
     }, {
       "@id": "#t0035",
       "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"],
-      "name": "Using language maps with @vocab, a default language, and a colliding property",
+      "name": "Language maps with @vocab, default language, and colliding property",
       "purpose": "Pathological tests of language maps",
       "input": "flatten-0035-in.jsonld",
       "expect": "flatten-0035-out.jsonld"
--- a/test-suite/tests/fromRdf-manifest.jsonld	Sat Aug 17 17:34:18 2013 -0700
+++ b/test-suite/tests/fromRdf-manifest.jsonld	Sat Aug 17 17:43:08 2013 -0700
@@ -58,71 +58,71 @@
     }, {
       "@id": "#t0008",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "Conversion of lists of lists (the triples in the input are only partially ordered on purpose)",
-      "purpose": "Testing list conversion.",
+      "name": "List conversion",
+      "purpose": "Conversion of lists of lists (the triples in the input are only partially ordered on purpose)",
       "input": "fromRdf-0008-in.nq",
       "expect": "fromRdf-0008-out.jsonld"
     }, {
       "@id": "#t0009",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "Preserve IRI list nodes (i.e., not blank nodes) when converting to @list",
-      "purpose": "Testing list conversion.",
+      "name": "List conversion with IRI nodes",
+      "purpose": "Preserve IRI list nodes (i.e., not blank nodes) when converting to @list",
       "input": "fromRdf-0009-in.nq",
       "expect": "fromRdf-0009-out.jsonld"
     }, {
       "@id": "#t0010",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "Do not convert lists that are not terminated by rdf:nil to @list",
-      "purpose": "Testing list conversion.",
+      "name": "List pattern without rdf:nil",
+      "purpose": "Do not convert lists that are not terminated by rdf:nil to @list.",
       "input": "fromRdf-0010-in.nq",
       "expect": "fromRdf-0010-out.jsonld"
     }, {
       "@id": "#t0011",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "If additional properties are associated to a list node, the list is only partially converted to @list",
-      "purpose": "Testing list conversion.",
+      "name": "List pattern with extra properties",
+      "purpose": "If additional properties are associated to a list node, the list is only partially converted to @list.",
       "input": "fromRdf-0011-in.nq",
       "expect": "fromRdf-0011-out.jsonld"
     }, {
       "@id": "#t0012",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "Detect lists containing cycles and do not convert them to @list",
-      "purpose": "Testing list conversion.",
+      "name": "List pattern with cycles",
+      "purpose": "Detect lists containing cycles and do not convert them to @list.",
       "input": "fromRdf-0012-in.nq",
       "expect": "fromRdf-0012-out.jsonld"
     }, {
       "@id": "#t0013",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "Do not convert list nodes to @list if nodes contain more than one value for rdf:first",
-      "purpose": "Testing list conversion.",
+      "name": "List pattern with multiple values of rdf:first",
+      "purpose": "Do not convert list nodes to @list if nodes contain more than one value for rdf:first.",
       "input": "fromRdf-0013-in.nq",
       "expect": "fromRdf-0013-out.jsonld"
     }, {
       "@id": "#t0014",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "Do not convert list nodes to @list if nodes contain more than one value for rdf:rest",
-      "purpose": "Testing list conversion.",
+      "name": "List pattern with multiple values of rdf:rest",
+      "purpose": "Do not convert list nodes to @list if nodes contain more than one value for rdf:rest.",
       "input": "fromRdf-0014-in.nq",
       "expect": "fromRdf-0014-out.jsonld"
     }, {
       "@id": "#t0015",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "Do not convert lists to @list if a list node's rdf:rest is not an IRI",
-      "purpose": "Testing list conversion.",
+      "name": "List pattern with IRI rdf:rest",
+      "purpose": "Do not convert lists to @list if a list node's rdf:rest is an IRI.",
       "input": "fromRdf-0015-in.nq",
       "expect": "fromRdf-0015-out.jsonld"
     }, {
       "@id": "#t0016",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "List nodes may have a rdf:type rdf:List",
-      "purpose": "Testing list conversion.",
+      "name": "List pattern with type rdf:List",
+      "purpose": "List nodes may have a rdf:type rdf:List.",
       "input": "fromRdf-0016-in.nq",
       "expect": "fromRdf-0016-out.jsonld"
     }, {
       "@id": "#t0017",
       "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"],
-      "name": "Equal triples are used only once",
-      "purpose": "Conversion from RDF.",
+      "name": "Remove duplicate triples",
+      "purpose": "Equivalent triples are used only once",
       "input": "fromRdf-0017-in.nq",
       "expect": "fromRdf-0017-out.jsonld"
     }
--- a/test-suite/tests/toRdf-manifest.jsonld	Sat Aug 17 17:34:18 2013 -0700
+++ b/test-suite/tests/toRdf-manifest.jsonld	Sat Aug 17 17:43:08 2013 -0700
@@ -456,7 +456,7 @@
     }, {
       "@id": "#t0075",
       "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"],
-      "name": "Using language maps with @vocab, a default language, and a colliding property",
+      "name": "Language maps with @vocab, default language, and colliding property",
       "input": "toRdf-0075-in.jsonld",
       "expect": "toRdf-0075-out.nq"
     }, {