Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2379)

Unified Diff: chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test.js

Issue 337843005: Support basic reading of focus for both desktop and tabs trees. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
-});

Powered by Google App Engine
This is Rietveld 408576698