-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtest.html
89 lines (75 loc) · 1.7 KB
/
test.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>
<head>
<style type="text/css">
body, html {
font-family:sans-serif;
background:#000;
color:#FF0;
padding:0;
margin:0;
font-size:12px;
}
h1 {
font-size:1em;
margin:1em 0 0 0;
padding:0;
font-weight:bold;
}
p {
color:#FFF;
padding:1em;
margin:0;
}
a {
color:#0CF;
}
pre {
background:#222;
padding:1em;
margin:0;
color:#FFF;
text-shadow:2px 2px #000;
}
table {
width:100%;
border-spacing:0;
border-collapse:collapse;
font-size:10px;
}
th, td {
text-align:left;
border-bottom:1px solid #222;
padding:2px 5px;
color:#999;
}
tr.testing th { color:#FFF; }
tr.passed th { color:#0F0; }
tr.failed th { color:#F00; }
#listtests {
position:absolute;
top:0;
left:0;
right:0;
bottom:50%;
overflow:auto;
}
#results {
position:absolute;
top:50%;
left:0;
right:0;
bottom:0;
overflow:auto;
}
</style>
<script type="text/javascript" src="js/domain.js"></script>
<script type="text/javascript" src="js/uitest.js"></script>
<script type="text/javascript" src="js/assert.js"></script>
<script type="text/javascript" src="uitest_tests.js"></script>
</head>
<body onload="UITest.start();">
<div id="listtests"></div>
<pre id="results"></pre>
</body>
</html>