testsuite.scm
1 | ;;;; Copyright (C) 2020 Julien Lepiller <julien@lepiller.eu> |
2 | ;;;; |
3 | ;;;; This library is free software; you can redistribute it and/or |
4 | ;;;; modify it under the terms of the GNU Lesser General Public |
5 | ;;;; License as published by the Free Software Foundation; either |
6 | ;;;; version 3 of the License, or (at your option) any later version. |
7 | ;;;; |
8 | ;;;; This library is distributed in the hope that it will be useful, |
9 | ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
11 | ;;;; Lesser General Public License for more details. |
12 | ;;;; |
13 | ;;;; You should have received a copy of the GNU Lesser General Public |
14 | ;;;; License along with this library; if not, write to the Free Software |
15 | ;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
16 | ;;;; |
17 | |
18 | (define-module (test-modules testsuite) |
19 | #:export (expected-failures |
20 | compact-test-url |
21 | expand-test-url |
22 | flatten-test-url |
23 | html-test-url |
24 | remote-doc-test-url |
25 | jsonld-test-url |
26 | tordf-test-url)) |
27 | |
28 | (define jsonld-test-url "https://w3c.github.io/json-ld-api/tests/") |
29 | |
30 | (define compact-test-url |
31 | (string-append jsonld-test-url "compact-manifest.jsonld")) |
32 | |
33 | (define expand-test-url |
34 | (string-append jsonld-test-url "expand-manifest.jsonld")) |
35 | |
36 | (define flatten-test-url |
37 | (string-append jsonld-test-url "flatten-manifest.jsonld")) |
38 | |
39 | (define html-test-url |
40 | (string-append jsonld-test-url "html-manifest.jsonld")) |
41 | |
42 | (define remote-doc-test-url |
43 | (string-append jsonld-test-url "remote-doc-manifest.jsonld")) |
44 | |
45 | (define tordf-test-url |
46 | (string-append jsonld-test-url "toRdf-manifest.jsonld")) |
47 | |
48 | (define expected-failures |
49 | `(("https://w3c.github.io/json-ld-api/tests/html-manifest.jsonld#te010" . |
50 | "entities are not preserved by xml->sxml") |
51 | ("https://w3c.github.io/json-ld-api/tests/html-manifest.jsonld#te015" . |
52 | "HTML tags in scripts are not ignored by xml->sxml") |
53 | ("https://w3c.github.io/json-ld-api/tests/html-manifest.jsonld#te016" . |
54 | "HTML tags in scripts are not ignored by xml->sxml") |
55 | ("https://w3c.github.io/json-ld-api/tests/html-manifest.jsonld#te017" . |
56 | "HTML tags in scripts are not ignored by xml->sxml") |
57 | )) |
58 |