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

Issue 2440353002: Check whether screen is on when it fails to click node in ImeTest. (Closed)

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

Description

Check whether screen is on when it fails to click node in ImeTest. Sometimes ImeTest failed because it failed to click node. We suspect it's because the screen is locked. So we add assertion to check whether that's the case. BUG=628964 Committed: https://crrev.com/d57d3f344c2526792bd5aa74e925e4c16a3bff9c Cr-Commit-Position: refs/heads/master@{#427023}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address changwan@'s review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java View 1 3 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
yabinh
Sometimes ImeTest failed on trybot in setUp() in the line: assertEquals("Failed to dispatch touch event.", ...
4 years, 1 month ago (2016-10-24 06:08:42 UTC) #5
Changwan Ryu
lgtm w/ nits. Thanks for looking into this. also cc'ing jburodick@ in case he's aware ...
4 years, 1 month ago (2016-10-24 06:19:24 UTC) #6
yabinh
https://codereview.chromium.org/2440353002/diff/1/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java File content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java (right): https://codereview.chromium.org/2440353002/diff/1/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java#newcode125 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:125: @SuppressWarnings("deprecation") On 2016/10/24 06:19:24, Changwan Ryu wrote: > Could ...
4 years, 1 month ago (2016-10-24 06:34:44 UTC) #11
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/2440353002/20001
4 years, 1 month ago (2016-10-24 06:47:36 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-24 07:02:34 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/d57d3f344c2526792bd5aa74e925e4c16a3bff9c Cr-Commit-Position: refs/heads/master@{#427023}
4 years, 1 month ago (2016-10-24 07:05:05 UTC) #19
jbudorick
4 years, 1 month ago (2016-10-24 17:06:37 UTC) #20
Message was sent while issue was closed.
On 2016/10/24 06:19:24, Changwan Ryu wrote:
> lgtm w/ nits. Thanks for looking into this.
> 
> also cc'ing jburodick@ in case he's aware of this issue.

No, I haven't seen this. We disable the lock screen and force the screen to stay
on while plugged in during device provisioning. If you see a test that fails on
a bot in assertScreenIsOn, please file a bug w/ component Infra>Client>Android.

> 
>
https://codereview.chromium.org/2440353002/diff/1/content/public/android/java...
> File
>
content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
> (right):
> 
>
https://codereview.chromium.org/2440353002/diff/1/content/public/android/java...
>
content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java:125:
> @SuppressWarnings("deprecation")
> Could you add @TargetApi(Build.VERSION_CODES.KITKAT_WATCH) ?

Powered by Google App Engine
This is Rietveld 408576698