Update report format

Julien LepillerMon Mar 30 03:32:31+0200 2020

6f7ac28

Update report format

test-modules/result.scm

102102
      (format port "@prefix earl: <http://www.w3.org/ns/earl#> .~%")
103103
      (format port "@prefix doap: <http://usefulinc.com/ns/doap#> .~%")
104104
      (format port "@prefix foaf: <http://xmlns.com/foaf/0.1/> .~%")
105-
      (format port "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .~%")
106-
      (format port "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .~%")
107105
      (format port "@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .~%")
108106
      (format port "~%")
109107
      (format port "<https://framagit.org/tyreunom/guile-jsonld> a doap:Project;~%")
110108
      (format port "   dc:creator <https://lepiller.eu/#me>;~%")
111109
      (format port "   doap:bug-database <https://framait.org/tyreunom/guile-jsonld/issues>;~%")
112-
      (format port "   doap:created \"2020-03-29\"^^xsd:date;~%")
113110
      (format port "   doap:description \"Guile implementation of the JsonLD API defined by the W3C.\"@en;~%")
114111
      (format port "   doap:developer <https://lepiller.eu/#me>;~%")
115-
      (format port "   doap:documenter <https://lepiller.eu/#me>;~%")
116112
      (format port "   doap:homepage <https://framagit.org/tyreunom/guile-jsonld/>;~%")
117113
      (format port "   doap:implements <https://www.w3.org/TR/json-ld11/>,~%")
118114
      (format port "     <https://www.w3.org/TR/json-ld11-api/>;~%")
119115
      (format port "   doap:license <https://www.gnu.org/licenses/gpl-3.0.html>;~%")
120-
      (format port "   doap:maintainer <https://lepiller.eu/#me>;~%")
121116
      (format port "   doap:name \"guile-jsonld\"^^xsd:string;~%")
122-
      (format port "   doap:platform \"Guile\"^^xsd:string;~%")
117+
      (format port "   doap:platform \"GNU Guile\"^^xsd:string;~%")
123118
      (format port "   doap:shortdesc \"JSON-LD support for GNU Guile.\"@en;~%")
124-
      (format port "   foaf:maker <https://lepiller.eu/#me> .~%")
119+
      (format port "   doap:release [~%")
120+
      (format port "      doap:name \"guile-jsonld-1.0-pre1\";~%")
121+
      (format port "      doap:revision \"1.0-pre1\";~%")
122+
      (format port "      doap:created \"2020-03-29\"^^xsd:date;~%")
123+
      (format port "   ] .~%")
125124
      (format port "~%")
126-
      (format port "<https://lepiller.eu/#me> a foaf:Person;~%")
127-
      (format port "   rdfs:isDefinedBy <https://lepiller.eu/>;~%")
128-
      (format port "   foaf:made <https://framagit.org/tyreunom/guile-jsonld>;~%")
125+
      (format port "<https://lepiller.eu/#me> a earl:Assertor, foaf:Person;~%")
126+
      (format port "   foaf:homepage <https://lepiller.eu>;~%")
129127
      (format port "   foaf:mbox <mailto:julien@lepiller.eu>;~%")
130128
      (format port "   foaf:name \"Julien Lepiller\"^^xsd:string .~%")
131129
      (format port "~%")
132-
      (format port "<https://framagit.org/tyreunom/guile-jsonld> doap:release [~%")
133-
      (format port "  doap:name \"guile-jsonld-1.0\";~%")
134-
      (format port "  doap:revision \"1.0\";~%")
135-
      (format port "  doap:created \"2020-03-29\"^^xsd:date;~%")
136-
      (format port "] .~%")
137130
      (format port "<> foaf:primaryTopic <https://framagit.org/tyreunom/guile-jsonld>;~%")
138131
      (format port "  dc:issued \"~a\"^^xsd:dateTime;~%"
139132
              (date->string (current-date) "~4"))
140133
      (format port "  foaf:maker <https://lepiller.eu/#me> .~%")
141134
      (format port "~%")
142-
      (format port "<https://lepiller.eu/#me> a earl:Assertor;~%")
143-
      (format port "  foaf:title \"Implementor\" .~%")
144-
      (format port "~%")
145135
      (format #t "~a test cases for report~%" (length cases)))
146136
    (lambda (test-case)
147137
      (format port "[ a earl:Assertion;~%")