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

Issue 11642050: [Android] Add test that asserts screen is on. (Closed)

Created:
8 years ago by Yaron
Modified:
7 years, 11 months ago
Reviewers:
cjhopman, Isaac (away)
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org, David Trainor- moved to gerrit
Visibility:
Public.

Description

[Android] Add test that asserts screen is on. Lots of tests fail with seemingly random failures if the screen turns off. Add an explicit test for this so it's obvious why tests are failing. BUG=167141 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175538

Patch Set 1 #

Total comments: 1

Patch Set 2 : network connectivity #

Patch Set 3 : remove stray diff #

Patch Set 4 : remove network test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
A content/shell/android/javatests/src/org/chromium/content_shell/ContentShellPreconditionsTest.java View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Yaron
8 years ago (2012-12-20 21:00:48 UTC) #1
Isaac (away)
Do we have 100 char limit on java now? lgtm otherwise.
8 years ago (2012-12-20 21:30:42 UTC) #2
Isaac (away)
https://codereview.chromium.org/11642050/diff/1/content/shell/android/javatests/src/org/chromium/content_shell/ContentShellPreconditionsTest.java File content/shell/android/javatests/src/org/chromium/content_shell/ContentShellPreconditionsTest.java (right): https://codereview.chromium.org/11642050/diff/1/content/shell/android/javatests/src/org/chromium/content_shell/ContentShellPreconditionsTest.java#newcode23 content/shell/android/javatests/src/org/chromium/content_shell/ContentShellPreconditionsTest.java:23: ContentShellActivity activity = launchContentShellWithUrl(URL); Why launch content shell for ...
8 years ago (2012-12-20 21:31:39 UTC) #3
Yaron
Fixed to 100 chars. Also added network connectivity test
8 years ago (2012-12-20 21:43:10 UTC) #4
Isaac (away)
I thought you were already using 100 char. I think the limit is 80 chars ...
8 years ago (2012-12-20 21:48:22 UTC) #5
Yaron
The limit isn't 80. We follow Android style guide for java. It's already been discussed ...
8 years ago (2012-12-20 22:05:48 UTC) #6
Isaac (use chromium)
The other thing that might be nice is to run this test on all phones ...
8 years ago (2012-12-20 23:39:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yfriedman@chromium.org/11642050/3002
7 years, 11 months ago (2013-01-07 22:58:13 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yfriedman@chromium.org/11642050/3002
7 years, 11 months ago (2013-01-08 16:46:44 UTC) #9
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 16:47:00 UTC) #10
Message was sent while issue was closed.
Change committed as 175538

Powered by Google App Engine
This is Rietveld 408576698