| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 TEST_F('CrElementsScrollableBehaviorTest', 'All', function() { | 178 TEST_F('CrElementsScrollableBehaviorTest', 'All', function() { |
| 179 mocha.run(); | 179 mocha.run(); |
| 180 }); | 180 }); |
| 181 | 181 |
| 182 /** | 182 /** |
| 183 * @constructor | 183 * @constructor |
| 184 * @extends {CrElementsBrowserTest} | 184 * @extends {CrElementsBrowserTest} |
| 185 */ | 185 */ |
| 186 function CrElementsPolicyIndicatorTest() {} |
| 187 |
| 188 CrElementsPolicyIndicatorTest.prototype = { |
| 189 __proto__: CrElementsBrowserTest.prototype, |
| 190 |
| 191 /** @override */ |
| 192 browsePreload: |
| 193 'chrome://resources/cr_elements/policy/cr_policy_indicator.html', |
| 194 |
| 195 /** @override */ |
| 196 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ |
| 197 'cr_policy_strings.js', |
| 198 'cr_policy_indicator_tests.js', |
| 199 ]), |
| 200 }; |
| 201 |
| 202 TEST_F('CrElementsPolicyIndicatorTest', 'All', function() { |
| 203 mocha.run(); |
| 204 }); |
| 205 |
| 206 /** |
| 207 * @constructor |
| 208 * @extends {CrElementsBrowserTest} |
| 209 */ |
| 186 function CrElementsPolicyIndicatorBehaviorTest() {} | 210 function CrElementsPolicyIndicatorBehaviorTest() {} |
| 187 | 211 |
| 188 CrElementsPolicyIndicatorBehaviorTest.prototype = { | 212 CrElementsPolicyIndicatorBehaviorTest.prototype = { |
| 189 __proto__: CrElementsBrowserTest.prototype, | 213 __proto__: CrElementsBrowserTest.prototype, |
| 190 | 214 |
| 191 /** @override */ | 215 /** @override */ |
| 192 browsePreload: | 216 browsePreload: |
| 193 'chrome://resources/cr_elements/policy/cr_policy_indicator_behavior.html', | 217 'chrome://resources/cr_elements/policy/cr_policy_indicator_behavior.html', |
| 194 | 218 |
| 195 /** @override */ | 219 /** @override */ |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 291 |
| 268 /** @override */ | 292 /** @override */ |
| 269 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ | 293 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ |
| 270 'cr_dialog_test.js', | 294 'cr_dialog_test.js', |
| 271 ]), | 295 ]), |
| 272 }; | 296 }; |
| 273 | 297 |
| 274 TEST_F('CrElementsDialogTest', 'All', function() { | 298 TEST_F('CrElementsDialogTest', 'All', function() { |
| 275 mocha.run(); | 299 mocha.run(); |
| 276 }); | 300 }); |
| OLD | NEW |