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

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

Issue 2480843003: change site-settings -> usb-device to use cr-action-menu instead of paper-menu (Closed)
Patch Set: move helper function out of test function scope 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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 /** @override */ 626 /** @override */
627 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 627 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
628 'site_details_tests.js', 628 'site_details_tests.js',
629 'site_details_permission_tests.js', 629 'site_details_permission_tests.js',
630 'site_list_tests.js', 630 'site_list_tests.js',
631 'site_settings_category_tests.js', 631 'site_settings_category_tests.js',
632 'test_browser_proxy.js', 632 'test_browser_proxy.js',
633 'test_site_settings_prefs_browser_proxy.js', 633 'test_site_settings_prefs_browser_proxy.js',
634 'zoom_levels_tests.js', 634 'zoom_levels_tests.js',
635 'usb_devices_tests.js'
635 ]), 636 ]),
636 }; 637 };
637 638
638 TEST_F('CrSettingsSiteSettingsTest', 'SiteSettings', function() { 639 TEST_F('CrSettingsSiteSettingsTest', 'SiteSettings', function() {
639 site_details.registerTests(); 640 site_details.registerTests();
640 site_details_permission.registerTests(); 641 site_details_permission.registerTests();
641 site_list.registerTests(); 642 site_list.registerTests();
642 site_settings_category.registerTests(); 643 site_settings_category.registerTests();
643 zoom_levels.registerTests(); 644 zoom_levels.registerTests();
645 usb_devices.registerTests();
644 646
645 mocha.run(); 647 mocha.run();
646 }); 648 });
647 649
648 GEN('#if defined(OS_CHROMEOS)'); 650 GEN('#if defined(OS_CHROMEOS)');
649 /** 651 /**
650 * Test fixture for device-page. 652 * Test fixture for device-page.
651 * @constructor 653 * @constructor
652 * @extends {CrSettingsBrowserTest} 654 * @extends {CrSettingsBrowserTest}
653 */ 655 */
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 1045 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1044 'date_time_page_tests.js', 1046 'date_time_page_tests.js',
1045 ]), 1047 ]),
1046 }; 1048 };
1047 1049
1048 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { 1050 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() {
1049 mocha.run(); 1051 mocha.run();
1050 }); 1052 });
1051 1053
1052 GEN('#endif'); 1054 GEN('#endif');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698