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 | |
27 | (define jsonld-test-url "https://w3c.github.io/json-ld-api/tests/") |
28 | |
29 | (define compact-test-url |
30 | (string-append jsonld-test-url "compact-manifest.jsonld")) |
31 | |
32 | (define expand-test-url |
33 | (string-append jsonld-test-url "expand-manifest.jsonld")) |
34 | |
35 | (define flatten-test-url |
36 | (string-append jsonld-test-url "flatten-manifest.jsonld")) |
37 | |
38 | (define html-test-url |
39 | (string-append jsonld-test-url "html-manifest.jsonld")) |
40 | |
41 | (define remote-doc-test-url |
42 | (string-append jsonld-test-url "remote-doc-manifest.jsonld")) |
43 | |
44 | (define expected-failures |
45 | `(("https://w3c.github.io/json-ld-api/tests/html-manifest.jsonld#te010" . |
46 | "entities are not preserved by xml->sxml") |
47 | ("https://w3c.github.io/json-ld-api/tests/html-manifest.jsonld#te015" . |
48 | "HTML tags in scripts are not ignored by xml->sxml") |
49 | ("https://w3c.github.io/json-ld-api/tests/html-manifest.jsonld#te016" . |
50 | "HTML tags in scripts are not ignored by xml->sxml") |
51 | ("https://w3c.github.io/json-ld-api/tests/html-manifest.jsonld#te017" . |
52 | "HTML tags in scripts are not ignored by xml->sxml") |
53 | )) |
54 |