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 var ROOT_PATH = '../../../../'; | 5 var ROOT_PATH = '../../../../'; |
6 | 6 |
7 GEN_INCLUDE( | 7 GEN_INCLUDE( |
8 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); | 8 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); |
9 | 9 |
10 /** | 10 /** |
11 * Test fixture for DestinationSearch of Print Preview. | 11 * Test fixture for DestinationSearch of Print Preview. |
12 * @constructor | 12 * @constructor |
13 * @extends {PolymerTest} | 13 * @extends {PolymerTest} |
14 */ | 14 */ |
15 function PrintPreviewDestinationSearchTest() {} | 15 function PrintPreviewDestinationSearchTest() {} |
16 | 16 |
17 PrintPreviewDestinationSearchTest.prototype = { | 17 PrintPreviewDestinationSearchTest.prototype = { |
18 __proto__: PolymerTest.prototype, | 18 __proto__: PolymerTest.prototype, |
19 | 19 |
20 /** @override */ | 20 /** @override */ |
21 browsePreload: 'chrome://print', | 21 browsePreload: 'chrome://print', |
22 | 22 |
23 /** @override */ | 23 /** @override */ |
24 runAccessibilityChecks: false, | 24 runAccessibilityChecks: false, |
25 | 25 |
26 /** @override */ | 26 /** @override */ |
27 extraLibraries: PolymerTest.getLibraries(ROOT_PATH), | 27 extraLibraries: PolymerTest.getLibraries(ROOT_PATH), |
28 }; | 28 }; |
29 | 29 |
30 TEST_F('PrintPreviewDestinationSearchTest', 'DISABLED_Select', function() { | 30 TEST_F('PrintPreviewDestinationSearchTest', 'Select', function() { |
31 var self = this; | 31 var self = this; |
32 | 32 |
33 suite('DestinationSearchTest', function() { | 33 suite('DestinationSearchTest', function() { |
34 var root_; | 34 var root_; |
35 | 35 |
36 var destinationSearch_; | 36 var destinationSearch_; |
37 var nativeLayer_; | 37 var nativeLayer_; |
38 var invitationStore_; | 38 var invitationStore_; |
39 var destinationStore_; | 39 var destinationStore_; |
40 var userInfo_; | 40 var userInfo_; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 resolveSetup(resolver, destId, false, null); | 179 resolveSetup(resolver, destId, false, null); |
180 | 180 |
181 return waiter.then(function() { | 181 return waiter.then(function() { |
182 assertEquals(null, destinationStore_.selectedDestination); | 182 assertEquals(null, destinationStore_.selectedDestination); |
183 }); | 183 }); |
184 }); | 184 }); |
185 }); | 185 }); |
186 | 186 |
187 mocha.run(); | 187 mocha.run(); |
188 }); | 188 }); |
OLD | NEW |