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

Unified Diff: ash/wm/toplevel_window_event_handler_unittest.cc

Issue 168793002: Attempt at making ToplevelWindowEventHandlerTest.RunMoveLoopFailsDuringInProgressDrag less flaky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/toplevel_window_event_handler_unittest.cc
diff --git a/ash/wm/toplevel_window_event_handler_unittest.cc b/ash/wm/toplevel_window_event_handler_unittest.cc
index 51f247fe9544d16b832f75b826f95439f43c0a57..2a1ce8c49a2b5a28c02ca33a52c7937e7cbef2a4 100644
--- a/ash/wm/toplevel_window_event_handler_unittest.cc
+++ b/ash/wm/toplevel_window_event_handler_unittest.cc
@@ -724,7 +724,7 @@ TEST_F(ToplevelWindowEventHandlerTest, RunMoveLoopFailsDuringInProgressDrag) {
window1->Focus();
generator.PressLeftButton();
generator.MoveMouseBy(10, 11);
- RunAllPendingInMessageLoop();
+ EXPECT_EQ("10,11 100x100", window1->bounds().ToString());
aura::client::WindowMoveClient* move_client =
aura::client::GetWindowMoveClient(window2->GetRootWindow());
@@ -733,7 +733,6 @@ TEST_F(ToplevelWindowEventHandlerTest, RunMoveLoopFailsDuringInProgressDrag) {
aura::client::WINDOW_MOVE_SOURCE_MOUSE));
generator.ReleaseLeftButton();
- RunAllPendingInMessageLoop();
EXPECT_EQ("10,11 100x100", window1->bounds().ToString());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698