Chromium Code Reviews| Index: chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test.js |
| diff --git a/chrome/browser/resources/chromeos/chromevox2/cvox2/background/background.extjs b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test.js |
| similarity index 68% |
| copy from chrome/browser/resources/chromeos/chromevox2/cvox2/background/background.extjs |
| copy to chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test.js |
| index 496978203f7a0dff573de56916053900955bb0fa..185c303e1cfe6f9496d78add034679f3dc1112a2 100644 |
| --- a/chrome/browser/resources/chromeos/chromevox2/cvox2/background/background.extjs |
| +++ b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test.js |
| @@ -2,18 +2,24 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -// Include test fixture. |
| -GEN_INCLUDE(['../../../chromevox/testing/chromevox_unittest_base.js']); |
| - |
| /** |
| - * Test fixture for cvox2.Background. |
| - * @constructor |
| - * @extends {ChromeVoxUnitTestBase} |
| + * Base test fixture for ChromeVox end to end tests. |
| + * |
| + * These tests run against production ChromeVox inside of the extension's |
| + * background page context. |
| */ |
| -function BackgroundTest() {} |
| +function ChromeVoxE2ETest() {} |
|
Peter Lundblad
2014/06/19 20:54:10
nit: @constructor
David Tseng
2014/06/19 22:30:37
Done. (are we/will we supporting closure compile/s
|
| +ChromeVoxE2ETest.prototype = { |
|
Peter Lundblad
2014/06/19 20:54:10
nit: blank line.
David Tseng
2014/06/19 22:30:37
Done.
|
| + __proto__: testing.Test.prototype, |
| + |
| + /** |
| + * @override |
| + * No UI in the background context. |
| + */ |
| + runAccessibilityChecks: false, |
| -BackgroundTest.prototype = { |
| - __proto__: ChromeVoxUnitTestBase.prototype, |
| + /** @override */ |
| + isAsync: true, |
| /** @override */ |
| browsePreload: null, |
| @@ -46,9 +52,3 @@ BackgroundTest.prototype = { |
| */}); |
| } |
| }; |
| - |
| -/** Tests ChromeVox classic is in this context. */ |
| -TEST_F('BackgroundTest', 'ClassicNamespaces', function() { |
| - assertEquals('object', typeof(cvox)); |
| - assertEquals('function', typeof(cvox.ChromeVoxBackground)); |
| -}); |