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

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

Issue 1838273003: MD Settings: Hooking up native certificate manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify ifdefs per feedback Created 4 years, 8 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', 147 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
148 'test_browser_proxy.js', 148 'test_browser_proxy.js',
149 'certificate_manager_page_test.js', 149 'certificate_manager_page_test.js',
150 ]), 150 ]),
151 }; 151 };
152 152
153 TEST_F('CrSettingsCertificateManagerTest', 'CertificateManager', function() { 153 TEST_F('CrSettingsCertificateManagerTest', 'CertificateManager', function() {
154 certificate_manager_page.registerTests(); 154 certificate_manager_page.registerTests();
155 mocha.run(); 155 mocha.run();
156 }); 156 });
157
158 GEN('#elif defined(OS_WIN) || defined(OS_MACOSX)');
159 /**
160 * Test fixture for chrome/browser/resources/settings/privacy_page/.
161 * @constructor
162 * @extends {CrSettingsBrowserTest}
163 */
164 function CrSettingsPrivacyPageTest() {}
165
166 CrSettingsPrivacyPageTest.prototype = {
167 __proto__: CrSettingsBrowserTest.prototype,
168
169 /** @override */
170 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html',
171
172 /** @override */
173 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
174 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
175 'test_browser_proxy.js',
176 'privacy_page_test.js',
177 ]),
178 };
179
180 TEST_F('CrSettingsPrivacyPageTest', 'PrivacyPage', function() {
181 mocha.run();
182 });
157 GEN('#endif'); 183 GEN('#endif');
158 184
159 /** 185 /**
160 * Test fixture for chrome/browser/resources/settings/site_settings/. 186 * Test fixture for chrome/browser/resources/settings/site_settings/.
161 * @constructor 187 * @constructor
162 * @extends {CrSettingsBrowserTest} 188 * @extends {CrSettingsBrowserTest}
163 */ 189 */
164 function CrSettingsSiteSettingsTest() {} 190 function CrSettingsSiteSettingsTest() {}
165 191
166 CrSettingsSiteSettingsTest.prototype = { 192 CrSettingsSiteSettingsTest.prototype = {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', 268 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
243 'test_browser_proxy.js', 269 'test_browser_proxy.js',
244 'system_page_tests.js', 270 'system_page_tests.js',
245 ]), 271 ]),
246 }; 272 };
247 273
248 TEST_F('CrSettingsSystemPageTest', 'Restart', function() { 274 TEST_F('CrSettingsSystemPageTest', 'Restart', function() {
249 mocha.run(); 275 mocha.run();
250 }); 276 });
251 GEN('#endif'); 277 GEN('#endif');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698