-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestRunner.html
54 lines (43 loc) · 1.59 KB
/
TestRunner.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
<!DOCTYPE HTML>
<html>
<head>
<title>Jasmine Test Runner</title>
<link rel="stylesheet" type="text/css" href="js/libs/jasmine/jasmine.css">
<script src="js/libs/jasmine/jasmine.js"></script>
<script src="js/libs/jasmine/jasmine-html.js"></script>
<!-- include source files here... -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="js/jQuery.tableManners.js"></script>
<script src="js/jQuery.tableToMatrix.js"></script>
<script src="js/jQuery.getCellSpan.js"></script>
<script src="js/jQuery.getCellAssociations.js"></script>
<!-- include test files here... -->
<script src="js/tests/tableManners.js"></script>
<script src="js/tests/tableToMatrix.js"></script>
<script src="js/tests/getCellSpan.js"></script>
<script src="js/tests/getCellAssociations.js"></script>
<script src="js/tests/getCellAssociations.html4.js"></script>
<script src="js/tests/getCellAssociations.html5.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>
</html>