forked from taskrabbit/sudojs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
specRunner.html
77 lines (57 loc) · 2.23 KB
/
specRunner.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
<!DOCTYPE HTML>
<html>
<head>
<title>Sudo Spec Runner</title>
<link rel="shortcut icon" type="image/png" href="lib/jasmine/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="lib/jasmine/jasmine.css">
<script type="text/javascript" src="lib/jasmine/jasmine.js"></script>
<script type="text/javascript" src="lib/jasmine/jasmine-html.js"></script>
<!--get this first-->
<!--[if lt IE 9 ]>
<script src="lib/es5-shim/es5-shim.js"></script>
<script src="lib/es5-shim/es5-sham.js"></script>
<![endif]-->
<script src="lib/jquery/jquery.js"></script>
<script src="build/debug/sudo-x.js"></script>
<!-- include spec files here... -->
<script src="base/spec/base.spec.js"></script>
<script src="model/spec/model.spec.js"></script>
<script src="model/spec/observable.spec.js"></script>
<script src="model/spec/persistable.spec.js"></script>
<script src="container/spec/container.spec.js"></script>
<script src="container/spec/send.spec.js"></script>
<script src="view/spec/view.spec.js"></script>
<script src="view/spec/bindable.spec.js"></script>
<script src="extras/viewController/spec/viewController.spec.js"></script>
<script src="extras/template/spec/template.spec.js"></script>
<script src="extras/dataview/spec/dataview.spec.js"></script>
<script src="extras/navigator/spec/navigator-hc.spec.js"></script>
<script src="extras/navigator/spec/navigator-ps.spec.js"></script>
<script src="extras/delegates/change/spec/change.spec.js"></script>
<script src="extras/delegates/data/spec/data.spec.js"></script>
<script type="text/javascript">
(function() {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
var trivialReporter = new jasmine.TrivialReporter();
jasmineEnv.addReporter(trivialReporter);
jasmineEnv.specFilter = function(spec) {
return trivialReporter.specFilter(spec);
};
var currentWindowOnload = window.onload;
window.onload = function() {
if (currentWindowOnload) {
currentWindowOnload();
}
execJasmine();
};
function execJasmine() {
jasmineEnv.execute();
}
})();
</script>
</head>
<body>
<div id="testTarget" style="display: none"></div>
</body>
</html>