| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview Test suite for the Material Design history page. | 6 * @fileoverview Test suite for the Material Design history page. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 var ROOT_PATH = '../../../../../'; | 9 var ROOT_PATH = '../../../../../'; |
| 10 | 10 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 function MaterialHistoryListTest() {} | 100 function MaterialHistoryListTest() {} |
| 101 | 101 |
| 102 MaterialHistoryListTest.prototype = { | 102 MaterialHistoryListTest.prototype = { |
| 103 __proto__: MaterialHistoryBrowserTest.prototype, | 103 __proto__: MaterialHistoryBrowserTest.prototype, |
| 104 | 104 |
| 105 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ | 105 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ |
| 106 'history_list_test.js', | 106 'history_list_test.js', |
| 107 ]), | 107 ]), |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 // Times out on debug builders and may time out on memory bots because | 110 // Times out on debug builders because the History page can take several seconds |
| 111 // the History page can take several seconds to load in a Debug build. See | 111 // to load in a Debug build. See https://crbug.com/669227. |
| 112 // https://crbug.com/669227. | 112 GEN('#if !defined(NDEBUG)'); |
| 113 GEN('#if defined(MEMORY_SANITIZER) || !defined(NDEBUG)'); | |
| 114 GEN('#define MAYBE_All DISABLED_All'); | 113 GEN('#define MAYBE_All DISABLED_All'); |
| 115 GEN('#else'); | 114 GEN('#else'); |
| 116 GEN('#define MAYBE_All All'); | 115 GEN('#define MAYBE_All All'); |
| 117 GEN('#endif'); | 116 GEN('#endif'); |
| 118 | 117 |
| 119 TEST_F('MaterialHistoryListTest', 'MAYBE_All', function() { | 118 TEST_F('MaterialHistoryListTest', 'MAYBE_All', function() { |
| 120 mocha.run(); | 119 mocha.run(); |
| 121 }); | 120 }); |
| 122 | 121 |
| 123 function MaterialHistoryMetricsTest() {} | 122 function MaterialHistoryMetricsTest() {} |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 __proto__: MaterialHistoryBrowserTest.prototype, | 235 __proto__: MaterialHistoryBrowserTest.prototype, |
| 237 | 236 |
| 238 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ | 237 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ |
| 239 'history_toolbar_test.js', | 238 'history_toolbar_test.js', |
| 240 ]), | 239 ]), |
| 241 }; | 240 }; |
| 242 | 241 |
| 243 TEST_F('MaterialHistoryToolbarTest', 'All', function() { | 242 TEST_F('MaterialHistoryToolbarTest', 'All', function() { |
| 244 mocha.run(); | 243 mocha.run(); |
| 245 }); | 244 }); |
| OLD | NEW |