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

Issue 2863583002: Convert WebappActivityTestBase and direct children to JUnit4. (Closed)

Created:
3 years, 7 months ago by piotrs
Modified:
3 years, 7 months ago
CC:
agrieve+watch_chromium.org, chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert WebappActivityTestBase and direct children to JUnit4. The difference I found is that with previous setup test device was woken up by tests, while it has to be configured to keep the screen on (as recommended in android_test_instructions.md). Is this known regression? Or maybe it's intended? BUG=640116 Review-Url: https://codereview.chromium.org/2863583002 Cr-Commit-Position: refs/heads/master@{#470809} Committed: https://chromium.googlesource.com/chromium/src/+/34f6d311a968d33e65faa33312b6298d1460e626

Patch Set 1 : Initial patch #

Total comments: 4

Patch Set 2 : Updates after feedback #

Total comments: 1

Patch Set 3 : Removes custom flags #

Patch Set 4 : Adding back the flags #

Patch Set 5 : Merge #

Patch Set 6 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -391 lines) Patch
M chrome/android/java_sources.gni View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/hardware_acceleration/WebappActivityHWATest.java View 3 1 chunk +22 lines, -7 lines 0 comments Download
D chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java View 1 chunk +0 lines, -156 lines 0 comments Download
A + chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestRule.java View 1 8 chunks +43 lines, -39 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappDeferredStartupTest.java View 3 4 chunks +19 lines, -3 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenBackgroundColorTest.java View 1 3 1 chunk +28 lines, -16 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenHomescreenIconTest.java View 1 3 1 chunk +34 lines, -22 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenIconTest.java View 1 3 1 chunk +38 lines, -25 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenTest.java View 1 3 6 chunks +145 lines, -101 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappSplashScreenThemeColorTest.java View 1 3 4 chunks +35 lines, -21 lines 0 comments Download

Messages

Total messages: 61 (41 generated)
piotrs
Hi folks, Can you please take a look? This will allow me for some code ...
3 years, 7 months ago (2017-05-04 07:33:13 UTC) #7
the real yoland
Again, thanks a lot for doing this!! I ve been all over these dull conversions ...
3 years, 7 months ago (2017-05-04 19:04:43 UTC) #10
piotrs
Thanks Yoland! Thanks for the pointer with launchActivity()! Dom, can you take a look, CQ ...
3 years, 7 months ago (2017-05-05 01:15:53 UTC) #15
dominickn
Looks good, just the one question. https://codereview.chromium.org/2863583002/diff/40001/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappDeferredStartupTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappDeferredStartupTest.java (right): https://codereview.chromium.org/2863583002/diff/40001/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappDeferredStartupTest.java#newcode31 chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappDeferredStartupTest.java:31: ChromeActivityTestRule.DISABLE_NETWORK_PREDICTION_FLAG}) Question: will ...
3 years, 7 months ago (2017-05-05 02:42:49 UTC) #16
dominickn
lgtm for the version keeping the flags
3 years, 7 months ago (2017-05-05 05:49:59 UTC) #21
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/2863583002/80001
3 years, 7 months ago (2017-05-05 05:52:28 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/428186)
3 years, 7 months ago (2017-05-05 06:01:47 UTC) #26
piotrs
Dan, could you please take a look?
3 years, 7 months ago (2017-05-05 06:10:14 UTC) #30
gone
I'd defer to Yoland's review l-g-t-m; he knows it better than I do.
3 years, 7 months ago (2017-05-05 17:26:03 UTC) #33
piotrs
Hi Yoland, Can you please take a second look? To answer your question I was ...
3 years, 7 months ago (2017-05-07 23:58:15 UTC) #34
the real yoland
lgtm
3 years, 7 months ago (2017-05-09 00:06:54 UTC) #35
the real yoland
lgtm
3 years, 7 months ago (2017-05-09 00:06:54 UTC) #36
piotrs
Hi David, Can you please take a look as an owner? Cheers, Piotr
3 years, 7 months ago (2017-05-09 23:48:44 UTC) #38
David Trainor- moved to gerrit
lgtm
3 years, 7 months ago (2017-05-10 20:10:15 UTC) #39
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/2863583002/80001
3 years, 7 months ago (2017-05-10 20:39:31 UTC) #41
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/2863583002/100001
3 years, 7 months ago (2017-05-10 23:01:48 UTC) #44
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/2863583002/100001
3 years, 7 months ago (2017-05-11 01:35:40 UTC) #49
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/2863583002/120001
3 years, 7 months ago (2017-05-11 02:31:37 UTC) #54
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/2863583002/120001
3 years, 7 months ago (2017-05-11 04:37:02 UTC) #58
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 04:47:42 UTC) #61
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/34f6d311a968d33e65faa33312b6...

Powered by Google App Engine
This is Rietveld 408576698