| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 }); | 163 }); |
| 164 TEST_F('CrExtensionsBrowserTestWithInstalledExtension', | 164 TEST_F('CrExtensionsBrowserTestWithInstalledExtension', |
| 165 'ExtensionServiceProfileSettingsTest', function() { | 165 'ExtensionServiceProfileSettingsTest', function() { |
| 166 extension_service_tests.registerTests(); | 166 extension_service_tests.registerTests(); |
| 167 mocha.grep(assert(extension_service_tests.TestNames.ProfileSettings)).run(); | 167 mocha.grep(assert(extension_service_tests.TestNames.ProfileSettings)).run(); |
| 168 }); | 168 }); |
| 169 | 169 |
| 170 //////////////////////////////////////////////////////////////////////////////// | 170 //////////////////////////////////////////////////////////////////////////////// |
| 171 // Extension Manager Tests | 171 // Extension Manager Tests |
| 172 | 172 |
| 173 TEST_F('CrExtensionsBrowserTestWithMultipleExtensionTypesInstalled', | |
| 174 'ExtensionManagerSplitSectionsTest', function() { | |
| 175 extension_manager_tests.registerTests(); | |
| 176 mocha.grep(assert(extension_manager_tests.TestNames.SplitSections)).run(); | |
| 177 }); | |
| 178 | |
| 179 TEST_F('CrExtensionsBrowserTest', 'ExtensionManagerItemOrderTest', function() { | 173 TEST_F('CrExtensionsBrowserTest', 'ExtensionManagerItemOrderTest', function() { |
| 180 extension_manager_tests.registerTests(); | 174 extension_manager_tests.registerTests(); |
| 181 mocha.grep(assert(extension_manager_tests.TestNames.ItemOrder)).run(); | 175 mocha.grep(assert(extension_manager_tests.TestNames.ItemOrder)).run(); |
| 182 }); | 176 }); |
| 183 | 177 |
| 184 TEST_F('CrExtensionsBrowserTestWithMultipleExtensionTypesInstalled', | 178 TEST_F('CrExtensionsBrowserTestWithMultipleExtensionTypesInstalled', |
| 185 'ExtensionManagerExtensionSectionVisibilityTest', function() { | 179 'ExtensionManagerItemListVisibilityTest', function() { |
| 186 extension_manager_tests.registerTests(); | 180 extension_manager_tests.registerTests(); |
| 187 mocha.grep( | 181 mocha.grep( |
| 188 assert(extension_manager_tests.TestNames.ExtensionSectionVisibility)). | 182 assert(extension_manager_tests.TestNames.ItemListVisibility)).run(); |
| 189 run(); | |
| 190 }); | 183 }); |
| 191 | 184 |
| 192 TEST_F('CrExtensionsBrowserTestWithMultipleExtensionTypesInstalled', | 185 TEST_F('CrExtensionsBrowserTestWithMultipleExtensionTypesInstalled', |
| 193 'ExtensionManagerAppSectionVisibilityTest', function() { | 186 'ExtensionManagerShowItemsTest', function() { |
| 194 extension_manager_tests.registerTests(); | 187 extension_manager_tests.registerTests(); |
| 195 mocha.grep( | 188 mocha.grep(assert(extension_manager_tests.TestNames.ShowItems)).run(); |
| 196 assert(extension_manager_tests.TestNames.AppSectionVisibility)).run(); | |
| 197 }); | 189 }); |
| 198 | |
| 199 TEST_F('CrExtensionsBrowserTestWithMultipleExtensionTypesInstalled', | |
| 200 'ExtensionManagerWebsiteSectionVisibilityTest', function() { | |
| 201 extension_manager_tests.registerTests(); | |
| 202 mocha.grep( | |
| 203 assert(extension_manager_tests.TestNames.WebsiteSectionVisibility)).run(); | |
| 204 }); | |
| 205 | |
| 206 TEST_F('CrExtensionsBrowserTestWithMultipleExtensionTypesInstalled', | |
| 207 'ExtensionManagerScrollingTest', function() { | |
| 208 extension_manager_tests.registerTests(); | |
| 209 mocha.grep(assert(extension_manager_tests.TestNames.Scrolling)).run(); | |
| 210 }); | |
| OLD | NEW |