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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js

Issue 1145243006: Port chromevox build to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@externs
Patch Set: Unshare some vars, add TODO for the rest. Created 5 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 unified diff | Download patch
OLDNEW
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 GEN_INCLUDE([ 5 GEN_INCLUDE([
6 'chrome/browser/resources/chromeos/chromevox/testing/common.js', 6 'common.js',
7 'chrome/browser/resources/chromeos/chromevox/testing/callback_helper.js']); 7 'callback_helper.js']);
8 8
9 /** 9 /**
10 * Base test fixture for ChromeVox end to end tests. 10 * Base test fixture for ChromeVox end to end tests.
11 * 11 *
12 * These tests run against production ChromeVox inside of the extension's 12 * These tests run against production ChromeVox inside of the extension's
13 * background page context. 13 * background page context.
14 * @constructor 14 * @constructor
15 */ 15 */
16 function ChromeVoxE2ETest() { 16 function ChromeVoxE2ETest() {
17 this.callbackHelper_ = new CallbackHelper(this); 17 this.callbackHelper_ = new CallbackHelper(this);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 * @param {string} testName Test name. 128 * @param {string} testName Test name.
129 * @param {function} testFunction The test impl. 129 * @param {function} testFunction The test impl.
130 */ 130 */
131 function SYNC_TEST_F(testFixture, testName, testFunction) { 131 function SYNC_TEST_F(testFixture, testName, testFunction) {
132 var wrappedTestFunction = function() { 132 var wrappedTestFunction = function() {
133 testFunction.call(this); 133 testFunction.call(this);
134 testDone([true, '']); 134 testDone([true, '']);
135 }; 135 };
136 TEST_F(testFixture, testName, wrappedTestFunction); 136 TEST_F(testFixture, testName, wrappedTestFunction);
137 } 137 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698