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

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

Issue 2713343003: MD Settings: Add "Auto Open" setting to Downloads page UI. (Closed)
Patch Set: format Created 3 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 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', 550 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
551 'test_browser_proxy.js', 551 'test_browser_proxy.js',
552 'appearance_fonts_page_test.js', 552 'appearance_fonts_page_test.js',
553 ]), 553 ]),
554 }; 554 };
555 555
556 TEST_F('CrSettingsAppearanceFontsPageTest', 'All', function() { 556 TEST_F('CrSettingsAppearanceFontsPageTest', 'All', function() {
557 mocha.run(); 557 mocha.run();
558 }); 558 });
559 559
560 /**
561 * @constructor
562 * @extends {CrSettingsBrowserTest}
563 */
564 function CrSettingsDownloadsPageTest() {}
565
566 CrSettingsDownloadsPageTest.prototype = {
567 __proto__: CrSettingsBrowserTest.prototype,
568
569 /** @override */
570 browsePreload: 'chrome://md-settings/downloads_page/downloads_page.html',
571
572 /** @override */
573 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
574 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
575 'test_browser_proxy.js',
576 'downloads_page_test.js',
577 ]),
578 };
579
580 TEST_F('CrSettingsDownloadsPageTest', 'All', function() {
581 mocha.run();
582 });
583
560 GEN('#if !defined(OS_CHROMEOS)'); 584 GEN('#if !defined(OS_CHROMEOS)');
561 /** 585 /**
562 * Test fixture for chrome/browser/resources/settings/default_browser_page/. 586 * Test fixture for chrome/browser/resources/settings/default_browser_page/.
563 * @constructor 587 * @constructor
564 * @extends {CrSettingsBrowserTest} 588 * @extends {CrSettingsBrowserTest}
565 */ 589 */
566 function CrSettingsDefaultBrowserTest() {} 590 function CrSettingsDefaultBrowserTest() {}
567 591
568 CrSettingsDefaultBrowserTest.prototype = { 592 CrSettingsDefaultBrowserTest.prototype = {
569 __proto__: CrSettingsBrowserTest.prototype, 593 __proto__: CrSettingsBrowserTest.prototype,
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 1404
1381 /** @override */ 1405 /** @override */
1382 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 1406 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1383 'focusable_iron_list_item_behavior_test.js', 1407 'focusable_iron_list_item_behavior_test.js',
1384 ]), 1408 ]),
1385 }; 1409 };
1386 1410
1387 TEST_F('CrSettingsFocusableIronListItemBehavior', 'FocusTest', function() { 1411 TEST_F('CrSettingsFocusableIronListItemBehavior', 'FocusTest', function() {
1388 mocha.run(); 1412 mocha.run();
1389 }); 1413 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698