OLD | NEW |
1 // Copyright (C) 2013 Google Inc. All rights reserved. | 1 // Copyright (C) 2013 Google Inc. All rights reserved. |
2 // | 2 // |
3 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
4 // modification, are permitted provided that the following conditions are | 4 // modification, are permitted provided that the following conditions are |
5 // met: | 5 // met: |
6 // | 6 // |
7 // * Redistributions of source code must retain the above copyright | 7 // * Redistributions of source code must retain the above copyright |
8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
9 // * Redistributions in binary form must reproduce the above | 9 // * Redistributions in binary form must reproduce the above |
10 // copyright notice, this list of conditions and the following disclaimer | 10 // copyright notice, this list of conditions and the following disclaimer |
(...skipping 20 matching lines...) Expand all Loading... |
31 function setupAggregateResultsData(includeRevisonNumbers) | 31 function setupAggregateResultsData(includeRevisonNumbers) |
32 { | 32 { |
33 var historyInstance = new history.History(flakinessConfig); | 33 var historyInstance = new history.History(flakinessConfig); |
34 // FIXME(jparent): Remove this once global isn't used. | 34 // FIXME(jparent): Remove this once global isn't used. |
35 g_history = historyInstance; | 35 g_history = historyInstance; |
36 for (var key in history.DEFAULT_CROSS_DASHBOARD_STATE_VALUES) | 36 for (var key in history.DEFAULT_CROSS_DASHBOARD_STATE_VALUES) |
37 historyInstance.crossDashboardState[key] = history.DEFAULT_CROSS_DASHBOA
RD_STATE_VALUES[key]; | 37 historyInstance.crossDashboardState[key] = history.DEFAULT_CROSS_DASHBOA
RD_STATE_VALUES[key]; |
38 | 38 |
39 var builderName = 'Blink Linux'; | 39 var builderName = 'Blink Linux'; |
40 LOAD_BUILDBOT_DATA({ | 40 LOAD_BUILDBOT_DATA({ |
| 41 "no_upload_test_types": [], |
41 "masters": [ | 42 "masters": [ |
42 { | 43 { |
43 "groups": [ "@ToT Blink" ], | 44 "groups": [ "@ToT Blink" ], |
44 "name": "ChromiumWebkit", | 45 "name": "ChromiumWebkit", |
45 "tests": { | 46 "tests": { |
46 "layout-tests": { | 47 "layout-tests": { |
47 "builders": [builderName] | 48 "builders": [builderName] |
48 } | 49 } |
49 }, | 50 }, |
50 "url": "http://build.chromium.org/p/chromium.win" | 51 "url": "http://build.chromium.org/p/chromium.win" |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 '<tr><td>TEXT</td><td>89</td><td>60</td></tr>' + | 158 '<tr><td>TEXT</td><td>89</td><td>60</td></tr>' + |
158 '<tr><td>TIMEOUT</td><td>72</td><td>48</td></tr>' + | 159 '<tr><td>TIMEOUT</td><td>72</td><td>48</td></tr>' + |
159 '<tr><td>PASS</td><td>28104</td><td>28586</td></tr>' + | 160 '<tr><td>PASS</td><td>28104</td><td>28586</td></tr>' + |
160 '<tr><td>AUDIO</td><td>0</td><td>0</td></tr>' + | 161 '<tr><td>AUDIO</td><td>0</td><td>0</td></tr>' + |
161 '<tr><td>WONTFIX</td><td>2</td><td>2</td></tr>' + | 162 '<tr><td>WONTFIX</td><td>2</td><td>2</td></tr>' + |
162 '</tbody>' + | 163 '</tbody>' + |
163 '</table>' + | 164 '</table>' + |
164 '</div>'; | 165 '</div>'; |
165 equal(expectedHtml, htmlForBuilder('Blink Linux')); | 166 equal(expectedHtml, htmlForBuilder('Blink Linux')); |
166 }); | 167 }); |
OLD | NEW |