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

Unified Diff: chrome/browser/page_cycler/page_cycler_browsertest.cc

Issue 10822030: Move ui_test_utils::RunMessageLoop to test_utils so that it can be reused by content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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/browser/logging_chrome_browsertest.cc ('k') | chrome/browser/prerender/prerender_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/page_cycler/page_cycler_browsertest.cc
===================================================================
--- chrome/browser/page_cycler/page_cycler_browsertest.cc (revision 148497)
+++ chrome/browser/page_cycler/page_cycler_browsertest.cc (working copy)
@@ -201,7 +201,7 @@
InitPageCycler();
page_cycler()->Run();
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
ASSERT_FALSE(file_util::PathExists(errors_file()));
ASSERT_TRUE(file_util::PathExists(stats_file()));
}
@@ -230,7 +230,7 @@
InitPageCycler();
page_cycler()->Run();
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
ASSERT_TRUE(file_util::PathExists(errors_file()));
ASSERT_TRUE(file_util::PathExists(stats_file()));
@@ -264,7 +264,7 @@
InitPageCycler();
page_cycler()->Run();
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
ASSERT_TRUE(file_util::PathExists(errors_file()));
ASSERT_TRUE(file_util::PathExists(stats_file()));
@@ -297,7 +297,7 @@
InitPageCycler();
page_cycler()->Run();
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
ASSERT_TRUE(file_util::PathExists(errors_file()));
ASSERT_TRUE(file_util::PathExists(stats_file()));
@@ -334,7 +334,7 @@
page_cycler()->Run();
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
ASSERT_TRUE(file_util::PathExists(stats_file()));
ASSERT_FALSE(file_util::PathExists(errors_file()));
}
@@ -370,7 +370,7 @@
InitPageCycler(new_urls_file, errors_file(), stats_file());
page_cycler()->Run();
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
ASSERT_TRUE(file_util::PathExists(errors_file()));
ASSERT_TRUE(file_util::PathExists(stats_file()));
« no previous file with comments | « chrome/browser/logging_chrome_browsertest.cc ('k') | chrome/browser/prerender/prerender_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698