Chromium Code Reviews| 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'); |