| 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 19 matching lines...) Expand all Loading... |
| 30 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ | 30 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ |
| 31 'checkbox_tests.js', | 31 'checkbox_tests.js', |
| 32 'prefs_test_cases.js', | 32 'prefs_test_cases.js', |
| 33 'prefs_tests.js', | 33 'prefs_tests.js', |
| 34 ]), | 34 ]), |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 // Runs all tests. | 37 // Runs all tests. |
| 38 TEST_F('CrSettingsBrowserTest', 'DISABLED_CrSettingsTest', function() { | 38 TEST_F('CrSettingsBrowserTest', 'DISABLED_CrSettingsTest', function() { |
| 39 // Register mocha tests for each element. | 39 // Register mocha tests for each element. |
| 40 cr_settings_checkbox.registerTests(); | 40 settings_checkbox.registerTests(); |
| 41 cr_settings_prefs.registerTests(); | 41 cr_settings_prefs.registerTests(); |
| 42 | 42 |
| 43 // Run all registered tests. | 43 // Run all registered tests. |
| 44 mocha.run(); | 44 mocha.run(); |
| 45 }); | 45 }); |
| OLD | NEW |