| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 CrSettingsResetPageTest.prototype = { | 410 CrSettingsResetPageTest.prototype = { |
| 411 __proto__: CrSettingsBrowserTest.prototype, | 411 __proto__: CrSettingsBrowserTest.prototype, |
| 412 | 412 |
| 413 /** @override */ | 413 /** @override */ |
| 414 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', | 414 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', |
| 415 | 415 |
| 416 /** @override */ | 416 /** @override */ |
| 417 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 417 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 418 'test_browser_proxy.js', | 418 'test_browser_proxy.js', |
| 419 'test_lifetime_browser_proxy.js', | 419 'test_lifetime_browser_proxy.js', |
| 420 'test_reset_browser_proxy.js', |
| 420 'reset_page_test.js', | 421 'reset_page_test.js', |
| 421 ]), | 422 ]), |
| 422 }; | 423 }; |
| 423 | 424 |
| 424 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() { | 425 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() { |
| 425 settings_reset_page.registerTests(); | |
| 426 mocha.run(); | 426 mocha.run(); |
| 427 }); | 427 }); |
| 428 | 428 |
| 429 /** |
| 430 * Test fixture for |
| 431 * chrome/browser/resources/settings/reset_page/reset_profile_banner.html |
| 432 * @constructor |
| 433 * @extends {CrSettingsBrowserTest} |
| 434 */ |
| 435 function CrSettingsResetProfileBannerTest() {} |
| 436 |
| 437 CrSettingsResetProfileBannerTest.prototype = { |
| 438 __proto__: CrSettingsBrowserTest.prototype, |
| 439 |
| 440 /** @override */ |
| 441 browsePreload: 'chrome://md-settings/reset_page/reset_profile_banner.html', |
| 442 |
| 443 /** @override */ |
| 444 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 445 'test_browser_proxy.js', |
| 446 'test_reset_browser_proxy.js', |
| 447 'reset_profile_banner_test.js', |
| 448 ]), |
| 449 }; |
| 450 |
| 451 TEST_F('CrSettingsResetProfileBannerTest', 'ResetProfileBanner', function() { |
| 452 mocha.run(); |
| 453 }); |
| 454 |
| 429 /** | 455 /** |
| 430 * @constructor | 456 * @constructor |
| 431 * @extends {CrSettingsBrowserTest} | 457 * @extends {CrSettingsBrowserTest} |
| 432 */ | 458 */ |
| 433 function CrSettingsAppearancePageTest() {} | 459 function CrSettingsAppearancePageTest() {} |
| 434 | 460 |
| 435 CrSettingsAppearancePageTest.prototype = { | 461 CrSettingsAppearancePageTest.prototype = { |
| 436 __proto__: CrSettingsBrowserTest.prototype, | 462 __proto__: CrSettingsBrowserTest.prototype, |
| 437 | 463 |
| 438 /** @override */ | 464 /** @override */ |
| (...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1197 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1223 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1198 'test_browser_proxy.js', | 1224 'test_browser_proxy.js', |
| 1199 'test_extension_control_browser_proxy.js', | 1225 'test_extension_control_browser_proxy.js', |
| 1200 'extension_controlled_indicator_tests.js', | 1226 'extension_controlled_indicator_tests.js', |
| 1201 ]), | 1227 ]), |
| 1202 }; | 1228 }; |
| 1203 | 1229 |
| 1204 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1230 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1205 mocha.run(); | 1231 mocha.run(); |
| 1206 }); | 1232 }); |
| OLD | NEW |