| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 /** | 5 /** |
| 6 * Standalone unit tests of the PDF Polymer elements. | 6 * Standalone unit tests of the PDF Polymer elements. |
| 7 */ | 7 */ |
| 8 var tests = [ | 8 var tests = [ |
| 9 /** | 9 /** |
| 10 * Test that viewer-page-selector reacts correctly to text entry. The page | 10 * Test that viewer-page-selector reacts correctly to text entry. The page |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 assertEvent('fit-to-width'); | 188 assertEvent('fit-to-width'); |
| 189 | 189 |
| 190 // Tap 4: Fire fit-to-page again. | 190 // Tap 4: Fire fit-to-page again. |
| 191 MockInteractions.tap(fab); | 191 MockInteractions.tap(fab); |
| 192 assertEvent('fit-to-page'); | 192 assertEvent('fit-to-page'); |
| 193 | 193 |
| 194 chrome.test.succeed(); | 194 chrome.test.succeed(); |
| 195 } | 195 } |
| 196 ]; | 196 ]; |
| 197 | 197 |
| 198 importTestHelpers().then(function() { | 198 chrome.test.runTests(tests); |
| 199 chrome.test.runTests(tests); | |
| 200 }); | |
| OLD | NEW |