| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 /** @fileoverview Runs the Chromium Polymer elements tests. */ |
| 6 |
| 7 // WebComponentTest fixture. |
| 8 GEN_INCLUDE(['web_component_test.js']); |
| 9 |
| 10 // Individual component tests. |
| 11 GEN_INCLUDE([ |
| 12 'cr_checkbox_tests.js', |
| 13 ]); |
| 14 |
| 15 /** |
| 16 * Test fixture for Chromium Polymer components. |
| 17 * @constructor |
| 18 * @extends {wcTest.BrowserTest} |
| 19 */ |
| 20 function CrElementsBrowserTest() {} |
| 21 |
| 22 CrElementsBrowserTest.prototype = { |
| 23 __proto__: wcTest.BrowserTest.prototype, |
| 24 }; |
| 25 |
| 26 // Runs all tests. |
| 27 TEST_F('CrElementsBrowserTest', 'CrElementsTest', function() { |
| 28 // Register Mocha tests for each component. |
| 29 RegisterCrCheckboxTests(); |
| 30 |
| 31 // Run all registered tests. |
| 32 mocha.run(); |
| 33 }); |
| OLD | NEW |