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

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

Issue 2877173002: Add scale to settings-slider (Closed)
Patch Set: Less code in the |scale| comment. Created 3 years, 7 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 /** @override */ 80 /** @override */
81 browsePreload: 'chrome://md-settings/controls/settings_slider.html', 81 browsePreload: 'chrome://md-settings/controls/settings_slider.html',
82 82
83 /** @override */ 83 /** @override */
84 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 84 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
85 'settings_slider_tests.js', 85 'settings_slider_tests.js',
86 ]), 86 ]),
87 }; 87 };
88 88
89 TEST_F('CrSettingsSliderTest', 'All', function() { 89 TEST_F('CrSettingsSliderTest', 'All', function() {
90 settings_slider.registerTests();
91 mocha.run(); 90 mocha.run();
92 }); 91 });
93 92
94 /** 93 /**
95 * @constructor 94 * @constructor
96 * @extends {CrSettingsBrowserTest} 95 * @extends {CrSettingsBrowserTest}
97 */ 96 */
98 function CrSettingsToggleButtonTest() {} 97 function CrSettingsToggleButtonTest() {}
99 98
100 CrSettingsToggleButtonTest.prototype = { 99 CrSettingsToggleButtonTest.prototype = {
(...skipping 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 1649 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1651 'test_browser_proxy.js', 1650 'test_browser_proxy.js',
1652 'test_extension_control_browser_proxy.js', 1651 'test_extension_control_browser_proxy.js',
1653 'extension_controlled_indicator_tests.js', 1652 'extension_controlled_indicator_tests.js',
1654 ]), 1653 ]),
1655 }; 1654 };
1656 1655
1657 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { 1656 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() {
1658 mocha.run(); 1657 mocha.run();
1659 }); 1658 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698