OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 Tests for shared Polymer elements. */ | 5 /** @fileoverview Tests for shared Polymer elements. */ |
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 167 |
168 /** @override */ | 168 /** @override */ |
169 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ | 169 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ |
170 'cr_scrollable_behavior_tests.js', | 170 'cr_scrollable_behavior_tests.js', |
171 ]), | 171 ]), |
172 }; | 172 }; |
173 | 173 |
174 TEST_F('CrElementsScrollableBehaviorTest', 'All', function() { | 174 TEST_F('CrElementsScrollableBehaviorTest', 'All', function() { |
175 mocha.run(); | 175 mocha.run(); |
176 }); | 176 }); |
| 177 |
| 178 function CrElementsPolicyPrefIndicatorTest() {} |
| 179 |
| 180 CrElementsPolicyPrefIndicatorTest.prototype = { |
| 181 __proto__: CrElementsBrowserTest.prototype, |
| 182 |
| 183 /** @override */ |
| 184 browsePreload: |
| 185 'chrome://resources/cr_elements/policy/cr_policy_pref_indicator.html', |
| 186 |
| 187 /** @override */ |
| 188 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ |
| 189 'cr_policy_pref_indicator_tests.js', |
| 190 ]), |
| 191 }; |
| 192 |
| 193 TEST_F('CrElementsPolicyPrefIndicatorTest', 'All', function() { |
| 194 mocha.run(); |
| 195 }); |
OLD | NEW |