|
6 | 6 | %link{rel: "stylesheet", type: "text/css", href: "https://www.w3.org/StyleSheets/TR/base"}
|
7 | 7 | :css
|
8 | 8 | body: {bacground-image: none;}
|
| 9 | + dl.editor>dd { |
| 10 | + margin: 0 0 0 40px; |
| 11 | + } |
9 | 12 | dl.test-detail {
|
10 | 13 | padding: 0.5em;
|
11 | 14 | }
|
|
49 | 52 | %a{href: "http://www.w3.org/"}
|
50 | 53 | %img{src: "http://www.w3.org/Icons/w3c_home", alt: "W3C", height: 48, width: 72}
|
51 | 54 | %h1{property: "rdfs:label"}<= man['label']
|
52 |
| - %p{property: "rdfs:comment"} |
53 |
| - = Array(man['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>') |
| 55 | + %dl.editor |
| 56 | + %dt="Document Editor" |
| 57 | + %dd |
| 58 | + %a{href: "mailto:[email protected]"} |
| 59 | + Eric Prud'hommeaux |
| 60 | + – W3C |
| 61 | + %dd |
| 62 | + %a{href: "mailto:[email protected]"} |
| 63 | + Gregg Kellogg |
| 64 | + – Kellogg Associates |
54 | 65 | :markdown
|
55 |
| - This page describes W3C RDF Working Group's N-Quads test suite. This test suite contains two kinds of tests: |
| 66 | + [Copyright](http://www.w3.org/Consortium/Legal/ipr-notice#Copyright) © 2010 [<acronym title="World Wide Web Consortium">W3C</acronym>](http://www.w3.org/)<sup>®</sup> ([<acronym title="Massachusetts Institute of Technology">MIT</acronym>](http://www.csail.mit.edu/), [<acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym>](http://www.ercim.org/), [Keio](http://www.keio.ac.jp/)), All Rights Reserved. W3C [liability](http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer), [trademark](http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks), and [document use](http://www.w3.org/Consortium/Legal/copyright-documents) rules apply. |
| 67 | + %hr{title: "Separator for header"} |
| 68 | + %div |
| 69 | + %h2{id: "abstract"}="Abstract" |
| 70 | + %p{property: "rdfs:comment"} |
| 71 | + = Array(man['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>') |
| 72 | + :markdown |
| 73 | + This page describes W3C RDF Working Group's N-Quads test suite. This test suite contains two kinds of tests: |
56 | 74 |
|
57 |
| - * Positive syntax (`rdft:TestNQuadsPositiveSyntax`) - an input N-Quads file with no syntax errors. |
58 |
| - * Negative syntax (rdft:TestNQuadsNegativeSyntax) - an input N-Quads file with at least one syntax error. |
| 75 | + * Positive syntax (`rdft:TestNQuadsPositiveSyntax`) - an input N-Quads file with no syntax errors. |
| 76 | + * Negative syntax (rdft:TestNQuadsNegativeSyntax) - an input N-Quads file with at least one syntax error. |
59 | 77 |
|
60 |
| - These tests are also described in [JSON-LD](manifest.jsonld) and [Turtle](manifest.ttl) format in this directory for convenience. All tests have a name (`mf:name`) and an input (`mf:action`). |
| 78 | + These tests are also described in [JSON-LD](manifest.jsonld) and [Turtle](manifest.ttl) format in this directory for convenience. All tests have a name (`mf:name`) and an input (`mf:action`). |
61 | 79 |
|
62 |
| - * An implementation passes a positive syntax test if it parses the |
63 |
| - input. |
64 |
| - * An implementation passes a negative syntax test if it fails to parse |
65 |
| - the input. |
| 80 | + * An implementation passes a positive syntax test if it parses the |
| 81 | + input. |
| 82 | + * An implementation passes a negative syntax test if it fails to parse |
| 83 | + the input. |
66 | 84 |
|
67 |
| - The home of the test suite is <http://www.w3.org/2013/N-QuadsTests/>. |
| 85 | + The home of the test suite is <http://www.w3.org/2013/N-QuadsTests/>. |
68 | 86 |
|
69 |
| - Tests can be run from the web or by downloading either a [tarball](TESTS.tar.gz) or [zip file](TESTS.zip). |
| 87 | + Tests can be run from the web or by downloading either a [tarball](TESTS.tar.gz) or [zip file](TESTS.zip). |
70 | 88 |
|
71 |
| - See <http://www.w3.org/2011/rdf-wg/wiki/RDF_Test_Suites> for more details. |
| 89 | + See <http://www.w3.org/2011/rdf-wg/wiki/RDF_Test_Suites> for more details. |
72 | 90 |
|
73 |
| - ## Contributing Tests |
74 |
| - The test manifests and entries are built automatically from [manifest.ttl](manifest.ttl) using a Rake task. Tests may be contributed via pull request to [https://github.com/w3c/rdf-tests](https://github.com/w3c/rdf-tests) with suitable changes to the [manifest.ttl](manifest.ttl) and referenced files. |
| 91 | + ### Contributing Tests |
| 92 | + The test manifests and entries are built automatically from [manifest.ttl](manifest.ttl) using a Rake task. Tests may be contributed via pull request to [https://github.com/w3c/rdf-tests](https://github.com/w3c/rdf-tests) with suitable changes to the [manifest.ttl](manifest.ttl) and referenced files. |
75 | 93 |
|
76 |
| - ## Distribution |
77 |
| - Distributed under both the [W3C Test Suite License](http://www.w3.org/Consortium/Legal/2008/04-testsuite-license) and the [W3C 3-clause BSD License](http://www.w3.org/Consortium/Legal/2008/03-bsd-license). To contribute to a W3C Test Suite, see the [policies and contribution forms](http://www.w3.org/2004/10/27-testcases). |
| 94 | + ### Distribution |
| 95 | + Distributed under both the [W3C Test Suite License](http://www.w3.org/Consortium/Legal/2008/04-testsuite-license) and the [W3C 3-clause BSD License](http://www.w3.org/Consortium/Legal/2008/03-bsd-license). To contribute to a W3C Test Suite, see the [policies and contribution forms](http://www.w3.org/2004/10/27-testcases). |
78 | 96 |
|
79 |
| - ## Disclaimer |
80 |
| - UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. |
81 |
| - COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF. |
| 97 | + ### Disclaimer |
| 98 | + UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. |
| 99 | + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF. |
82 | 100 |
|
83 |
| - %dl.test-description |
84 |
| - - man['entries'].each do |test| |
85 |
| - %dt{id: test['@id']} |
86 |
| - %a.testlink{href: "##{test['@id']}"} |
87 |
| - = "#{test['@id']}:" |
88 |
| - %span{about: test['@id'], property: "mf:name"}<~test['name'] |
89 |
| - %dd{property: "mf:entry", inlist: true, resource: test['@id'], typeof: test['@type']} |
90 |
| - %div{property: "rdfs:comment"} |
91 |
| - :markdown |
92 |
| - #{Array(test['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')} |
93 |
| - - if test['type'] =~ /Negative/ |
94 |
| - %p.error |
95 |
| - Negative Test |
96 |
| - %dl.test-detail |
97 |
| - %dt="type" |
98 |
| - %dd<~test['@type'] |
99 |
| - %dt="approval" |
100 |
| - %dd{property: "mf:approval", resource: test['approval']}<~test['approval'] |
101 |
| - - if test['action'] |
102 |
| - %dt="action" |
103 |
| - %dd |
104 |
| - %a{property: "mf:action", href: test['action']}<~test['action'] |
105 |
| - - if test['result'] |
106 |
| - %dt="result" |
107 |
| - %dd |
108 |
| - %a{property: "mf:result", href: test['result']}<~test['result'] |
| 101 | + %div |
| 102 | + %h2 |
| 103 | + Test Descriptions |
| 104 | + %dl.test-description |
| 105 | + - man['entries'].each do |test| |
| 106 | + %dt{id: test['@id']} |
| 107 | + %a.testlink{href: "##{test['@id']}"} |
| 108 | + = "#{test['@id']}:" |
| 109 | + %span{about: test['@id'], property: "mf:name"}<~test['name'] |
| 110 | + %dd{property: "mf:entry", inlist: true, resource: test['@id'], typeof: test['@type']} |
| 111 | + %div{property: "rdfs:comment"} |
| 112 | + :markdown |
| 113 | + #{Array(test['comment']).join(' ').gsub(/\s+/m, ' ').strip.gsub(/(MUST|SHOULD|MAY)/, '<em class="rfc2119">\\1</em>')} |
| 114 | + - if test['type'] =~ /Negative/ |
| 115 | + %p.error |
| 116 | + Negative Test |
| 117 | + %dl.test-detail |
| 118 | + %dt="type" |
| 119 | + %dd<~test['@type'] |
| 120 | + %dt="approval" |
| 121 | + %dd{property: "mf:approval", resource: test['approval']}<~test['approval'] |
| 122 | + - if test['action'] |
| 123 | + %dt="action" |
| 124 | + %dd |
| 125 | + %a{property: "mf:action", href: test['action']}<~test['action'] |
| 126 | + - if test['result'] |
| 127 | + %dt="result" |
| 128 | + %dd |
| 129 | + %a{property: "mf:result", href: test['result']}<~test['result'] |
109 | 130 |
|
110 | 131 | %footer
|
111 | 132 | :markdown
|
|
0 commit comments