-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathindex.html
220 lines (209 loc) · 10.9 KB
/
index.html
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE html>
<html
version="XHTML+RDFa 1.0"
xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml"
lang="en">
<head>
<meta charset="utf-8" />
<title>VIE browser tests</title>
<script type="text/javascript" src="../bower_components/jquery/jquery.js"></script>
<link rel="stylesheet" href="./qunit/qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="./qunit/qunit.js"></script>
<script type="text/javascript">
QUnit.config.testTimeout = 30000; // 30 seconds
QUnit.config.updateRate = 0;
</script>
<script type="text/javascript" src="../bower_components/jquery-rdfquery/js/jquery.rdfquery.core.js"></script>
<script type="text/javascript" src="../bower_components/jquery-rdfquery/js/jquery.rdfquery.rules.js"></script>
<script type="text/javascript" src="../bower_components/underscore/underscore.js"></script>
<script type="text/javascript" src="../bower_components/backbone/backbone.js"></script>
<script type="text/javascript" src="../utils/xml2json.js"></script>
<!-- FALLBACKS -->
<script type="text/javascript">
if (window.JSON === undefined ) {
document.write('<' + 'script src="https://raw.github.com/douglascrockford/JSON-js/master/json2.js"></' + 'script>');
}
</script>
<!-- vie.js itself -->
<script type="text/javascript" src="../dist/vie.js"></script>
<!-- load test scripts -->
<!-- CORE -->
<script type="text/javascript" src="core/vie.js"></script>
<script type="text/javascript" src="core/entity.js"></script>
<script type="text/javascript" src="core/type.js"></script>
<script type="text/javascript" src="core/attribute.js"></script>
<script type="text/javascript" src="core/namespaces.js"></script>
<script type="text/javascript" src="core/classic.js"></script>
<!-- SERVICES -->
<script type="text/javascript" src="service/rdfa.js"></script>
<script type="text/javascript" src="service/dbpedia.js"></script>
<!-- a file that is ignored by git that stores every developer's own API keys to access several backend systems (e.g., Zemanta, OpenCalais) -->
<!-- Please have a look at each test-file to find out how such a file should look like -->
<!-- <script type="text/javascript" src="service/api_keys.js"></script>
-->
<script type="text/javascript" src="service/zemanta.js"></script>
<!-- STANDARDS -->
<script type="text/javascript" src="standard/rdfa11-testharness.js"></script>
<!-- MISC -->
<script type="text/javascript" src="core/schema.js"></script>
<!-- Performance testing -->
<!--<script type="text/javascript" src="../utils/jslitmus/JSLitmus.js"></script>
<script type="text/javascript" src="speed.js"></script>-->
</head>
<body xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dbp="http://dbpedia.org/property/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:iks="http://iks-project.eu/ontology/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:mgd="http://www.midgard-project.org/midgard2/9.03/">
<h1 id="qunit-header">Unit tests for vie.js - using QUnit</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
<div class="rdfa-simple">
<div about="http://dbpedia.org/resource/Albert_Einstein">
<span property="foaf:name">Albert Einstein</span>
<span property="dbp:dateOfBirth" datatype="xsd:date">1879-03-14</span>
<div rel="dbp:birthPlace" resource="http://dbpedia.org/resource/Germany"></div>
<span about="http://dbpedia.org/resource/Germany" property="dbp:conventionalLongName">Federal Republic of Germany</span>
</div>
</div>
<div class="rdfa-updating">
<div about="http://dbpedia.org/resource/Albert_Einstein">
<span property="foaf:name">Albert Einstein</span>
<span property="dbp:dateOfBirth" datatype="xsd:date">1879-03-14</span>
<div rel="dbp:birthPlace" resource="http://dbpedia.org/resource/Germany"></div>
<span about="http://dbpedia.org/resource/Germany" property="dbp:conventionalLongName">Federal Republic of Germany</span>
</div>
</div>
<div class="rdfa-nested">
<div id="myarticle" typeof="http://rdfs.org/sioc/ns#Post" about="http://example.net/blog/news_item">
<h1 property="dcterms:title">
<span>News item title</span>
</h1>
</div>
</div>
<div class="rdfa-property-content">
<div about="http://twitter.com/bergie">
<span property="foaf:name">Henri Bergius</span>
<span property="iks:online" content="0"></span>
</div>
</div>
<div class="rdfa-wikipedia">
<p about="http://www.example.com/books/wikinomics">
In his latest book <cite property="dc:title">Wikinomics</cite>, <span property="dc:creator">Don Tapscott</span> explains deep changes in technology, demographics and business. The book is due to be published in <span property="dc:date" content="2006-10-01">October 2006</span>.
</p>
</div>
<div class="rdfa-image-entitization">
<div id="myarticle" typeof="http://rdfs.org/sioc/ns#Post" about="http://example.net/blog/news_item">
<h1 property="dcterms:title"><span>News item title</span></h1>
<span rel="mgd:icon"><img typeof="mgd:photo" src="http://example.net/image.jpg" /></span>
</div>
</div>
<div class="rdfa11-1">
<p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>'
</div>
<div class="rdfa-collection-reset">
<div about="http://example.net/collectionreset">
<ul rel="collection">
<li about="http://example.net/collectionreset/item" typeof="sioc:Post"><span property="title">Title</span></li>
</ul>
</div>
</div>
<div class="rdfa-collection-twotemplates">
<div about="http://example.net/mycollection">
<div rel="section">
<div about="foo" typeof="first">
<h1 property="title">Content</h1>
</div>
<div about="bar" typeof="second">
<h2 property="title">Content</h2>
</div>
</div>
</div>
</div>
<div class="rdfa-collection-scripttemplate">
<script type="text/html" class="template">
<div about="bar" typeof="second">
<h2 property="title">Content</h2>
</div>
</script>
<div about="http://example.net/mycollection">
<div rel="section">
</div>
</div>
</div>
<div class="rdfa-collection-scripttemplate2">
<script type="text/html" class="template">
<div about="bar" typeof="second">
<h2 property="title">Content</h2>
</div>
</script>
<div about="http://example.net/mycollection">
<div rel="section">
</div>
</div>
</div>
<div class="rdfa-collection-direct">
<div about="http://example.net/mycollection" rel="section">
<h1 property="title" about="foo" typeof="first">Content</h1>
<div about="bar" typeof="second">
<h2 property="title">Content</h2>
</div>
</div>
</div>
<div class="rdfa-datatypes">
<div about="http://example.net/datatypes">
<div property="boolean" datatype="xsd:boolean" content="false">False</div>
<div property="boolean2" datatype="xsd:boolean" content="true">Yes</div>
<div property="date" datatype="xsd:dateTime" content="2012-09-05T16:30:00Z">Back in September</div>
<div property="number" datatype="xsd:integer">123</div>
</div>
</div>
<div class="rdfa-twoinstances">
<div about="http://example.net/example">
<div property="dcterms:title">Foo</div>
</div>
<div about="http://example.net/example">
<div property="dcterms:description">Bar</div>
</div>
</div>
<div class="rdfa-anonrelation">
<div about="http://example.net/example">
<div property="dcterms:title">Foo</div>
<div rel="relations">
<div typeof="relation">
<div property="dcterms:title">Bar</div>
</div>
</div>
</div>
</div>
<div class="rdfa-deeprelation">
<div about="http://example.net/example">
<div property="dcterms:title">Foo</div>
<div rel="relations">
<div about="http://example.net/first">
<div property="dcterms:title">Bar</div>
<div rel="subrelations">
<div about="http://example.net/second">
<div property="dcterms:title">Baz</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="rdfa-localns">
<div xmlns:foo="http://foo.org/" class="localns" typeof="foo:Bar">
<div property="foo:Baz">Foo</div>
</div>
</div>
</div>
<!--<h1 id="qunit-header"><a href="#">vie.js Speed Suite</a></h1>
<div id="jslitmus_container" style="margin: 20px 10px;"></div>-->
</body>
</html>