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

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

Issue 2528523002: MD Settings: add unit tests for <extension-controlled-indicator> (Closed)
Patch Set: minus dep Created 4 years 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 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 1074 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1075 'date_time_page_tests.js', 1075 'date_time_page_tests.js',
1076 ]), 1076 ]),
1077 }; 1077 };
1078 1078
1079 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { 1079 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() {
1080 mocha.run(); 1080 mocha.run();
1081 }); 1081 });
1082 1082
1083 GEN('#endif'); 1083 GEN('#endif');
1084
1085 /**
1086 * @constructor
1087 * @extends {CrSettingsBrowserTest}
1088 */
1089 function CrSettingsExtensionControlledIndicatorTest() {}
1090
1091 CrSettingsExtensionControlledIndicatorTest.prototype = {
1092 __proto__: CrSettingsBrowserTest.prototype,
1093
1094 /** @override */
1095 browsePreload:
1096 'chrome://md-settings/controls/extension_controlled_indicator.html',
1097
1098 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1099 'test_browser_proxy.js',
1100 'test_extension_control_browser_proxy.js',
1101 'extension_controlled_indicator_tests.js',
1102 ]),
1103 };
1104
1105 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() {
1106 mocha.run();
1107 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698