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

Unified Diff: ash/system/tray/system_tray_unittest.cc

Issue 968873005: Touch Feedback tests on Valgrind (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « ash/shelf/shelf_view_unittest.cc ('k') | ash/system/tray/tray_details_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_unittest.cc
diff --git a/ash/system/tray/system_tray_unittest.cc b/ash/system/tray/system_tray_unittest.cc
index 987d39b447b427fe6c594223b537b70168737bd4..c61776ef62679345686e42f1e43ce401875cc47c 100644
--- a/ash/system/tray/system_tray_unittest.cc
+++ b/ash/system/tray/system_tray_unittest.cc
@@ -507,11 +507,9 @@ TEST_F(SystemTrayTest, TrayPopupItemContainerTouchFeedback) {
ui::test::EventGenerator generator(Shell::GetPrimaryRootWindow());
generator.set_current_location(view->GetBoundsInScreen().CenterPoint());
generator.PressTouch();
- RunAllPendingInMessageLoop();
EXPECT_TRUE(view->active());
generator.ReleaseTouch();
- RunAllPendingInMessageLoop();
EXPECT_FALSE(view->active());
}
@@ -530,17 +528,14 @@ TEST_F(SystemTrayTest, TrayPopupItemContainerTouchFeedbackCancellation) {
ui::test::EventGenerator generator(Shell::GetPrimaryRootWindow());
generator.set_current_location(view_bounds.CenterPoint());
generator.PressTouch();
- RunAllPendingInMessageLoop();
EXPECT_TRUE(view->active());
gfx::Point move_point(view_bounds.x(), view_bounds.CenterPoint().y());
generator.MoveTouch(move_point);
- RunAllPendingInMessageLoop();
EXPECT_FALSE(view->active());
generator.set_current_location(move_point);
generator.ReleaseTouch();
- RunAllPendingInMessageLoop();
EXPECT_FALSE(view->active());
}
#endif // OS_CHROMEOS
« no previous file with comments | « ash/shelf/shelf_view_unittest.cc ('k') | ash/system/tray/tray_details_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698