Fixed acronym definition for OSLC
authorSteve Speicher <sspeiche@gmail.com>
Mon, 08 Sep 2014 12:33:46 -0400
changeset 798 fa7d888d4cd5
parent 797 aa3aeb3c1d5b
child 799 0ecbe1956841
Fixed acronym definition for OSLC
ldp-bp/ldp-bp.html
tests/reports/ldp.html
--- a/ldp-bp/ldp-bp.html	Wed Sep 03 09:22:52 2014 -0400
+++ b/ldp-bp/ldp-bp.html	Mon Sep 08 12:33:46 2014 -0400
@@ -492,8 +492,8 @@
 				One example of such a model can be found in the case of the
 				<code>oslc_cm:attachment</code>
 				container from the vocabularies defined by the <a
-					href="http://open-services.net/">Open Service for Lifecycle
-					Management (OSLC)</a> community. The OSLC defines specifications and
+					href="http://open-services.net/">Open Services for Lifecycle
+					Collaboration (OSLC)</a> community. The OSLC defines specifications and
 				vocabularies that are well-aligned to LDP. A resource in an OSLC
 				compliant change management system such as an issue or bug tracker
 				may have attachments represented by the
--- a/tests/reports/ldp.html	Wed Sep 03 09:22:52 2014 -0400
+++ b/tests/reports/ldp.html	Mon Sep 08 12:33:46 2014 -0400
@@ -19,6 +19,51 @@
     <title>
       Linked Data Platform Implementation Conformance Report
     </title>
+       <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
+    <script type='text/javascript'>
+$(document).ready(function() {
+    function showCoverage() {
+        $.getJSON("./ldp-earl-manifest.jsonld", function(manifest) {
+            $.each(manifest["@graph"], function(index, resource) {
+                var type = resource["rdf:type"];
+                var status = resource["td:reviewStatus"];
+                if (type && "earl:TestCase" === type["@id"] && 
+                	status && "td:approved" !== status["@id"]) {
+                    var id = resource.seeAlso.split("#", 2)[1];
+                    var section = $("section[id|='" + id + "']");
+                    if (section) {
+                        section.addClass("coverage");
+                        if ("ldpt:automated" === resource.testMethod) {
+                            section.addClass("automated");
+                            section.removeClass("manual");
+                            section.removeClass("notTested");
+                        } else if ("ldpt:manual" === resource.testMethod) {
+                            section.addClass("manual");
+                            section.removeClass("notTested");
+                        } else if ("ldpt:clientOnly" === resource.testMethod) {
+                            section.addClass("clientOnly");
+                        } else {
+                            section.addClass("unimplemented");
+                        }
+
+                        var reviewStatus =  resource.reviewStatus.split(":").pop();
+                        section.children().last().after($('<span></span>')
+                            .addClass('test')
+                            .append($('<a></a>', {
+                                text: resource["rdfs:label"] + " (" + reviewStatus + ")",
+                                href: resource.documentation
+                            })));
+                    }
+                }
+            });
+            loaded = true;
+        });
+    }
+});
+
+    
+    
+    </script>
     <script class='remove' src='https://www.w3.org/Tools/respec/respec-w3c-common' type='text/javascript'></script>
     <script type='text/javascript'>
       //<![CDATA[