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

Side by Side Diff: chrome/test/data/webui/test_api.js

Issue 304793002: Support automatically resolving dependencies in javascript tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Various fixes. 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 unified diff | Download patch
OLDNEW
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
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.
dmazzoni 2014/06/03 16:16:28 This comment should maybe mention that it gathers
126 * This list is in the form of Closure library style object
127 * or namespace names. To support this, a closure deps.js file must
128 * be specified when generating the test C++ source.
129 * @type {Array.<string>}
130 */
131 closureModuleDeps: [],
132
133 /**
125 * Whether to run the accessibility checks. 134 * Whether to run the accessibility checks.
126 * @type {boolean} 135 * @type {boolean}
127 */ 136 */
128 runAccessibilityChecks: true, 137 runAccessibilityChecks: true,
129 138
130 /** 139 /**
131 * Configuration for the accessibility audit. 140 * Configuration for the accessibility audit.
132 * @type {axs.AuditConfiguration} 141 * @type {axs.AuditConfiguration}
133 */ 142 */
134 accessibilityAuditConfig_: null, 143 accessibilityAuditConfig_: null,
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 exports.TEST = TEST; 1773 exports.TEST = TEST;
1765 exports.TEST_F = TEST_F; 1774 exports.TEST_F = TEST_F;
1766 exports.RUNTIME_TEST_F = TEST_F; 1775 exports.RUNTIME_TEST_F = TEST_F;
1767 exports.GEN = GEN; 1776 exports.GEN = GEN;
1768 exports.GEN_INCLUDE = GEN_INCLUDE; 1777 exports.GEN_INCLUDE = GEN_INCLUDE;
1769 exports.WhenTestDone = WhenTestDone; 1778 exports.WhenTestDone = WhenTestDone;
1770 1779
1771 // Import the Mock4JS helpers. 1780 // Import the Mock4JS helpers.
1772 Mock4JS.addMockSupport(exports); 1781 Mock4JS.addMockSupport(exports);
1773 })(this); 1782 })(this);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698