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

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

Issue 1814703004: MD Settings: implement "RESTART" button for hardware acceleration to take effect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 9 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_browser_ui.gypi ('k') | chrome/test/data/webui/settings/system_page_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 3f3636ffadbb8c68a62cf684b83e1c3806cc1b70..6b7c72c11ff41096eed5d35a8a22e02b77297410 100644
--- a/chrome/test/data/webui/settings/cr_settings_browsertest.js
+++ b/chrome/test/data/webui/settings/cr_settings_browsertest.js
@@ -200,8 +200,7 @@ CrSettingsDevicePageTest.prototype = {
__proto__: CrSettingsBrowserTest.prototype,
/** @override */
- browsePreload:
- 'chrome://md-settings/device_page/device_page.html',
+ browsePreload: 'chrome://md-settings/device_page/device_page.html',
/** @override */
extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
@@ -215,3 +214,29 @@ TEST_F('CrSettingsDevicePageTest', 'DevicePage', function() {
mocha.run();
});
GEN('#endif');
+
+GEN('#if !defined(OS_CHROMEOS)');
+/**
+ * @constructor
+ * @extends {CrSettingsBrowserTest}
+*/
+function CrSettingsSystemPageTest() {}
+
+CrSettingsSystemPageTest.prototype = {
+ __proto__: CrSettingsBrowserTest.prototype,
+
+ /** @override */
+ browsePreload: 'chrome://md-settings/system_page/system_page.html',
+
+ /** @override */
+ extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
+ ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
+ 'test_browser_proxy.js',
+ 'system_page_tests.js',
+ ]),
+};
+
+TEST_F('CrSettingsSystemPageTest', 'Restart', function() {
+ mocha.run();
+});
+GEN('#endif');
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/test/data/webui/settings/system_page_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698