-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.html
65 lines (65 loc) · 2.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Coverage Circles - Test</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="libs/qunit.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="src/circles.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="bootstrap.min.css" type="text/css" charset="utf-8">
<script src="libs/underscore.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/color.js" type="text/javascript" charset="utf-8"></script>
<script src="src/circles.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/jquery-1.6.2-min.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/qunit.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/raphael-min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var testScripts = ["circles"];
</script>
<link rel="shortcut icon" href="dots_16x16.png" type="image/x-icon" />
<link rel="icon" href="dots_16x16.png" type="image/x-icon" />
</head>
<body>
<div class="topbar">
<div class="fill">
<div class="container">
<h3>
<a class="brand" href="./">Coverage Circles</a>
<span class="spchar">–</span>
<a href="./test">QUnit Tests</a>
</h3>
<ul class="nav">
</ul>
</div>
</div>
</div>
<div class="container">
<div id="main" class="row">
<div id="np"></div>
<h1 id="qunit-header">QUnit Testing of NMIS Map</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">test markup</div>
</div>
</div>
<script type="text/javascript" charset="utf-8">
var rd = $('#np')
.width(600)
.height(200);
var r = Raphael(rd.get(0), rd.width(), rd.height());
</script>
<script type="text/javascript" charset="utf-8">
function loadNextTest(){
var s = testScripts.shift();
s !== undefined &&
$.getScript("tests/test_"+s+".js")
.done(loadNextTest);
}
loadNextTest();
</script>
</body>
</html>