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

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

Issue 2871173004: WebUI cleanup: Remove unnecessary *_SANITIZER related ifdefs from tests. (Closed)
Patch Set: Created 3 years, 7 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 | chrome/test/data/webui/sandboxstatus_browsertest.js » ('j') | 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 function MaterialHistoryListTest() {} 97 function MaterialHistoryListTest() {}
98 98
99 MaterialHistoryListTest.prototype = { 99 MaterialHistoryListTest.prototype = {
100 __proto__: MaterialHistoryBrowserTest.prototype, 100 __proto__: MaterialHistoryBrowserTest.prototype,
101 101
102 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 102 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
103 'history_list_test.js', 103 'history_list_test.js',
104 ]), 104 ]),
105 }; 105 };
106 106
107 // Times out on debug builders and may time out on memory bots because 107 // Times out on debug builders because the History page can take several seconds
108 // the History page can take several seconds to load in a Debug build. See 108 // to load in a Debug build. See https://crbug.com/669227.
109 // https://crbug.com/669227. 109 GEN('#if !defined(NDEBUG)');
110 GEN('#if defined(MEMORY_SANITIZER) || !defined(NDEBUG)');
111 GEN('#define MAYBE_All DISABLED_All'); 110 GEN('#define MAYBE_All DISABLED_All');
112 GEN('#else'); 111 GEN('#else');
113 GEN('#define MAYBE_All All'); 112 GEN('#define MAYBE_All All');
114 GEN('#endif'); 113 GEN('#endif');
115 114
116 TEST_F('MaterialHistoryListTest', 'MAYBE_All', function() { 115 TEST_F('MaterialHistoryListTest', 'MAYBE_All', function() {
117 mocha.run(); 116 mocha.run();
118 }); 117 });
119 118
120 function MaterialHistoryMetricsTest() {} 119 function MaterialHistoryMetricsTest() {}
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 __proto__: MaterialHistoryBrowserTest.prototype, 232 __proto__: MaterialHistoryBrowserTest.prototype,
234 233
235 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([ 234 extraLibraries: MaterialHistoryBrowserTest.prototype.extraLibraries.concat([
236 'history_toolbar_test.js', 235 'history_toolbar_test.js',
237 ]), 236 ]),
238 }; 237 };
239 238
240 TEST_F('MaterialHistoryToolbarTest', 'All', function() { 239 TEST_F('MaterialHistoryToolbarTest', 'All', function() {
241 mocha.run(); 240 mocha.run();
242 }); 241 });
OLDNEW
« no previous file with comments | « no previous file | chrome/test/data/webui/sandboxstatus_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698