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

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

Issue 2212713002: MD Settings: add tests for <controlled-radio-button> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@controlled-radio
Patch Set: merge Created 4 years, 4 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/controlled_radio_button_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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 browsePreload: 'chrome://md-settings/controls/controlled_button.html', 740 browsePreload: 'chrome://md-settings/controls/controlled_button.html',
741 741
742 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 742 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
743 'controlled_button_tests.js', 743 'controlled_button_tests.js',
744 ]), 744 ]),
745 }; 745 };
746 746
747 TEST_F('CrControlledButtonTest', 'All', function() { 747 TEST_F('CrControlledButtonTest', 'All', function() {
748 mocha.run(); 748 mocha.run();
749 }); 749 });
750
751 /**
752 * @constructor
753 * @extends {CrSettingsBrowserTest}
754 */
755 function CrControlledRadioButtonTest() {}
756
757 CrControlledRadioButtonTest.prototype = {
758 __proto__: CrSettingsBrowserTest.prototype,
759
760 /** @override */
761 browsePreload: 'chrome://md-settings/controls/controlled_radio_button.html',
762
763 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
764 'controlled_radio_button_tests.js',
765 ]),
766 };
767
768 TEST_F('CrControlledRadioButtonTest', 'All', function() {
769 mocha.run();
770 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/controlled_radio_button_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698