Update test-suite descriptions and expected manifests for EARL reports.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sun, 25 Aug 2013 14:48:28 -0700
changeset 1929 ce527df44fc4
parent 1928 d5d9c0e0c885
child 1930 ee731e6ac7d1
Update test-suite descriptions and expected manifests for EARL reports.
test-suite/index.html
test-suite/reports/.earl
--- a/test-suite/index.html	Sun Aug 25 14:38:21 2013 -0700
+++ b/test-suite/index.html	Sun Aug 25 14:48:28 2013 -0700
@@ -50,7 +50,7 @@
     ga('send', 'pageview');
   </script>
   <style>
-    li code {display: inline;}
+    li code, p code {display: inline;}
   </style>
 </head>
 <body onload="load_manifests();">
@@ -115,24 +115,35 @@
         <section class="offset2 span8">
           <p>Tests are defined into <em>compact</em>, <em>expand</em>, <em>flatten</em>, <em>frame</em>, <em>normalize</em>, and <em>rdf</em> sections:</p>
           <ul>
-          <li><em>compact</em> tests have <em>input</em>, <em>expected</em> and <em>context</em> documents. The <em>expected</em> results
-            can be compared using JSON object comparison with the processor output.</li>
-          <li><em>expand</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
-            can be compared using JSON object comparison with the processor output.</li>
-          <li><em>flatten</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
+          <li><em>compact</em> tests have <em>input</em>, <em>expected</em> and <em>context</em> documents, and
+            may have <em>options</em>. The <em>expected</em> results
             can be compared using JSON object comparison with the processor output.</li>
-          <li><em>frame</em> tests have <em>input</em>, <em>frame</em> and <em>expected</em> documents. The <em>expected</em> results
+          <li><em>error</em> tests have an <em>input</em> document, and
+            may have a <em>context</em>, <em>frame</em> and <em>options</em>. The <em>expected</em> result
+            is an exception matching an error code defined for <em>JsonLdErrorCode</em>.</li>
+          <li><em>expand</em> tests have <em>input</em> and <em>expected</em> documents, and
+            may have <em>options</em>. The <em>expected</em> results
             can be compared using JSON object comparison with the processor output.</li>
-          <li><em>normalize</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
+          <li><em>flatten</em> tests have <em>input</em> and <em>expected</em> documents, and
+            may have <em>options</em>. The <em>expected</em> results
+            can be compared using JSON object comparison with the processor output.</li>
+          <li><em>frame</em> tests have <em>input</em>, <em>frame</em> and <em>expected</em> documents, and
+            may have <em>options</em>. The <em>expected</em> results
+            can be compared using JSON object comparison with the processor output.</li>
+          <li><em>normalize</em> tests have <em>input</em> and <em>expected</em> documents, and
+            may have <em>options</em>. The <em>expected</em> results
             can be compared using string comparison with the processor output.</li>
-          <li><em>toRdf</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
+          <li><em>toRdf</em> tests have <em>input</em> and <em>expected</em> documents, and
+            may have <em>options</em>. The <em>expected</em> results
             can be compared using string comparison with the processor output.</li>
-          <li><em>fromRdf</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
+          <li><em>fromRdf</em> tests have <em>input</em> and <em>expected</em> documents, and
+            may have <em>options</em>. The <em>expected</em> results
             can be compared using JSON object comparison with the processor output.</li>
           </ul>
           <p>To run the tests, create a test runner which will run through each test manifest
             and execute the tests defined within the manifest using the rules associated with
-            each <code>@type</code> defined for the test case as defined in <a href="vocab">The test vocabulary</a>.</p>
+            each <code>@type</code> defined for the test case as defined in <a href="vocab">the test vocabulary</a>.
+            More details for running different types of tests are also defined in the test vocabulary.</p>
         </section>
       </div>
 
--- a/test-suite/reports/.earl	Sun Aug 25 14:38:21 2013 -0700
+++ b/test-suite/reports/.earl	Sun Aug 25 14:48:28 2013 -0700
@@ -1,9 +1,9 @@
 ---
 :format: :json
 :manifest:
+- http://json-ld.org/test-suite/tests/compact-manifest.jsonld
+- http://json-ld.org/test-suite/tests/error-manifest.jsonld
 - http://json-ld.org/test-suite/tests/expand-manifest.jsonld
-- http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld
-- http://json-ld.org/test-suite/tests/compact-manifest.jsonld
 - http://json-ld.org/test-suite/tests/flatten-manifest.jsonld
 - http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld
 - http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld