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

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

Issue 8586009: Allow WebUI Tests to use preLoad in HtmlDialogUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed James' comments. Created 9 years 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 | Annotate | Revision Log
OLDNEW
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
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
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);
OLDNEW
« no previous file with comments | « chrome/test/data/webui/hung_renderer_dialog_ui_test-inl.h ('k') | chrome/test/test_navigation_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698