You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/vocab.html
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@
62
62
"@id": "jld:Test",
63
63
"rdfs:label": "Superclass of all JSON-LD tests",
64
64
"@type": "rdfs:Class",
65
-
"rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option."
65
+
"rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" and \"expectErrorCode\" for respectively Positive and Negative Evaluation Tests in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option."
66
66
},
67
67
{
68
68
"@id": "jld:useNativeTypes",
@@ -108,7 +108,7 @@
108
108
"rdfs:label": "Positive Evaluation Test",
109
109
"@type": "rdfs:Class",
110
110
"rdfs:subClassOf": "jld:Test",
111
-
"rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expect\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests."
111
+
"rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expectErrorCode\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests."
112
112
},
113
113
{
114
114
"@id": "jld:HtmlTest",
@@ -318,8 +318,8 @@ <h2>Test Case Classes</h2>
318
318
<dt><strong>Negative Syntax Test</strong></dt>
319
319
<dd><p>A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error.</p>
<dd><p>A Negative Evaluation test is successful when the result of processing the input file specified as <code>mf:action</code> (aliased as "input" in test manifest) results in the error identified by the literal value of <code>mf:result</code> (aliased as "expect" in test manifest). The specifics of invoking test, including the interpretation of options (<code>:option</code>) and other input files are specified through another class. See the <ahref="https://w3c.github.io/json-ld-api/tests/">README</a> for more details on running tests.</p>
<dd><p>A Negative Evaluation test is successful when the result of processing the input file specified as <code>mf:action</code> (aliased as "input" in test manifest) results in the error identified by the literal value of <code>mf:result</code> (aliased as "expectErrorCode" in test manifest). The specifics of invoking test, including the interpretation of options (<code>:option</code>) and other input files are specified through another class. See the <ahref="https://w3c.github.io/json-ld-api/tests/">README</a> for more details on running tests.</p>
<dd><p>A Positive Evaluation test is successful when the result of processing the input file specified as <code>mf:action</code> (aliased as "input" in test manifest) exactly matches the output file specified as <code>mf:result</code> (aliased as "expect" in test manifest) using the comparison defined in another class. The specifics of invoking test, including the interpretation of options (<code>:option</code>) and other input files are specified through another class.</p>
@@ -331,7 +331,7 @@ <h2>Test Case Classes</h2>
331
331
<dd><p>Options passed to the test runner to affect invocation of the appropriate API method.</p>
332
332
</dd>
333
333
<dt><strong>Superclass of all JSON-LD tests</strong></dt>
334
-
<dd><p>All JSON-LD tests have an input file referenced using <code>mf:action</code> (aliased as "input" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using <code>mf:result</code> (aliased as "expect" in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to "json-ld-1.1", unless specified explicitly as a test option.</p>
334
+
<dd><p>All JSON-LD tests have an input file referenced using <code>mf:action</code> (aliased as "input" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using <code>mf:result</code> (aliased as "expect" and "expectErrorCode" for respectively Positive and Negative Evaluation Tests in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to "json-ld-1.1", unless specified explicitly as a test option.</p>
335
335
</dd>
336
336
<dt><strong>To RDF Evaluation Test</strong></dt>
337
337
<dd><p>A <code>ToRDFTest</code> modifies either a <code>PositiveEvaluationTest</code>, <code>NegativeEvaluationTest</code>, <code>PositiveSyntaxTest</code> or <code>NegativeSyntaxTest</code>.</p>
Copy file name to clipboardExpand all lines: tests/vocab.jsonld
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@
56
56
"@id": "jld:Test",
57
57
"rdfs:label": "Superclass of all JSON-LD tests",
58
58
"@type": "rdfs:Class",
59
-
"rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option."
59
+
"rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" and \"expectErrorCode\" for respectively Positive and Negative Evaluation Tests in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option."
60
60
},
61
61
{
62
62
"@id": "jld:useNativeTypes",
@@ -99,10 +99,10 @@
99
99
},
100
100
{
101
101
"@id": "jld:NegativeEvaluationTest",
102
-
"rdfs:label": "Positive Evaluation Test",
102
+
"rdfs:label": "Negative Evaluation Test",
103
103
"@type": "rdfs:Class",
104
104
"rdfs:subClassOf": "jld:Test",
105
-
"rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expect\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests."
105
+
"rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expectErrorCode\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests."
0 commit comments