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

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

Issue 1975003002: MD Settings: About page, implementing detailed build info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments. Created 4 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
« no previous file with comments | « chrome/test/data/webui/settings/about_page_tests.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 TEST_F('CrSettingsBrowserTest', 'MAYBE_CrSettingsTest', function() { 60 TEST_F('CrSettingsBrowserTest', 'MAYBE_CrSettingsTest', function() {
61 settings_checkbox.registerTests(); 61 settings_checkbox.registerTests();
62 settings_dropdown_menu.registerTests(); 62 settings_dropdown_menu.registerTests();
63 settings_prefUtil.registerTests(); 63 settings_prefUtil.registerTests();
64 settings_prefs.registerTests(); 64 settings_prefs.registerTests();
65 65
66 // Run all registered tests. 66 // Run all registered tests.
67 mocha.run(); 67 mocha.run();
68 }); 68 });
69 69
70 /**
71 * @constructor
72 * @extends {CrSettingsBrowserTest}
73 */
74 function CrSettingsAboutPageTest() {}
75
76 CrSettingsAboutPageTest.prototype = {
77 __proto__: CrSettingsBrowserTest.prototype,
78
79 /** @override */
80 browsePreload: 'chrome://md-settings/about_page/about_page.html',
81
82 /** @override */
83 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
84 'test_browser_proxy.js',
85 'about_page_tests.js',
86 ]),
87 };
88
89 TEST_F('CrSettingsAboutPageTest', 'AboutPage', function() {
90 settings_about_page.registerTests();
91 mocha.run();
92 });
93
70 GEN('#if defined(OS_CHROMEOS)'); 94 GEN('#if defined(OS_CHROMEOS)');
71 /** 95 /**
72 * Test fixture for 96 * Test fixture for
73 * chrome/browser/resources/settings/people_page/change_picture.html. 97 * chrome/browser/resources/settings/people_page/change_picture.html.
74 * This is ChromeOS only. 98 * This is ChromeOS only.
75 * @constructor 99 * @constructor
76 * @extends {CrSettingsBrowserTest} 100 * @extends {CrSettingsBrowserTest}
77 */ 101 */
78 function CrSettingsPeoplePageChangePictureTest() {} 102 function CrSettingsPeoplePageChangePictureTest() {}
79 103
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 502 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
479 'fake_language_settings_private.js', 503 'fake_language_settings_private.js',
480 'fake_settings_private.js', 504 'fake_settings_private.js',
481 'languages_page_tests.js', 505 'languages_page_tests.js',
482 ]), 506 ]),
483 }; 507 };
484 508
485 TEST_F('CrSettingsLanguagesPageTest', 'LanguagesPage', function() { 509 TEST_F('CrSettingsLanguagesPageTest', 'LanguagesPage', function() {
486 mocha.run(); 510 mocha.run();
487 }); 511 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/about_page_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698