Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: chrome/test/data/webui/md_history/md_history_browsertest.js

Issue 2716593005: [MD History] Disable slow test on Debug/ASAN. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 TEST_F('MaterialHistoryListTest', 'All', function() { 110 // Times out on debug builders and may time out on memory bots because
111 // the History page can take several seconds to load in a Debug build. See
112 // https://crbug.com/669227.
113 GEN('#if defined(MEMORY_SANITIZER) || !defined(NDEBUG)');
114 GEN('#define MAYBE_All DISABLED_All');
115 GEN('#else');
116 GEN('#define MAYBE_All All');
117 GEN('#endif');
118
119 TEST_F('MaterialHistoryListTest', 'MAYBE_All', function() {
111 mocha.run(); 120 mocha.run();
112 }); 121 });
113 122
114 function MaterialHistoryMetricsTest() {} 123 function MaterialHistoryMetricsTest() {}
115 124
116 MaterialHistoryMetricsTest.prototype = { 125 MaterialHistoryMetricsTest.prototype = {
117 __proto__: MaterialHistoryBrowserTest.prototype, 126 __proto__: MaterialHistoryBrowserTest.prototype,
118 127
119 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 128 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
120 'history_metrics_test.js', 129 'history_metrics_test.js',
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 __proto__: MaterialHistoryBrowserTest.prototype, 236 __proto__: MaterialHistoryBrowserTest.prototype,
228 237
229 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 238 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
230 'history_toolbar_test.js', 239 'history_toolbar_test.js',
231 ]), 240 ]),
232 }; 241 };
233 242
234 TEST_F('MaterialHistoryToolbarTest', 'All', function() { 243 TEST_F('MaterialHistoryToolbarTest', 'All', function() {
235 mocha.run(); 244 mocha.run();
236 }); 245 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698