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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 62 settings_prefs.registerTests(); | 62 settings_prefs.registerTests(); |
| 63 site_details.registerTests(); | 63 site_details.registerTests(); |
| 64 site_details_permission.registerTests(); | 64 site_details_permission.registerTests(); |
| 65 site_list.registerTests(); | 65 site_list.registerTests(); |
| 66 site_settings_category.registerTests(); | 66 site_settings_category.registerTests(); |
| 67 | 67 |
| 68 // Run all registered tests. | 68 // Run all registered tests. |
| 69 mocha.run(); | 69 mocha.run(); |
| 70 }); | 70 }); |
| 71 | 71 |
| 72 | |
| 73 TEST_F('CrSettingsBrowserTest', 'ResetPage', function() { | 72 TEST_F('CrSettingsBrowserTest', 'ResetPage', function() { |
| 74 settings_reset_page.registerDialogTests(); | 73 settings_reset_page.registerDialogTests(); |
| 75 settings_reset_page.registerBannerTests(); | 74 settings_reset_page.registerBannerTests(); |
| 76 mocha.run(); | 75 mocha.run(); |
| 77 }); | 76 }); |
| 77 | |
| 78 | |
|
Dan Beam
2016/02/18 23:27:41
nit: remove \n
dpapad
2016/02/18 23:45:47
Done.
| |
| 79 /** | |
| 80 * Test fixture for chrome/browser/resources/settings/search_engines_page/. | |
| 81 * @constructor | |
| 82 * @extends {CrSettingsBrowserTest} | |
| 83 */ | |
| 84 function CrSettingsSearchEnginesTest() {} | |
| 85 | |
| 86 CrSettingsSearchEnginesTest.prototype = { | |
| 87 __proto__: CrSettingsBrowserTest.prototype, | |
| 88 | |
| 89 /** @override */ | |
| 90 browsePreload: | |
| 91 'chrome://md-settings/search_engines_page/search_engines_page.html', | |
| 92 | |
| 93 /** @override */ | |
| 94 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | |
| 95 'search_engines_page_test.js', | |
| 96 ]), | |
| 97 }; | |
| 98 | |
| 99 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() { | |
| 100 settings_search_engines_page.registerDialogTests(); | |
| 101 settings_search_engines_page.registerEntryTests(); | |
| 102 settings_search_engines_page.registerPageTests(); | |
| 103 mocha.run(); | |
| 104 }); | |
| OLD | NEW |