OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 * @fileoverview Library providing basic test framework functionality. | 6 * @fileoverview Library providing basic test framework functionality. |
7 */ | 7 */ |
8 | 8 |
9 /** | 9 /** |
10 * Namespace for |Test|. | 10 * Namespace for |Test|. |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 */ | 115 */ |
116 testShouldFail: false, | 116 testShouldFail: false, |
117 | 117 |
118 /** | 118 /** |
119 * Extra libraries to add before loading this test file. | 119 * Extra libraries to add before loading this test file. |
120 * @type {Array.<string>} | 120 * @type {Array.<string>} |
121 */ | 121 */ |
122 extraLibraries: [], | 122 extraLibraries: [], |
123 | 123 |
124 /** | 124 /** |
| 125 * Extra libraries to add before loading this test file. |
| 126 * This list is in the form of Closure library style object |
| 127 * names. To support this, a closure deps.js file must |
| 128 * be specified when generating the test C++ source. |
| 129 * The specified libraries will be included with their transitive |
| 130 * dependencies according to the deps file. |
| 131 * @type {Array.<string>} |
| 132 */ |
| 133 closureModuleDeps: [], |
| 134 |
| 135 /** |
125 * Whether to run the accessibility checks. | 136 * Whether to run the accessibility checks. |
126 * @type {boolean} | 137 * @type {boolean} |
127 */ | 138 */ |
128 runAccessibilityChecks: true, | 139 runAccessibilityChecks: true, |
129 | 140 |
130 /** | 141 /** |
131 * Configuration for the accessibility audit. | 142 * Configuration for the accessibility audit. |
132 * @type {axs.AuditConfiguration} | 143 * @type {axs.AuditConfiguration} |
133 */ | 144 */ |
134 accessibilityAuditConfig_: null, | 145 accessibilityAuditConfig_: null, |
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1764 exports.TEST = TEST; | 1775 exports.TEST = TEST; |
1765 exports.TEST_F = TEST_F; | 1776 exports.TEST_F = TEST_F; |
1766 exports.RUNTIME_TEST_F = TEST_F; | 1777 exports.RUNTIME_TEST_F = TEST_F; |
1767 exports.GEN = GEN; | 1778 exports.GEN = GEN; |
1768 exports.GEN_INCLUDE = GEN_INCLUDE; | 1779 exports.GEN_INCLUDE = GEN_INCLUDE; |
1769 exports.WhenTestDone = WhenTestDone; | 1780 exports.WhenTestDone = WhenTestDone; |
1770 | 1781 |
1771 // Import the Mock4JS helpers. | 1782 // Import the Mock4JS helpers. |
1772 Mock4JS.addMockSupport(exports); | 1783 Mock4JS.addMockSupport(exports); |
1773 })(this); | 1784 })(this); |
OLD | NEW |