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

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

Issue 1753653002: MD Settings: First half of Device > Keyboard sub-page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 ]), 120 ]),
121 }; 121 };
122 122
123 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() { 123 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() {
124 settings_search_engines_page.registerDialogTests(); 124 settings_search_engines_page.registerDialogTests();
125 settings_search_engines_page.registerSearchEngineEntryTests(); 125 settings_search_engines_page.registerSearchEngineEntryTests();
126 settings_search_engines_page.registerOmniboxExtensionEntryTests(); 126 settings_search_engines_page.registerOmniboxExtensionEntryTests();
127 settings_search_engines_page.registerPageTests(); 127 settings_search_engines_page.registerPageTests();
128 mocha.run(); 128 mocha.run();
129 }); 129 });
130
131 GEN('#if defined(OS_CHROMEOS)');
132 /**
133 * Test fixture for device-page.
134 * @constructor
135 * @extends {CrSettingsBrowserTest}
136 */
137 function CrSettingsDevicePageTest() {}
138
139 CrSettingsDevicePageTest.prototype = {
140 __proto__: CrSettingsBrowserTest.prototype,
141
142 /** @override */
143 browsePreload:
144 'chrome://md-settings/device_page/device_page.html',
145
146 /** @override */
147 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
148 '../fake_chrome_event.js',
149 'fake_settings_private.js',
150 'device_page_tests.js',
151 ]),
152 };
153
154 TEST_F('CrSettingsDevicePageTest', 'DevicePage', function() {
155 mocha.run();
156 });
157 GEN('#endif');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698