| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Include test fixture. |
| 6 GEN_INCLUDE(['../../../chromevox/testing/chromevox_unittest_base.js']); |
| 7 |
| 8 /** |
| 9 * Test fixture for cvox2.Background. |
| 10 * @constructor |
| 11 * @extends {ChromeVoxUnitTestBase} |
| 12 */ |
| 13 function BackgroundTest() {} |
| 14 |
| 15 BackgroundTest.prototype = { |
| 16 __proto__: ChromeVoxUnitTestBase.prototype, |
| 17 |
| 18 /** @override */ |
| 19 browsePreload: null, |
| 20 |
| 21 /** @override */ |
| 22 closureModuleDeps: [] |
| 23 }; |
| 24 |
| 25 /** Tests ChromeVox classic is in this context. */ |
| 26 TEST_F('BackgroundTest', 'ClassicNamespaces', function() { |
| 27 assertEquals('object', typeof(cvox)); |
| 28 assertEquals('function', typeof(cvox.ChromeVoxBackground)); |
| 29 }); |
| OLD | NEW |