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

Issue 2410773008: Check whether touch event was dispatched succussfully in Ime Test. (Closed)

Created:
4 years, 2 months ago by yabinh
Modified:
4 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check whether touch event was dispatched succussfully in Ime Test. Ime tests are flaky on trybot for the same reason: input conneciton is null. The only way we found to repro it locally is to lock the screen before running the test. In that case, the node is not focused, and it fails to dispatch touch event. So we add assertion in Ime test to check whether that's the case. BUG=628964 Committed: https://crrev.com/52b14230af2ce6806a3ec1006e4b76a65b1d7db9 Cr-Commit-Position: refs/heads/master@{#425207}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address changwan@'s review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -12 lines) Patch
M content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/android/javatests/src/org/chromium/content/browser/test/util/DOMUtils.java View 1 chunk +3 lines, -2 lines 0 comments Download
M content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java View 1 3 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
yabinh
Changwan@, can you take a look at this patch?
4 years, 2 months ago (2016-10-13 06:58:48 UTC) #5
Changwan Ryu
lgtm w/ nits https://codereview.chromium.org/2410773008/diff/1/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java File content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java (right): https://codereview.chromium.org/2410773008/diff/1/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java#newcode203 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java:203: private static Boolean dispatchTouchEvent(final View view, ...
4 years, 2 months ago (2016-10-13 07:14:22 UTC) #6
yabinh
https://codereview.chromium.org/2410773008/diff/1/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java File content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java (right): https://codereview.chromium.org/2410773008/diff/1/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java#newcode203 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java:203: private static Boolean dispatchTouchEvent(final View view, final MotionEvent event) ...
4 years, 2 months ago (2016-10-13 07:17:10 UTC) #9
aelias_OOO_until_Jul13
lgtm
4 years, 2 months ago (2016-10-13 18:31:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2410773008/20001
4 years, 2 months ago (2016-10-13 23:55:59 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-14 00:03:49 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 00:06:31 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/52b14230af2ce6806a3ec1006e4b76a65b1d7db9
Cr-Commit-Position: refs/heads/master@{#425207}

Powered by Google App Engine
This is Rietveld 408576698