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

Unified Diff: chrome/browser/ui/views/sync/one_click_signin_bubble_view_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
Index: chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc
===================================================================
--- chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc (revision 148497)
+++ chrome/browser/ui/views/sync/one_click_signin_bubble_view_browsertest.cc (working copy)
@@ -74,7 +74,7 @@
// View should no longer be showing. The message loop will exit once the
// fade animation of the bubble is done.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
EXPECT_TRUE(on_start_sync_called_);
EXPECT_EQ(OneClickSigninSyncStarter::SYNC_WITH_DEFAULT_SETTINGS, mode_);
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing());
@@ -93,7 +93,7 @@
// View should no longer be showing. The message loop will exit once the
// fade animation of the bubble is done.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
EXPECT_FALSE(on_start_sync_called_);
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing());
}
@@ -108,7 +108,7 @@
listener->LinkClicked(view->advanced_link_, 0);
// View should no longer be showing and a new tab should be opened.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
EXPECT_TRUE(on_start_sync_called_);
EXPECT_EQ(OneClickSigninSyncStarter::CONFIGURE_SYNC_FIRST, mode_);
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing());
@@ -126,7 +126,7 @@
// View should no longer be showing. The message loop will exit once the
// fade animation of the bubble is done.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
EXPECT_TRUE(on_start_sync_called_);
EXPECT_EQ(OneClickSigninSyncStarter::SYNC_WITH_DEFAULT_SETTINGS, mode_);
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing());
@@ -144,7 +144,7 @@
// View should no longer be showing. The message loop will exit once the
// fade animation of the bubble is done.
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
EXPECT_FALSE(on_start_sync_called_);
EXPECT_FALSE(OneClickSigninBubbleView::IsShowing());
}
« no previous file with comments | « chrome/browser/ui/views/keyboard_access_browsertest.cc ('k') | chrome/browser/ui/views/web_dialog_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698