Chromium Code Reviews| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 219 /** @override */ | 219 /** @override */ |
| 220 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ | 220 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ |
| 221 'cr_policy_strings.js', | 221 'cr_policy_strings.js', |
| 222 'cr_policy_pref_indicator_tests.js', | 222 'cr_policy_pref_indicator_tests.js', |
| 223 ]), | 223 ]), |
| 224 }; | 224 }; |
| 225 | 225 |
| 226 TEST_F('CrElementsPolicyPrefIndicatorTest', 'All', function() { | 226 TEST_F('CrElementsPolicyPrefIndicatorTest', 'All', function() { |
| 227 mocha.run(); | 227 mocha.run(); |
| 228 }); | 228 }); |
| 229 | 229 |
|
Dan Beam
2017/03/09 00:57:45
we might as well be consistent and add this fluffy
stevenjb
2017/03/09 01:12:24
Oops, I think they got lost in the merge. Done.
| |
| 230 function CrElementsPolicyNetworkIndicatorTest() {} | |
| 231 | |
| 232 CrElementsPolicyNetworkIndicatorTest.prototype = { | |
| 233 __proto__: CrElementsBrowserTest.prototype, | |
| 234 | |
| 235 /** @override */ | |
| 236 browsePreload: | |
| 237 'chrome://resources/cr_elements/policy/cr_policy_network_indicator.html', | |
| 238 | |
| 239 /** @override */ | |
| 240 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ | |
| 241 'cr_policy_strings.js', | |
| 242 'cr_policy_network_indicator_tests.js', | |
| 243 ]), | |
| 244 }; | |
| 245 | |
| 246 TEST_F('CrElementsPolicyNetworkIndicatorTest', 'All', function() { | |
| 247 mocha.run(); | |
| 248 }); | |
| 249 | |
| 230 /** | 250 /** |
| 231 * @constructor | 251 * @constructor |
| 232 * @extends {CrElementsBrowserTest} | 252 * @extends {CrElementsBrowserTest} |
| 233 */ | 253 */ |
| 234 function CrElementsDialogTest() {} | 254 function CrElementsDialogTest() {} |
| 235 | 255 |
| 236 CrElementsDialogTest.prototype = { | 256 CrElementsDialogTest.prototype = { |
| 237 __proto__: CrElementsBrowserTest.prototype, | 257 __proto__: CrElementsBrowserTest.prototype, |
| 238 | 258 |
| 239 /** @override */ | 259 /** @override */ |
| 240 browsePreload: 'chrome://resources/cr_elements/cr_dialog/cr_dialog.html', | 260 browsePreload: 'chrome://resources/cr_elements/cr_dialog/cr_dialog.html', |
| 241 | 261 |
| 242 /** @override */ | 262 /** @override */ |
| 243 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ | 263 extraLibraries: CrElementsBrowserTest.prototype.extraLibraries.concat([ |
| 244 'cr_dialog_test.js', | 264 'cr_dialog_test.js', |
| 245 ]), | 265 ]), |
| 246 }; | 266 }; |
| 247 | 267 |
| 248 TEST_F('CrElementsDialogTest', 'All', function() { | 268 TEST_F('CrElementsDialogTest', 'All', function() { |
| 249 mocha.run(); | 269 mocha.run(); |
| 250 }); | 270 }); |
| OLD | NEW |