forked from knockout/knockout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrunner.html
executable file
·93 lines (84 loc) · 5.6 KB
/
runner.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
90
91
92
93
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- All specs should pass with or without jQuery+Modernizr being referenced -->
<!--
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-1.7-development-only.js"></script>
-->
<!-- jasmine -->
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.2.0/jasmine.css" />
<script type="text/javascript" src="lib/jasmine-1.2.0/jasmine.js"></script>
<script type="text/javascript" src="lib/jasmine-1.2.0/jasmine-html.js"></script>
<script type="text/javascript" src="lib/jasmine-1.2.0/jasmine-tap.js"></script>
<!-- our jasmine extensions -->
<link rel="stylesheet" type="text/css" href="lib/jasmine.extensions.css" />
<script type="text/javascript" src="lib/jasmine.extensions.js"></script>
<!-- knockout polyfills -->
<script type="text/javascript" src="lib/innershiv.js"></script>
<script type="text/javascript" src="lib/json2.js"></script>
<!-- knockout -->
<script type="text/javascript">
// By default, we run the tests against knockout-raw.js, but you can specify an alternative test
// subject as a querystring parameter, e.g., runner.html?src=build/output/knockout-latest.js.
// This is used by our automated test runners (PhantomJS and Testling CI).
(function() {
var koFilenameParam = location.href.match(/[?&]src=([^&]+)/);
jasmine.addScriptReference("../" + (koFilenameParam ? koFilenameParam[1] : "build/knockout-raw.js"));
})();
</script>
<!-- specs -->
<script type="text/javascript" src="arrayEditDetectionBehaviors.js"></script>
<script type="text/javascript" src="arrayToDomEditDetectionBehaviors.js"></script>
<script type="text/javascript" src="asyncBehaviors.js"></script>
<script type="text/javascript" src="memoizationBehaviors.js"></script>
<script type="text/javascript" src="subscribableBehaviors.js"></script>
<script type="text/javascript" src="observableBehaviors.js"></script>
<script type="text/javascript" src="observableArrayBehaviors.js"></script>
<script type="text/javascript" src="dependentObservableBehaviors.js"></script>
<script type="text/javascript" src="dependentObservableDomBehaviors.js"></script>
<script type="text/javascript" src="extenderBehaviors.js"></script>
<script type="text/javascript" src="domNodeDisposalBehaviors.js"></script>
<script type="text/javascript" src="mappingHelperBehaviors.js"></script>
<script type="text/javascript" src="expressionRewritingBehaviors.js"></script>
<script type="text/javascript" src="bindingAttributeBehaviors.js"></script>
<script type="text/javascript" src="templatingBehaviors.js"></script>
<script type="text/javascript" src="jsonPostingBehaviors.js"></script>
<script type="text/javascript" src="nativeTemplateEngineBehaviors.js"></script>
<script type="text/javascript" src="utilsBehaviors.js"></script>
<!-- Default bindings -->
<script type="text/javascript" src="defaultBindings/attrBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/checkedBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/clickBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/cssBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/enableDisableBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/eventBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/foreachBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/hasfocusBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/htmlBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/ifBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/ifnotBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/optionsBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/selectedOptionsBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/styleBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/submitBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/textBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/uniqueNameBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/valueBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/visibleBehaviors.js"></script>
<script type="text/javascript" src="defaultBindings/withBehaviors.js"></script>
</head>
<body>
<script type="text/javascript">
(function() {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 500;
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
jasmineEnv.specFilter = htmlReporter.specFilter;
jasmineEnv.addReporter(new jasmine.TapReporter()); // For Testling CI
jasmineEnv.execute();
})();
</script>
</body>
</html>