OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <!DOCTYPE html> | 7 <!DOCTYPE html> |
8 <meta charset="utf-8"> | 8 <meta charset="utf-8"> |
9 <link rel="stylesheet" href="../node_modules/mocha/mocha.css"> | 9 <link rel="stylesheet" href="../node_modules/mocha/mocha.css"> |
10 <title>Sheriff-O-Matic Unit Tests</title> | 10 <title>Sheriff-O-Matic Unit Tests</title> |
11 | 11 |
12 <script src="../scripts/results.js"></script> | 12 <script src="../scripts/results.js"></script> |
13 <script src="../bower_components/chai/chai.js"></script> | 13 <script src="../bower_components/chai/chai.js"></script> |
14 <script src="../node_modules/mocha/mocha.js"></script> | 14 <script src="../node_modules/mocha/mocha.js"></script> |
15 <script src="../bower_components/sugar/release/sugar-full.development.js"></scri
pt> | 15 <script src="../bower_components/sugar/release/sugar-full.development.js"></scri
pt> |
16 <script src="../bower_components/platform/platform.js"></script> | 16 <script src="../bower_components/platform/platform.js"></script> |
17 <link rel="import" href="../bower_components/polymer/polymer.html"> | 17 <link rel="import" href="../bower_components/polymer/polymer.html"> |
18 <link rel="import" href="../polymer-load-warning.html"> | 18 <link rel="import" href="../polymer-load-warning.html"> |
19 | 19 |
20 <script> | 20 <script> |
21 mocha.checkLeaks(); | 21 mocha.checkLeaks(); |
22 mocha.globals(['net', 'scrolled', 'oCursor', 'availableWidth', 'topNotUsableSize
', | 22 mocha.globals(['net', 'scrolled', 'oCursor', 'availableWidth', 'topNotUsableSize
', |
23 'xLabelWidth', 'nblab', 'bottomNotUsableHeightWithoutXLabels', | 23 'xLabelWidth', 'nblab', 'bottomNotUsableHeightWithoutXLabels', |
24 'bottomNotUsableHeightWithXLabels', 'availableHeight', 'clrx', 'clrwidth', | 24 'bottomNotUsableHeightWithXLabels', 'availableHeight', 'clrx', 'clrwidth', |
25 'clry', 'clrheight']); | 25 'clry', 'clrheight', 'fmtYLabel', 'lgtxt', 'lgtxt2']); |
| 26 |
26 mocha.setup('bdd'); | 27 mocha.setup('bdd'); |
27 </script> | 28 </script> |
28 | 29 |
29 <link rel="import" href="unit-tests.html"> | 30 <link rel="import" href="unit-tests.html"> |
30 | 31 |
31 <div id="mocha"></div> | 32 <div id="mocha"></div> |
32 | 33 |
33 <script> | 34 <script> |
34 Polymer.whenReady(mocha.run); | 35 Polymer.whenReady(mocha.run); |
35 </script> | 36 </script> |
OLD | NEW |