Chromium Code Reviews| Index: chrome/test/data/webui/test_api.js |
| diff --git a/chrome/test/data/webui/test_api.js b/chrome/test/data/webui/test_api.js |
| index 140efe7d4b5d9c1743d9ac1f96e095b6b39ba325..9d7c4052c30f601a5e7f88f4fceaece73fb4393c 100644 |
| --- a/chrome/test/data/webui/test_api.js |
| +++ b/chrome/test/data/webui/test_api.js |
| @@ -110,6 +110,12 @@ var testing = {}; |
| testShouldFail: false, |
| /** |
| + * Add libraries before loading this test file. |
|
dpapad
2011/11/03 16:14:34
Would this be a bit more clear as "Libraries to ad
Sheridan Rawlins
2011/11/05 16:51:25
Done.
|
| + * @type {Array.<string>} |
| + */ |
| + addLibraries: [], |
|
arv (Not doing code reviews)
2011/11/03 19:04:12
This should just be called libraries or something
Sheridan Rawlins
2011/11/05 16:51:25
Changed to extraLibraries - does that work for you
|
| + |
| + /** |
| * Override this method to perform initialization during preload (such as |
| * creating mocks and registering handlers). |
| * @type {Function} |
| @@ -852,6 +858,11 @@ var testing = {}; |
| function GEN() {} |
| /** |
| + * During generation phase, this outputs; do nothing at runtime. |
| + */ |
| + function GEN_INCLUDE() {} |
| + |
| + /** |
| * At runtime, register the testName with a test fixture. Since this method |
| * doesn't have a test fixture, create a dummy fixture to hold its |name| |
| * and |testCaseBodies|. |
| @@ -1304,6 +1315,7 @@ var testing = {}; |
| window.TEST = TEST; |
| window.TEST_F = TEST_F; |
| window.GEN = GEN; |
| + window.GEN_INCLUDE = GEN_INCLUDE; |
| window.WhenTestDone = WhenTestDone; |
| // Import the Mock4JS helpers. |