| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 CrSettingsAboutPageTest.prototype = { | 81 CrSettingsAboutPageTest.prototype = { |
| 82 __proto__: CrSettingsBrowserTest.prototype, | 82 __proto__: CrSettingsBrowserTest.prototype, |
| 83 | 83 |
| 84 /** @override */ | 84 /** @override */ |
| 85 browsePreload: 'chrome://md-settings/about_page/about_page.html', | 85 browsePreload: 'chrome://md-settings/about_page/about_page.html', |
| 86 | 86 |
| 87 /** @override */ | 87 /** @override */ |
| 88 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 88 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 89 'test_browser_proxy.js', | 89 'test_browser_proxy.js', |
| 90 'test_lifetime_browser_proxy.js', |
| 90 'about_page_tests.js', | 91 'about_page_tests.js', |
| 91 ]), | 92 ]), |
| 92 }; | 93 }; |
| 93 | 94 |
| 94 TEST_F('CrSettingsAboutPageTest', 'AboutPage', function() { | 95 TEST_F('CrSettingsAboutPageTest', 'AboutPage', function() { |
| 95 settings_about_page.registerTests(); | 96 settings_about_page.registerTests(); |
| 96 mocha.run(); | 97 mocha.run(); |
| 97 }); | 98 }); |
| 98 | 99 |
| 99 GEN('#if defined(GOOGLE_CHROME_BUILD)'); | 100 GEN('#if defined(GOOGLE_CHROME_BUILD)'); |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 | 570 |
| 570 /** @override */ | 571 /** @override */ |
| 571 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | 572 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| 572 'radio_group_tests.js', | 573 'radio_group_tests.js', |
| 573 ]), | 574 ]), |
| 574 }; | 575 }; |
| 575 | 576 |
| 576 TEST_F('CrSettingsRadioGroupTest', 'All', function() { | 577 TEST_F('CrSettingsRadioGroupTest', 'All', function() { |
| 577 mocha.run(); | 578 mocha.run(); |
| 578 }); | 579 }); |
| OLD | NEW |