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

Unified Diff: chrome/test/data/webui/settings/cr_settings_browsertest.js

Issue 2233443002: MD Settings: implement metrics reporting checkbox on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desktop-uma
Patch Set: remove 2 using 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/chrome_tests_unit.gypi ('k') | chrome/test/data/webui/settings/metrics_reporting_tests.js » ('j') | 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 1dd36378ea1af0f607579e598d0f957f8089e2d5..1f36ad79abfdfc202f565f7dec57dad9658c7fce 100644
--- a/chrome/test/data/webui/settings/cr_settings_browsertest.js
+++ b/chrome/test/data/webui/settings/cr_settings_browsertest.js
@@ -802,3 +802,25 @@ CrControlledRadioButtonTest.prototype = {
TEST_F('CrControlledRadioButtonTest', 'All', function() {
mocha.run();
});
+
+GEN('#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS)');
+
+function CrSettingsMetricsReportingTest() {}
+
+CrSettingsMetricsReportingTest.prototype = {
+ __proto__: CrSettingsBrowserTest.prototype,
+
+ /** @override */
+ browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html',
+
+ extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
+ 'test_browser_proxy.js',
+ 'metrics_reporting_tests.js',
+ ]),
+};
+
+TEST_F('CrSettingsMetricsReportingTest', 'All', function() {
+ mocha.run();
+});
+
+GEN('#endif');
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/data/webui/settings/metrics_reporting_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698