| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 //////////////////////////////////////////////////////////////////////////////// | 188 //////////////////////////////////////////////////////////////////////////////// |
| 189 // Extension Item List Tests | 189 // Extension Item List Tests |
| 190 | 190 |
| 191 TEST_F('CrExtensionsBrowserTest', 'ExtensionItemList', function() { | 191 TEST_F('CrExtensionsBrowserTest', 'ExtensionItemList', function() { |
| 192 extension_item_list_tests.registerTests(); | 192 extension_item_list_tests.registerTests(); |
| 193 mocha.grep( | 193 mocha.grep( |
| 194 assert(extension_item_list_tests.TestNames.ItemListFiltering)).run(); | 194 assert(extension_item_list_tests.TestNames.ItemListFiltering)).run(); |
| 195 }); | 195 }); |
| 196 | 196 |
| 197 TEST_F('CrExtensionsBrowserTest', 'ExtensionItemListEmpty', function() { |
| 198 extension_item_list_tests.registerTests(); |
| 199 mocha.grep(assert(extension_item_list_tests.TestNames.ItemListNoItemsMsg)) |
| 200 .run(); |
| 201 }); |
| 202 |
| 203 TEST_F( |
| 204 'CrExtensionsBrowserTest', 'ExtensionItemListNoSearchResults', function() { |
| 205 extension_item_list_tests.registerTests(); |
| 206 mocha |
| 207 .grep(assert( |
| 208 extension_item_list_tests.TestNames.ItemListNoSearchResultsMsg)) |
| 209 .run(); |
| 210 }); |
| 211 |
| 197 //////////////////////////////////////////////////////////////////////////////// | 212 //////////////////////////////////////////////////////////////////////////////// |
| 198 // Extension Load Error Tests | 213 // Extension Load Error Tests |
| 199 | 214 |
| 200 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorInteractionTest', | 215 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorInteractionTest', |
| 201 function() { | 216 function() { |
| 202 extension_load_error_tests.registerTests(); | 217 extension_load_error_tests.registerTests(); |
| 203 mocha.grep(assert(extension_load_error_tests.TestNames.Interaction)).run(); | 218 mocha.grep(assert(extension_load_error_tests.TestNames.Interaction)).run(); |
| 204 }); | 219 }); |
| 205 | 220 |
| 206 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorCodeSectionTest', | 221 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorCodeSectionTest', |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 assert(extension_navigation_helper_tests.TestNames.Conversions)).run(); | 386 assert(extension_navigation_helper_tests.TestNames.Conversions)).run(); |
| 372 }); | 387 }); |
| 373 | 388 |
| 374 TEST_F('CrExtensionsNavigationHelperBrowserTest', | 389 TEST_F('CrExtensionsNavigationHelperBrowserTest', |
| 375 'ExtensionNavigationHelperPushAndReplaceStateTest', function() { | 390 'ExtensionNavigationHelperPushAndReplaceStateTest', function() { |
| 376 extension_navigation_helper_tests.registerTests(); | 391 extension_navigation_helper_tests.registerTests(); |
| 377 mocha.grep( | 392 mocha.grep( |
| 378 assert(extension_navigation_helper_tests.TestNames.PushAndReplaceState)) | 393 assert(extension_navigation_helper_tests.TestNames.PushAndReplaceState)) |
| 379 .run(); | 394 .run(); |
| 380 }); | 395 }); |
| OLD | NEW |