1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
|
!!! 5
%html{lang: :en, prefix: "rdfn: http://json-ld.github.io/normalization/test-vocab# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest# rdft: http://www.w3.org/ns/rdftest#"}
%head
%meta{"http-equiv" => "Content-Type", content: "text/html;charset=utf-8"}
%meta{name: "viewport", content: "width=device-width, initial-scale=1.0"}
%link{rel: "stylesheet", type: "text/css", href: "https://www.w3.org/StyleSheets/TR/base"}
:css
body: {bacground-image: none;}
dl.test-detail, dl.test-options {
padding: 0.5em;
}
dl.test-detail>dt, dl.test-options>dt {
float: left;
clear: left;
text-align: right;
font-weight: bold;
color: green;
}
dl.test-detail>dt:after, dl.test-options>dt:after {content: ": "}
dl.test-detail>dd, dl.test-options>dd {
margin: 0 0 0 110px;
padding: 0 0 0.5em 0;
}
dl.test-description>dt {margin-top: 2em;}
dd {margin-left: 0;}
dd code {display: inline;}
footer {text-align: center;}
%title
= man['label']
:css
em.rfc2119 {
text-transform: lowercase;
font-variant: small-caps;
font-style: normal;
color: #900;
}
a.testlink {
color: inherit;
text-decoration: none;
}
a.testlink:hover {
text-decoration: underline;
}
%body{resource: man['id'], typeof: man['type']}
%p
%a{href: "http://www.w3.org/"}
%img{src: "http://www.w3.org/Icons/w3c_home", alt: "W3C", height: 48, width: 72}
%h1{property: "rdfs:label"}<= man['label']
%p{property: "rdfs:comment"}<= man['comment']
:markdown
This page describes RDF Dataset Normalization tests for URGNA2012 and URDNA2015 profiles. These tests are also described in [JSON-LD](manifest.jsonld) and [Turtle](manifest.ttl) formats for convenience. The manifest vocabulary is described in the [RDF Dataset Normalization Test Vocabulary](vocab.html) ([JSON-LD](vocab.jsonld), [Turtle](vocab.ttl)) and is based on the [RDF Test Vocabulary](http://www.w3.org/TR/2014/NOTE-rdf11-testcases-20140225/).
## General instructions for running the RDF Dataset Normalization Test suites
FIXME
## Contributing Tests
The test manifests and entries are built automatically from [manifest.csv](manifest.csv) using [mk_manifest.rb](mk_manifest.rb), where each row defines a combination of RDF, JSON and Validation tests for the same _action_ and implicit files. Tests may be contributed via pull request to [https://github.com/json-ld/normalization](https://github.com/json-ld/normalization) with suitable changes to the [manifest.csv](manifest.csv) and necessary _action_ and _result_ files. Tests will also be considered if a contribution is sent to [public-credentials@w3.org](mailto:public-credentials@w3.org).
## Distribution
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).
## Disclaimer
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.
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.
%section.contents
%h2="Contents"
%ol
- manifests.each do |id, man|
%li
%a{href: "##{id}"}<=man['label']
= "– #{man['entries'].count} entries"
- manifests.each do |id, man|
%section{id: id, property: "mf:entry", inlist: true, resource: id, typeof: man['type']}
%h2<= "#{man['label']} (#{man['entries'].count} entries)"
%p{property: "rdfs:comment"}<= man['comment']
%p
- if id =~/urgna2012/
Instructions specific to running URGNA2012 tests.
- elsif id =~ /urdna2016/
Instructions specific to running URDNA2015 tests.
%dl.test-description
- man['entries'].each do |test|
%dt{id: test['id']}
%a.testlink{href: "##{test['id']}"}
= "#{test['id']}:"
%span{about: test['id'], property: "mf:name"}<~test['name']
%dd{property: "mf:entry", inlist: true, resource: test['id'], typeof: test['type']}
%div{property: "rdfs:comment"}
:markdown
#{test['comment'].to_s.gsub(/(MUST|MUST NOT|SHOULD|SHOULD NOT|MAY)/, '<em class="rfc2119">\\1</em>')}
%dl.test-detail
%dt="type"
%dd<~test['type']
%dt="approval"
%dd{property: "mf:approval", resource: test['approval']}<~test['approval']
- if test['action']
%dt="action"
%dd
%a{property: "mf:action", href: test['action']}<~test['action']
- if test['result']
%dt="result"
%dd
%a{property: "mf:result", href: test['result']}<~test['result']
%footer
:markdown
[Copyright ©](http://www.w3.org/Consortium/Legal/ipr-notice#Copyright) 2015 [W3C](http://www.w3.org/)® ([MIT](http://www.csail.mit.edu/), [ERCIM](http://www.ercim.org/), [Keio](http://www.keio.ac.jp/), [Beihang](http://ev.buaa.edu.cn/)). 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.
|