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

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: tests 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
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..234cc31f3fb2d0d403dd8cef51d047a1934cd51c 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,28 @@ 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([
+ 'test_browser_proxy.js',
dpapad 2016/03/21 18:17:38 TestBrowserProxy depends on PromiseResolver, so yo
Dan Beam 2016/03/22 02:16:59 this is probably why it worked: https://code.googl
+ 'system_page_tests.js',
+ ]),
+};
+
+TEST_F('CrSettingsSystemPageTest', 'Restart', function() {
+ mocha.run();
+});
+GEN('#endif');

Powered by Google App Engine
This is Rietveld 408576698