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

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

Issue 1822813002: MD Settings: Make <settings-dialog> respond to ESC key. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ESC to Esc again. Created 4 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 Runs the Polymer Settings tests. */ 5 /** @fileoverview Runs the Polymer Settings tests. */
6 6
7 /** @const {string} Path to source root. */ 7 /** @const {string} Path to source root. */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 // Polymer BrowserTest fixture. 10 // Polymer BrowserTest fixture.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 settings_checkbox.registerTests(); 62 settings_checkbox.registerTests();
63 settings_dropdown_menu.registerTests(); 63 settings_dropdown_menu.registerTests();
64 settings_prefUtil.registerTests(); 64 settings_prefUtil.registerTests();
65 settings_prefs.registerTests(); 65 settings_prefs.registerTests();
66 66
67 // Run all registered tests. 67 // Run all registered tests.
68 mocha.run(); 68 mocha.run();
69 }); 69 });
70 70
71 TEST_F('CrSettingsBrowserTest', 'ResetPage', function() { 71 TEST_F('CrSettingsBrowserTest', 'ResetPage', function() {
72 settings_reset_page.registerDialogTests(); 72 settings_reset_page.registerTests();
73 settings_reset_page.registerBannerTests();
74 mocha.run(); 73 mocha.run();
75 }); 74 });
76 75
77 /** 76 /**
78 * @constructor 77 * @constructor
79 * @extends {CrSettingsBrowserTest} 78 * @extends {CrSettingsBrowserTest}
80 */ 79 */
81 function CrSettingsRtlTest() {} 80 function CrSettingsRtlTest() {}
82 81
83 CrSettingsRtlTest.prototype = { 82 CrSettingsRtlTest.prototype = {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 '../fake_chrome_event.js', 207 '../fake_chrome_event.js',
209 'fake_settings_private.js', 208 'fake_settings_private.js',
210 'device_page_tests.js', 209 'device_page_tests.js',
211 ]), 210 ]),
212 }; 211 };
213 212
214 TEST_F('CrSettingsDevicePageTest', 'DevicePage', function() { 213 TEST_F('CrSettingsDevicePageTest', 'DevicePage', function() {
215 mocha.run(); 214 mocha.run();
216 }); 215 });
217 GEN('#endif'); 216 GEN('#endif');
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_dialog.js ('k') | chrome/test/data/webui/settings/reset_page_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698