Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 66 lines (49 sloc) 1.74 kb
1b1bf18 @gutenye init
authored
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5 <title>Jasmine Spec Runner</title>
6
1aee327 @gutenye fix index.html
authored
7 <link rel="shortcut icon" type="image/png" href="/assets/jasmine/favicon.png">
1b1bf18 @gutenye init
authored
8
1aee327 @gutenye fix index.html
authored
9 <link rel="stylesheet" type="text/css" href="/assets/jasmine/jasmine.css">
1b1bf18 @gutenye init
authored
10
11 <script type="text/javascript" src="/assets/bpm_libs.js"></script>
6f156ea @gutenye change to bpm_test_libs.js
authored
12 <script type="text/javascript" src="/assets/bpm_test_libs.js"></script>
1b1bf18 @gutenye init
authored
13
c45cc9c @gutenye final release
authored
14 <script type="text/javascript">
15 var packageName = location.search.match(/package=([^&]+)&?/);
16 packageName = packageName && packageName[1];
17
18 if (!packageName) {
19 var el = document.getElementById('qunit-header');
20 el.innerHTML = 'Pass package=foo on URL to test package';
21 } else {
22 packageName = decodeURIComponent(packageName);
23
24 var buf = [];
25 packageName.split(',').map(function(packageName) {
26 buf.push('<script src="../'+packageName+'/bpm_tests.js" type="text/javascript"><\/script>');
27 });
28
29 document.write(buf.join('\n'));
30 }
31 </script>
1b1bf18 @gutenye init
authored
32
33 <script type="text/javascript">
34 (function() {
35 var jasmineEnv = jasmine.getEnv();
36 jasmineEnv.updateInterval = 1000;
37
38 var trivialReporter = new jasmine.TrivialReporter();
39
40 jasmineEnv.addReporter(trivialReporter);
41
42 jasmineEnv.specFilter = function(spec) {
43 return trivialReporter.specFilter(spec);
44 };
45
46 var currentWindowOnload = window.onload;
47
48 window.onload = function() {
49 if (currentWindowOnload) {
50 currentWindowOnload();
51 }
52 execJasmine();
53 };
54
55 function execJasmine() {
56 jasmineEnv.execute();
57 }
58
59 })();
60 </script>
61 </head>
62
63 <body>
64 </body>
65 </html>
Something went wrong with that request. Please try again.