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

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

Issue 2507253003: MD Settings: Add ImportDataDialog tests. (Closed)
Patch Set: Nit. Created 4 years, 1 month 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 491 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
492 'test_browser_proxy.js', 492 'test_browser_proxy.js',
493 'default_browser_browsertest.js', 493 'default_browser_browsertest.js',
494 ]), 494 ]),
495 }; 495 };
496 496
497 TEST_F('CrSettingsDefaultBrowserTest', 'DefaultBrowserPage', function() { 497 TEST_F('CrSettingsDefaultBrowserTest', 'DefaultBrowserPage', function() {
498 settings_default_browser.registerTests(); 498 settings_default_browser.registerTests();
499 mocha.run(); 499 mocha.run();
500 }); 500 });
501
502 /**
503 * Test fixture for
504 * chrome/browser/resources/settings/people_page/import_data_dialog.html
505 * @constructor
506 * @extends {CrSettingsBrowserTest}
507 */
508 function CrSettingsImportDataDialogTest() {}
509
510 CrSettingsImportDataDialogTest.prototype = {
511 __proto__: CrSettingsBrowserTest.prototype,
512
513 /** @override */
514 browsePreload: 'chrome://md-settings/people_page/import_data_dialog.html',
515
516 /** @override */
517 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
518 'test_browser_proxy.js',
519 'import_data_dialog_test.js',
520 ]),
521 };
522
523 TEST_F('CrSettingsImportDataDialogTest', 'All', function() {
524 mocha.run();
525 });
501 GEN('#endif'); 526 GEN('#endif');
502 527
503 /** 528 /**
504 * Test fixture for chrome/browser/resources/settings/search_page/. 529 * Test fixture for chrome/browser/resources/settings/search_page/.
505 * @constructor 530 * @constructor
506 * @extends {CrSettingsBrowserTest} 531 * @extends {CrSettingsBrowserTest}
507 */ 532 */
508 function CrSettingsSearchPageTest() {} 533 function CrSettingsSearchPageTest() {}
509 534
510 CrSettingsSearchPageTest.prototype = { 535 CrSettingsSearchPageTest.prototype = {
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 1073 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1049 'date_time_page_tests.js', 1074 'date_time_page_tests.js',
1050 ]), 1075 ]),
1051 }; 1076 };
1052 1077
1053 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { 1078 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() {
1054 mocha.run(); 1079 mocha.run();
1055 }); 1080 });
1056 1081
1057 GEN('#endif'); 1082 GEN('#endif');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698