| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Include test fixture. | 5 // Include test fixture. |
| 6 GEN_INCLUDE(['../../../chromevox/testing/chromevox_e2e_test.js']); | 6 GEN_INCLUDE(['../../../chromevox/testing/chromevox_e2e_test_base.js']); |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * Test fixture for cvox2.Background. | 9 * Test fixture for cvox2.Background. |
| 10 * @constructor | 10 * @constructor |
| 11 * @extends {ChromeVoxE2ETest} | 11 * @extends {ChromeVoxE2ETest} |
| 12 */ | 12 */ |
| 13 function BackgroundTest() {} | 13 function BackgroundTest() {} |
| 14 | 14 |
| 15 BackgroundTest.prototype = { | 15 BackgroundTest.prototype = { |
| 16 __proto__: ChromeVoxE2ETest.prototype, | 16 __proto__: ChromeVoxE2ETest.prototype, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 testButton.addEventListener(chrome.automation.EventType.focus, | 84 testButton.addEventListener(chrome.automation.EventType.focus, |
| 85 function(e) { | 85 function(e) { |
| 86 var result = | 86 var result = |
| 87 cvox.ChromeVox.tts.checkIfTextWasSpoken('Status tray button'); | 87 cvox.ChromeVox.tts.checkIfTextWasSpoken('Status tray button'); |
| 88 testDone([result, '']); | 88 testDone([result, '']); |
| 89 }, | 89 }, |
| 90 true); | 90 true); |
| 91 testButton.focus(); | 91 testButton.focus(); |
| 92 }); | 92 }); |
| 93 }); | 93 }); |
| OLD | NEW |