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

Issue 258633005: GestureRecognizerTest tests both Aura and Unified Gesture Detectors. (Closed)

Created:
6 years, 8 months ago by tdresser
Modified:
6 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, sadrul, ben+aura_chromium.org, kalyank
Visibility:
Public.

Description

GestureRecognizerTest tests both Aura and Unified Gesture Detectors. This is in preparation of landing the unified GR (see https://codereview.chromium.org/251543003/). There are some cases where behavior differs in minor ways. This is sometimes dealt with by increasing the test's margin of error (for instance, slop handling is slightly different, so we now exceed the slop more thoroughly). This is sometimes dealt with by ignoring the test if the test is run with the unified GR. BUG=332418 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266440

Patch Set 1 #

Total comments: 10

Patch Set 2 : # third_party/mtpd/ #

Patch Set 3 : Address sadrul@'s comments, and fix multifinger swipe #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -115 lines) Patch
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 81 chunks +271 lines, -114 lines 1 comment Download
M ui/aura/test/aura_test_base.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
tdresser
Sadrul, does this look like a reasonable approach to testing the aura portion of the ...
6 years, 8 months ago (2014-04-25 13:08:15 UTC) #1
sadrul
This looks like an excellent way to test both GRs. LGTM https://codereview.chromium.org/258633005/diff/1/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): ...
6 years, 8 months ago (2014-04-25 13:44:12 UTC) #2
tdresser
https://codereview.chromium.org/258633005/diff/1/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): https://codereview.chromium.org/258633005/diff/1/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode717 ui/aura/gestures/gesture_recognizer_unittest.cc:717: switches::kEnableScrollPrediction); On 2014/04/25 13:44:12, sadrul wrote: > Aside: We ...
6 years, 8 months ago (2014-04-25 16:46:34 UTC) #3
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 8 months ago (2014-04-25 16:46:38 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/258633005/40001
6 years, 8 months ago (2014-04-25 22:15:36 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 23:30:33 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-25 23:30:33 UTC) #7
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 8 months ago (2014-04-27 17:23:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/258633005/40001
6 years, 8 months ago (2014-04-27 17:23:36 UTC) #9
commit-bot: I haz the power
Change committed as 266440
6 years, 7 months ago (2014-04-28 06:05:16 UTC) #10
tapted
6 years, 7 months ago (2014-04-28 06:17:56 UTC) #11
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/254963003/ by tapted@chromium.org.

The reason for reverting is: Breaks compile on

http://build.chromium.org/p/chromium.linux/builders/Linux%20Builder%20%28dbg%...

../../ui/aura/gestures/gesture_recognizer_unittest.cc: In constructor
'aura::test::{anonymous}::GestureEventConsumeDelegate::GestureEventConsumeDelegate()':
../../ui/aura/gestures/gesture_recognizer_unittest.cc:354:17: error:
'aura::test::{anonymous}::GestureEventConsumeDelegate::wait_until_event_' will
be initialized after [-Werror=reorder]
../../ui/aura/gestures/gesture_recognizer_unittest.cc:352:7: error:   'int
aura::test::{anonymous}::GestureEventConsumeDelegate::flags_' [-Werror=reorder]
../../ui/aura/gestures/gesture_recognizer_unittest.cc:70:3: error:   when
initialized here [-Werror=reorder].

Powered by Google App Engine
This is Rietveld 408576698