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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/cr_settings_browsertest.js
diff --git a/chrome/test/data/webui/settings/cr_settings_browsertest.js b/chrome/test/data/webui/settings/cr_settings_browsertest.js
index 926d7b8bb8354aa48b9e3d4a07cb3b77c2374cef..d117682d795ac62c49d9f112cfb74276be250288 100644
--- a/chrome/test/data/webui/settings/cr_settings_browsertest.js
+++ b/chrome/test/data/webui/settings/cr_settings_browsertest.js
@@ -747,3 +747,24 @@ CrControlledButtonTest.prototype = {
TEST_F('CrControlledButtonTest', 'All', function() {
mocha.run();
});
+
+/**
+ * @constructor
+ * @extends {CrSettingsBrowserTest}
+ */
+function CrControlledRadioButtonTest() {}
+
+CrControlledRadioButtonTest.prototype = {
+ __proto__: CrSettingsBrowserTest.prototype,
+
+ /** @override */
+ browsePreload: 'chrome://md-settings/controls/controlled_radio_button.html',
+
+ extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
+ 'controlled_radio_button_tests.js',
+ ]),
+};
+
+TEST_F('CrControlledRadioButtonTest', 'All', function() {
+ mocha.run();
+});
« 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