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

Unified Diff: ui/aura/window_unittest.cc

Issue 10539041: It broke win aura bot (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « ui/aura/root_window_unittest.cc ('k') | ui/base/events.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_unittest.cc
===================================================================
--- ui/aura/window_unittest.cc (revision 140971)
+++ ui/aura/window_unittest.cc (working copy)
@@ -626,8 +626,7 @@
TouchEvent press(ui::ET_TOUCH_PRESSED,
gfx::Point(10, 10), 0, getTime());
root_window()->DispatchTouchEvent(&press);
- // We will get both GESTURE_BEGIN and GESTURE_TAP_DOWN.
- EXPECT_EQ(2, delegate1.gesture_event_count());
+ EXPECT_EQ(1, delegate1.gesture_event_count());
delegate1.ResetCounts();
w2->SetCapture();
@@ -659,8 +658,7 @@
gfx::Point(10, 10), 0, getTime());
root_window()->DispatchTouchEvent(&press2);
EXPECT_EQ(0, delegate1.gesture_event_count());
- // We will get both GESTURE_BEGIN and GESTURE_TAP_DOWN.
- EXPECT_EQ(2, delegate2.gesture_event_count());
+ EXPECT_EQ(1, delegate2.gesture_event_count());
}
TEST_F(WindowTest, TouchCaptureDoesntCancelCapturedTouches) {
@@ -672,8 +670,7 @@
gfx::Point(10, 10), 0, getTime());
root_window()->DispatchTouchEvent(&press);
- // We will get both GESTURE_BEGIN and GESTURE_TAP_DOWN.
- EXPECT_EQ(2, delegate.gesture_event_count());
+ EXPECT_EQ(1, delegate.gesture_event_count());
delegate.ResetCounts();
window->SetCapture();
« no previous file with comments | « ui/aura/root_window_unittest.cc ('k') | ui/base/events.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698