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 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 Loading... |
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 } |
OLD | NEW |