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

Side by Side 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 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 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 browsePreload: 'chrome://md-settings/controls/controlled_radio_button.html', 795 browsePreload: 'chrome://md-settings/controls/controlled_radio_button.html',
796 796
797 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ 797 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
798 'controlled_radio_button_tests.js', 798 'controlled_radio_button_tests.js',
799 ]), 799 ]),
800 }; 800 };
801 801
802 TEST_F('CrControlledRadioButtonTest', 'All', function() { 802 TEST_F('CrControlledRadioButtonTest', 'All', function() {
803 mocha.run(); 803 mocha.run();
804 }); 804 });
805
806 GEN('#if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS)');
807
808 function CrSettingsMetricsReportingTest() {}
809
810 CrSettingsMetricsReportingTest.prototype = {
811 __proto__: CrSettingsBrowserTest.prototype,
812
813 /** @override */
814 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html',
815
816 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
817 'test_browser_proxy.js',
818 'metrics_reporting_tests.js',
819 ]),
820 };
821
822 TEST_F('CrSettingsMetricsReportingTest', 'All', function() {
823 mocha.run();
824 });
825
826 GEN('#endif');
OLDNEW
« 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