OLD | NEW |
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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', | 242 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', |
243 'test_browser_proxy.js', | 243 'test_browser_proxy.js', |
244 'system_page_tests.js', | 244 'system_page_tests.js', |
245 ]), | 245 ]), |
246 }; | 246 }; |
247 | 247 |
248 TEST_F('CrSettingsSystemPageTest', 'Restart', function() { | 248 TEST_F('CrSettingsSystemPageTest', 'Restart', function() { |
249 mocha.run(); | 249 mocha.run(); |
250 }); | 250 }); |
251 GEN('#endif'); | 251 GEN('#endif'); |
| 252 |
| 253 /** |
| 254 * @constructor |
| 255 * @extends {CrSettingsBrowserTest} |
| 256 */ |
| 257 function CrSettingsStartupUrlsPageTest() {} |
| 258 |
| 259 CrSettingsStartupUrlsPageTest.prototype = { |
| 260 __proto__: CrSettingsBrowserTest.prototype, |
| 261 |
| 262 browsePreload: 'chrome://md-settings/on_startup_page/startup_urls_page.html', |
| 263 |
| 264 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 265 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', |
| 266 'test_browser_proxy.js', |
| 267 'startup_urls_page_test.js', |
| 268 ]), |
| 269 }; |
| 270 |
| 271 TEST_F('CrSettingsStartupUrlsPageTest', 'Validity', function() { |
| 272 mocha.run(); |
| 273 }); |
OLD | NEW |