OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 * When set to a string value representing an html page in the test | 62 * When set to a string value representing an html page in the test |
63 * directory, generate BrowsePrintPreload call, which will browse to a url | 63 * directory, generate BrowsePrintPreload call, which will browse to a url |
64 * representing the file, cause print, and call fixture.preLoad of the | 64 * representing the file, cause print, and call fixture.preLoad of the |
65 * currentTestCase. | 65 * currentTestCase. |
66 * @type {string} | 66 * @type {string} |
67 */ | 67 */ |
68 browsePrintPreload: null, | 68 browsePrintPreload: null, |
69 | 69 |
70 /** | 70 /** |
71 * When set to a function, will be called in the context of the test | 71 * When set to a function, will be called in the context of the test |
72 * generation inside the function, and before any generated C++. | 72 * generation inside the function, after AddLibrary calls and before |
| 73 * generated C++. |
73 * @type {function(string,string)} | 74 * @type {function(string,string)} |
74 */ | 75 */ |
75 testGenPreamble: null, | 76 testGenPreamble: null, |
76 | 77 |
77 /** | 78 /** |
78 * When set to a function, will be called in the context of the test | 79 * When set to a function, will be called in the context of the test |
79 * generation inside the function, and after any generated C++. | 80 * generation inside the function, and after any generated C++. |
80 * @type {function(string,string)} | 81 * @type {function(string,string)} |
81 */ | 82 */ |
82 testGenPostamble: null, | 83 testGenPostamble: null, |
(...skipping 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 exports.DUMMY_URL = DUMMY_URL; | 1399 exports.DUMMY_URL = DUMMY_URL; |
1399 exports.TEST = TEST; | 1400 exports.TEST = TEST; |
1400 exports.TEST_F = TEST_F; | 1401 exports.TEST_F = TEST_F; |
1401 exports.GEN = GEN; | 1402 exports.GEN = GEN; |
1402 exports.GEN_INCLUDE = GEN_INCLUDE; | 1403 exports.GEN_INCLUDE = GEN_INCLUDE; |
1403 exports.WhenTestDone = WhenTestDone; | 1404 exports.WhenTestDone = WhenTestDone; |
1404 | 1405 |
1405 // Import the Mock4JS helpers. | 1406 // Import the Mock4JS helpers. |
1406 Mock4JS.addMockSupport(exports); | 1407 Mock4JS.addMockSupport(exports); |
1407 })(this); | 1408 })(this); |
OLD | NEW |