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

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

Issue 2438443005: MD Settings: Date and Time page, part 2/3 (Closed)
Patch Set: rebase 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 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 browsePreload: 'chrome://md-settings/settings_action_menu.html', 981 browsePreload: 'chrome://md-settings/settings_action_menu.html',
982 982
983 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 983 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
984 'settings_action_menu_test.js', 984 'settings_action_menu_test.js',
985 ]), 985 ]),
986 }; 986 };
987 987
988 TEST_F('CrSettingsActionMenuTest', 'All', function() { 988 TEST_F('CrSettingsActionMenuTest', 'All', function() {
989 mocha.run(); 989 mocha.run();
990 }); 990 });
991
992 GEN('#if defined(OS_CHROMEOS)');
993
994 /**
995 * Test fixture for the Date and Time page.
996 * @constructor
997 * @extends {CrSettingsBrowserTest}
998 */
999 function CrSettingsDateTimePageTest() {}
1000
1001 CrSettingsDateTimePageTest.prototype = {
1002 __proto__: CrSettingsBrowserTest.prototype,
1003
1004 /** @override */
1005 browsePreload: 'chrome://md-settings/date_time_page/date_time_page.html',
1006
1007 /** @override */
1008 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
1009 'date_time_page_tests.js',
1010 ]),
1011 };
1012
1013 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() {
1014 mocha.run();
1015 });
1016
1017 GEN('#endif');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698