| 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 because the History page can take several seconds | 110 // Times out on debug builders and may time out on memory bots because |
| 111 // to load in a Debug build. See https://crbug.com/669227. | 111 // the History page can take several seconds to load in a Debug build. See |
| 112 GEN('#if !defined(NDEBUG)'); | 112 // https://crbug.com/669227. |
| 113 GEN('#if defined(MEMORY_SANITIZER) || !defined(NDEBUG)'); |
| 113 GEN('#define MAYBE_All DISABLED_All'); | 114 GEN('#define MAYBE_All DISABLED_All'); |
| 114 GEN('#else'); | 115 GEN('#else'); |
| 115 GEN('#define MAYBE_All All'); | 116 GEN('#define MAYBE_All All'); |
| 116 GEN('#endif'); | 117 GEN('#endif'); |
| 117 | 118 |
| 118 TEST_F('MaterialHistoryListTest', 'MAYBE_All', function() { | 119 TEST_F('MaterialHistoryListTest', 'MAYBE_All', function() { |
| 119 mocha.run(); | 120 mocha.run(); |
| 120 }); | 121 }); |
| 121 | 122 |
| 122 function MaterialHistoryMetricsTest() {} | 123 function MaterialHistoryMetricsTest() {} |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 __proto__: MaterialHistoryBrowserTest.prototype, | 236 __proto__: MaterialHistoryBrowserTest.prototype, |
| 236 | 237 |
| 237 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ | 238 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ |
| 238 'history_toolbar_test.js', | 239 'history_toolbar_test.js', |
| 239 ]), | 240 ]), |
| 240 }; | 241 }; |
| 241 | 242 |
| 242 TEST_F('MaterialHistoryToolbarTest', 'All', function() { | 243 TEST_F('MaterialHistoryToolbarTest', 'All', function() { |
| 243 mocha.run(); | 244 mocha.run(); |
| 244 }); | 245 }); |
| OLD | NEW |