| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 91 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
| 92 'rtl_tests.js', | 92 'rtl_tests.js', |
| 93 ]), | 93 ]), |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 TEST_F('CrSettingsRtlTest', 'DrawerPanelFlips', function() { | 96 TEST_F('CrSettingsRtlTest', 'DrawerPanelFlips', function() { |
| 97 settingsHidePagesByDefaultForTest = true; | 97 settingsHidePagesByDefaultForTest = true; |
| 98 settings_rtl_tests.registerDrawerPanelTests(); | 98 settings_rtl_tests.registerDrawerPanelTests(); |
| 99 mocha.run(); | 99 mocha.run(); |
| 100 }); | 100 }); |
| 101 |
| 102 /** |
| 103 * Test fixture for chrome/browser/resources/settings/search_engines_page/. |
| 104 * @constructor |
| 105 * @extends {CrSettingsBrowserTest} |
| 106 */ |
| 107 function CrSettingsSearchEnginesTest() {} |
| 108 |
| 109 CrSettingsSearchEnginesTest.prototype = { |
| 110 __proto__: CrSettingsBrowserTest.prototype, |
| 111 |
| 112 /** @override */ |
| 113 browsePreload: |
| 114 'chrome://md-settings/search_engines_page/search_engines_page.html', |
| 115 |
| 116 /** @override */ |
| 117 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| 118 'search_engines_page_test.js', |
| 119 ]), |
| 120 }; |
| 121 |
| 122 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() { |
| 123 settings_search_engines_page.registerDialogTests(); |
| 124 settings_search_engines_page.registerEntryTests(); |
| 125 settings_search_engines_page.registerPageTests(); |
| 126 mocha.run(); |
| 127 }); |
| OLD | NEW |