Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (48 sloc) 2.53 KB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css" />
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://code.jquery.com/qunit/git/qunit.js"></script>
<script src="jquery.microdata.js"></script>
<script src="schemas.js"></script>
<script src="test.js"></script>
</head>
<body style="padding-bottom:200px">
<h1 id="qunit-header">QUnit example</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">
<ul class="tests">
<!-- a single item with no vocabulary -->
<li itemscope id="single-item-no-vocabulary">
<p itemprop="description">This is a description</p>
</li>
<!-- single item with vocabulary, no properties -->
<li itemscope id="vocab-no-properties" itemtype="http://example.org/Type">
</li>
<!-- multiple values, single property -->
<li itemscope id="multi-value-single-prop" itemtype="http://example.org/Multivalue">
<p itemprop="attending">Peter Bishop</p>
<p itemprop="attending">Walter Bishop</p>
</li>
<!-- multiple properties, single value -->
<li itemscope id="multi-prop-single-value" itemtype="http://example.org/Multiprop">
<p itemprop="admin user">true</p>
</li>
<!-- single item with one required and one missing property per the vocabulary rules -->
<li itemscope id="single-item-missing-property" itemtype="http://data-vocabulary.org/Event">
<p itemprop="summary">This is the event summary</p>
</li>
<!-- single item with both required properties, but one invalid property -->
<li itemscope id="single-item-invalid-property" itemtype="http://data-vocabulary.org/Event">
<p itemprop="summary">Event summary</p>
<time datetime="2011-08-05x" itemprop="startdate">Aug 5th 2011</time>
</li>
</ul>
</div>
</body>
</html>