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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 195 |
196 //////////////////////////////////////////////////////////////////////////////// | 196 //////////////////////////////////////////////////////////////////////////////// |
197 // Extension Load Error Tests | 197 // Extension Load Error Tests |
198 | 198 |
199 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorInteractionTest', | 199 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorInteractionTest', |
200 function() { | 200 function() { |
201 extension_load_error_tests.registerTests(); | 201 extension_load_error_tests.registerTests(); |
202 mocha.grep(assert(extension_load_error_tests.TestNames.Interaction)).run(); | 202 mocha.grep(assert(extension_load_error_tests.TestNames.Interaction)).run(); |
203 }); | 203 }); |
204 | 204 |
| 205 TEST_F('CrExtensionsBrowserTest', 'ExtensionLoadErrorCodeSectionTest', |
| 206 function() { |
| 207 extension_load_error_tests.registerTests(); |
| 208 mocha.grep(assert(extension_load_error_tests.TestNames.CodeSection)).run(); |
| 209 }); |
| 210 |
205 //////////////////////////////////////////////////////////////////////////////// | 211 //////////////////////////////////////////////////////////////////////////////// |
206 // Extension Service Tests | 212 // Extension Service Tests |
207 | 213 |
208 TEST_F('CrExtensionsBrowserTestWithInstalledExtension', | 214 TEST_F('CrExtensionsBrowserTestWithInstalledExtension', |
209 'ExtensionServiceToggleEnableTest', function() { | 215 'ExtensionServiceToggleEnableTest', function() { |
210 extension_service_tests.registerTests(); | 216 extension_service_tests.registerTests(); |
211 mocha.grep(assert(extension_service_tests.TestNames.EnableAndDisable)).run(); | 217 mocha.grep(assert(extension_service_tests.TestNames.EnableAndDisable)).run(); |
212 }); | 218 }); |
213 TEST_F('CrExtensionsBrowserTestWithInstalledExtension', | 219 TEST_F('CrExtensionsBrowserTestWithInstalledExtension', |
214 'ExtensionServiceToggleIncognitoTest', function() { | 220 'ExtensionServiceToggleIncognitoTest', function() { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 }); | 334 }); |
329 | 335 |
330 //////////////////////////////////////////////////////////////////////////////// | 336 //////////////////////////////////////////////////////////////////////////////// |
331 // Extension Code Section Tests | 337 // Extension Code Section Tests |
332 | 338 |
333 TEST_F('CrExtensionsBrowserTest', 'ExtensionCodeSectionLayoutTest', | 339 TEST_F('CrExtensionsBrowserTest', 'ExtensionCodeSectionLayoutTest', |
334 function() { | 340 function() { |
335 extension_code_section_tests.registerTests(); | 341 extension_code_section_tests.registerTests(); |
336 mocha.grep(assert(extension_code_section_tests.TestNames.Layout)).run(); | 342 mocha.grep(assert(extension_code_section_tests.TestNames.Layout)).run(); |
337 }); | 343 }); |
OLD | NEW |