-
Notifications
You must be signed in to change notification settings - Fork 13
/
qunit.html
89 lines (75 loc) · 2.87 KB
/
qunit.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Deep Tissue Unit Tests</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.9.1.min.js"><\/script>')</script>
<script src="js/specs/qunit.js" type="text/javascript"></script>
<script src="js/specs/beautify-html.js" type="text/javascript"></script>
<script src="js/specs/sinon.js" type="text/javascript"></script>
<script src="js/specs/Util.Tests.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/qunit.css" type="text/css" media="screen" />
<style>
menu {
width: 450px;
height: 50px;
background-color: #0094ff;
}
nav {
display: inline-block;
}
nav a {
height: 50px;
color: #fff;
text-decoration: none;
padding: 10px;
font-size: 24pt;
}
#testtarget
{
height: 100px;
width: 100px;
}
</style>
</head>
<body>
<h1 id="qunit-header">
QUnit tests</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 id="container">
<section class="operation-body"></section>
</div>
</div>
<menu><nav><a href="realmovetest.html">Move</a></nav>
<nav><a href="realswipetest.html">Swipe</a></nav>
<nav><a href="realtapholdtest.html">Tap Hold</a></nav>
<nav><a href="realtaptest.html">Tap</a></nav>
</menu>
<div id="testtarget"></div>
<script src="js/deep-tissue.min.js" type="text/javascript"></script>
<script src="js/specs/deeptissue.tests.js" type="text/javascript"></script>
<script type="text/javascript">
$(document)
.ready(function(){
$('#qunit-tests').addClass('hidepass');
})
.delegate("#qunit-testrunner-toolbar", "DOMNodeInserted", function(e){
$("#qunit-filter-pass").attr("checked", true)
})
.delegate("#qunit-filter-pass", "click", function(e){
e.stopPropagation();
var newValue = $(this).is(":checked");
$('#qunit-tests').toggleClass('hidepass', newValue);
});
</script>
</body>
</html>