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

Unified Diff: chrome/test/base/js2gtest.js

Issue 365513002: Port identity_internals to mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT for commit Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_web_ui_mojo_bindings.gyp ('k') | chrome/test/base/web_ui_browser_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/js2gtest.js
diff --git a/chrome/test/base/js2gtest.js b/chrome/test/base/js2gtest.js
index c20b934b6fc55c27f4aa222b18696f38a6b24928..83c4c48dd5fb1dbe01780786024c41e85fd8e3b8 100644
--- a/chrome/test/base/js2gtest.js
+++ b/chrome/test/base/js2gtest.js
@@ -324,6 +324,8 @@ function GEN_INCLUDE(includes) {
function TEST_F(testFixture, testFunction, testBody) {
maybeGenHeader(testFixture);
var browsePreload = this[testFixture].prototype.browsePreload;
+ var browsePreloadAndWaitForMain =
+ this[testFixture].prototype.browsePreloadAndWaitForMain;
var browsePrintPreload = this[testFixture].prototype.browsePrintPreload;
var testGenPreamble = this[testFixture].prototype.testGenPreamble;
var testGenPostamble = this[testFixture].prototype.testGenPostamble;
@@ -359,6 +361,10 @@ function TEST_F(testFixture, testFunction, testBody) {
testGenPreamble(testFixture, testFunction);
if (browsePreload)
print(' BrowsePreload(GURL("' + browsePreload + '"));');
+ if (browsePreloadAndWaitForMain) {
+ print(' BrowsePreloadAndWaitForMain(GURL("' + browsePreloadAndWaitForMain +
+ '"));');
+ }
if (browsePrintPreload) {
print(' BrowsePrintPreload(GURL(WebUITestDataPathToURL(\n' +
' FILE_PATH_LITERAL("' + browsePrintPreload + '"))));');
« no previous file with comments | « chrome/chrome_web_ui_mojo_bindings.gyp ('k') | chrome/test/base/web_ui_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698