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 /** | 5 /** |
6 * Base test fixture for ChromeVox end to end tests. | 6 * Base test fixture for ChromeVox end to end tests. |
7 * | 7 * |
8 * These tests run against production ChromeVox inside of the extension's | 8 * These tests run against production ChromeVox inside of the extension's |
9 * background page context. | 9 * background page context. |
10 * @constructor | 10 * @constructor |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 * @param {string} testName Test name. | 64 * @param {string} testName Test name. |
65 * @param {function} testFunction The test impl. | 65 * @param {function} testFunction The test impl. |
66 */ | 66 */ |
67 function SYNC_TEST_F(testFixture, testName, testFunction) { | 67 function SYNC_TEST_F(testFixture, testName, testFunction) { |
68 var wrappedTestFunction = function() { | 68 var wrappedTestFunction = function() { |
69 testFunction(); | 69 testFunction(); |
70 testDone([true, '']); | 70 testDone([true, '']); |
71 }; | 71 }; |
72 TEST_F(testFixture, testName, wrappedTestFunction); | 72 TEST_F(testFixture, testName, wrappedTestFunction); |
73 } | 73 } |
OLD | NEW |