| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 244 |
| 245 CrSettingsResetPageTest.prototype = { | 245 CrSettingsResetPageTest.prototype = { |
| 246 __proto__: CrSettingsBrowserTest.prototype, | 246 __proto__: CrSettingsBrowserTest.prototype, |
| 247 | 247 |
| 248 /** @override */ | 248 /** @override */ |
| 249 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', | 249 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', |
| 250 | 250 |
| 251 /** @override */ | 251 /** @override */ |
| 252 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | 252 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| 253 'test_browser_proxy.js', | 253 'test_browser_proxy.js', |
| 254 'test_lifetime_browser_proxy.js', |
| 254 'reset_page_test.js', | 255 'reset_page_test.js', |
| 255 ]), | 256 ]), |
| 256 }; | 257 }; |
| 257 | 258 |
| 258 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() { | 259 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() { |
| 259 settings_reset_page.registerTests(); | 260 settings_reset_page.registerTests(); |
| 260 mocha.run(); | 261 mocha.run(); |
| 261 }); | 262 }); |
| 262 | 263 |
| 263 /** | 264 /** |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 | 568 |
| 568 /** @override */ | 569 /** @override */ |
| 569 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | 570 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| 570 'radio_group_tests.js', | 571 'radio_group_tests.js', |
| 571 ]), | 572 ]), |
| 572 }; | 573 }; |
| 573 | 574 |
| 574 TEST_F('CrSettingsRadioGroupTest', 'All', function() { | 575 TEST_F('CrSettingsRadioGroupTest', 'All', function() { |
| 575 mocha.run(); | 576 mocha.run(); |
| 576 }); | 577 }); |
| OLD | NEW |