| 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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 | 733 |
| 734 CrSettingsBluetoothPageTest.prototype = { | 734 CrSettingsBluetoothPageTest.prototype = { |
| 735 __proto__: CrSettingsBrowserTest.prototype, | 735 __proto__: CrSettingsBrowserTest.prototype, |
| 736 | 736 |
| 737 /** @override */ | 737 /** @override */ |
| 738 browsePreload: 'chrome://md-settings/bluetooth_page/bluetooth_page.html', | 738 browsePreload: 'chrome://md-settings/bluetooth_page/bluetooth_page.html', |
| 739 | 739 |
| 740 /** @override */ | 740 /** @override */ |
| 741 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 741 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 742 ROOT_PATH + 'ui/webui/resources/js/assert.js', | 742 ROOT_PATH + 'ui/webui/resources/js/assert.js', |
| 743 ROOT_PATH + 'ui/webui/resources/js/load_time_data.js', | |
| 744 '../fake_chrome_event.js', | 743 '../fake_chrome_event.js', |
| 745 'fake_bluetooth.js', | 744 'fake_bluetooth.js', |
| 746 'fake_bluetooth_private.js', | 745 'fake_bluetooth_private.js', |
| 747 'bluetooth_page_tests.js', | 746 'bluetooth_page_tests.js', |
| 748 ]), | 747 ]), |
| 749 }; | 748 }; |
| 750 | 749 |
| 751 TEST_F('CrSettingsBluetoothPageTest', 'BluetoothPageTest', function() { | 750 TEST_F('CrSettingsBluetoothPageTest', 'BluetoothPageTest', function() { |
| 752 mocha.run(); | 751 mocha.run(); |
| 753 }); | 752 }); |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1197 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 1199 'test_browser_proxy.js', | 1198 'test_browser_proxy.js', |
| 1200 'test_extension_control_browser_proxy.js', | 1199 'test_extension_control_browser_proxy.js', |
| 1201 'extension_controlled_indicator_tests.js', | 1200 'extension_controlled_indicator_tests.js', |
| 1202 ]), | 1201 ]), |
| 1203 }; | 1202 }; |
| 1204 | 1203 |
| 1205 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1204 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
| 1206 mocha.run(); | 1205 mocha.run(); |
| 1207 }); | 1206 }); |
| OLD | NEW |