Chromium Code Reviews| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 478 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 478 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 479 'fake_language_settings_private.js', | 479 'fake_language_settings_private.js', |
| 480 'fake_settings_private.js', | 480 'fake_settings_private.js', |
| 481 'languages_page_tests.js', | 481 'languages_page_tests.js', |
| 482 ]), | 482 ]), |
| 483 }; | 483 }; |
| 484 | 484 |
| 485 TEST_F('CrSettingsLanguagesPageTest', 'LanguagesPage', function() { | 485 TEST_F('CrSettingsLanguagesPageTest', 'LanguagesPage', function() { |
| 486 mocha.run(); | 486 mocha.run(); |
| 487 }); | 487 }); |
| 488 | |
| 489 /** | |
| 490 * @constructor | |
| 491 * @extends {CrSettingsBrowserTest} | |
| 492 */ | |
| 493 function CrSettingsAboutPageTest() {} | |
|
tommycli
2016/05/13 18:24:26
I realize we don't have a good existing ordering h
dpapad
2016/05/13 19:28:02
Done.
| |
| 494 | |
| 495 CrSettingsAboutPageTest.prototype = { | |
| 496 __proto__: CrSettingsBrowserTest.prototype, | |
| 497 | |
| 498 /** @override */ | |
| 499 browsePreload: 'chrome://md-settings/about_page/about_page.html', | |
| 500 | |
| 501 /** @override */ | |
| 502 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | |
| 503 'test_browser_proxy.js', | |
| 504 'about_page_tests.js', | |
| 505 ]), | |
| 506 }; | |
| 507 | |
| 508 TEST_F('CrSettingsAboutPageTest', 'AboutPage', function() { | |
| 509 settings_about_page.registerTests(); | |
| 510 mocha.run(); | |
| 511 }); | |
| OLD | NEW |