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

Unified Diff: ui/events/blink/input_handler_proxy_unittest.cc

Issue 2627793005: The unittest in ChromeOS touchpad latching cl fixed. (Closed)
Patch Set: Created 3 years, 11 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: ui/events/blink/input_handler_proxy_unittest.cc
diff --git a/ui/events/blink/input_handler_proxy_unittest.cc b/ui/events/blink/input_handler_proxy_unittest.cc
index 710b4d2a0ef685814c7df0a4a44e6d0574fcc549..fe865899db3b6d900c273207a4359f20d7e11771 100644
--- a/ui/events/blink/input_handler_proxy_unittest.cc
+++ b/ui/events/blink/input_handler_proxy_unittest.cc
@@ -1010,8 +1010,12 @@ TEST_P(InputHandlerProxyTest, GestureFlingTouchpadScrollLatchingEnabled) {
time += base::TimeDelta::FromMilliseconds(100);
Animate(time);
+ VERIFY_AND_RESET_MOCKS();
+
// Fling has ended, the last Animate won't cause any more wheel ticks.
EXPECT_CALL(mock_input_handler_, ScrollBy(testing::_)).Times(0);
+ time += base::TimeDelta::FromMilliseconds(100);
+ Animate(time);
VERIFY_AND_RESET_MOCKS();
}
« 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