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

Side by Side Diff: chrome/test/data/webui/settings/advanced_page_browsertest.js

Issue 2760693002: WebUI: Disable all JS tests in MSAN, ASAN, and TSAN bots. (Closed)
Patch Set: more Created 3 years, 9 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
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 /** @fileoverview Suite of tests for the Settings advanced page. */ 5 /** @fileoverview Suite of tests for the Settings advanced page. */
6 6
7 GEN_INCLUDE(['settings_page_browsertest.js']); 7 GEN_INCLUDE(['settings_page_browsertest.js']);
8 8
9 /** 9 /**
10 * @constructor 10 * @constructor
11 * @extends {SettingsPageBrowserTest} 11 * @extends {SettingsPageBrowserTest}
12 */ 12 */
13 function SettingsAdvancedPageBrowserTest() {} 13 function SettingsAdvancedPageBrowserTest() {}
14 14
15 SettingsAdvancedPageBrowserTest.prototype = { 15 SettingsAdvancedPageBrowserTest.prototype = {
16 __proto__: SettingsPageBrowserTest.prototype, 16 __proto__: SettingsPageBrowserTest.prototype,
17 }; 17 };
18 18
19 // Times out on debug builders and may time out on memory bots because 19 // Times out on debug builders the Settings page can take several seconds to
20 // the Settings page can take several seconds to load in a Release build 20 // load in a Release build and several times that in a Debug build. See
21 // and several times that in a Debug build. See https://crbug.com/558434. 21 // https://crbug.com/558434.
22 GEN('#if defined(MEMORY_SANITIZER) || !defined(NDEBUG)'); 22 GEN('#if !defined(NDEBUG)');
23 GEN('#define MAYBE_Load DISABLED_Load'); 23 GEN('#define MAYBE_Load DISABLED_Load');
24 GEN('#else'); 24 GEN('#else');
25 GEN('#define MAYBE_Load Load'); 25 GEN('#define MAYBE_Load Load');
26 GEN('#endif'); 26 GEN('#endif');
27 27
28 TEST_F('SettingsAdvancedPageBrowserTest', 'MAYBE_Load', function() { 28 TEST_F('SettingsAdvancedPageBrowserTest', 'MAYBE_Load', function() {
29 // Assign |self| to |this| instead of binding since 'this' in suite() 29 // Assign |self| to |this| instead of binding since 'this' in suite()
30 // and test() will be a Mocha 'Suite' or 'Test' instance. 30 // and test() will be a Mocha 'Suite' or 'Test' instance.
31 var self = this; 31 var self = this;
32 32
(...skipping 18 matching lines...) Expand all
51 var section = self.getSection(page, sections[i]); 51 var section = self.getSection(page, sections[i]);
52 expectTrue(!!section); 52 expectTrue(!!section);
53 self.verifySubpagesHidden(section); 53 self.verifySubpagesHidden(section);
54 } 54 }
55 }); 55 });
56 }); 56 });
57 57
58 // Run all registered tests. 58 // Run all registered tests.
59 mocha.run(); 59 mocha.run();
60 }); 60 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/sandboxstatus_browsertest.js ('k') | chrome/test/data/webui/settings/basic_page_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698