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

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: Spaces. 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/test/data/webui/settings/privacy_page_test.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 /** @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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', 172 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
173 'test_browser_proxy.js', 173 'test_browser_proxy.js',
174 'certificate_manager_page_test.js', 174 'certificate_manager_page_test.js',
175 ]), 175 ]),
176 }; 176 };
177 177
178 TEST_F('CrSettingsCertificateManagerTest', 'CertificateManager', function() { 178 TEST_F('CrSettingsCertificateManagerTest', 'CertificateManager', function() {
179 certificate_manager_page.registerTests(); 179 certificate_manager_page.registerTests();
180 mocha.run(); 180 mocha.run();
181 }); 181 });
182
183 GEN('#elif defined(OS_WIN) || defined(OS_MACOSX)');
184 /**
185 * Test fixture for chrome/browser/resources/settings/privacy_page/.
186 * @constructor
187 * @extends {CrSettingsBrowserTest}
188 */
189 function CrSettingsPrivacyPageTest() {}
190
191 CrSettingsPrivacyPageTest.prototype = {
192 __proto__: CrSettingsBrowserTest.prototype,
193
194 /** @override */
195 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html',
196
197 /** @override */
198 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
199 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
200 'test_browser_proxy.js',
201 'privacy_page_test.js',
202 ]),
203 };
204
205 TEST_F('CrSettingsPrivacyPageTest', 'PrivacyPage', function() {
206 mocha.run();
207 });
182 GEN('#endif'); 208 GEN('#endif');
183 209
184 /** 210 /**
185 * Test fixture for chrome/browser/resources/settings/site_settings/. 211 * Test fixture for chrome/browser/resources/settings/site_settings/.
186 * @constructor 212 * @constructor
187 * @extends {CrSettingsBrowserTest} 213 * @extends {CrSettingsBrowserTest}
188 */ 214 */
189 function CrSettingsSiteSettingsTest() {} 215 function CrSettingsSiteSettingsTest() {}
190 216
191 CrSettingsSiteSettingsTest.prototype = { 217 CrSettingsSiteSettingsTest.prototype = {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', 293 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
268 'test_browser_proxy.js', 294 'test_browser_proxy.js',
269 'system_page_tests.js', 295 'system_page_tests.js',
270 ]), 296 ]),
271 }; 297 };
272 298
273 TEST_F('CrSettingsSystemPageTest', 'Restart', function() { 299 TEST_F('CrSettingsSystemPageTest', 'Restart', function() {
274 mocha.run(); 300 mocha.run();
275 }); 301 });
276 GEN('#endif'); 302 GEN('#endif');
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/test/data/webui/settings/privacy_page_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698