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

Issue 2633733002: Convert WebView Layout test to JUnit4 (Closed)

Created:
3 years, 11 months ago by the real yoland
Modified:
3 years, 10 months ago
CC:
agrieve+watch_chromium.org, android-webview-reviews_chromium.org, chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert WebView Layout test to JUnit4 Since Android N came out, previous JUnit3 instrumentation tests are now deprecated. We are now gradually converting all the instrumentation tests to JUnit4 style. For details on this migration, please check the bug. BUG=640116 Review-Url: https://codereview.chromium.org/2633733002 Cr-Commit-Position: refs/heads/master@{#451362} Committed: https://chromium.googlesource.com/chromium/src/+/9dfd7fc55c1a6803577c5a1dc38a6e144139f101

Patch Set 1 #

Total comments: 3

Patch Set 2 : Change after comments #

Patch Set 3 : Disable activity launch #

Total comments: 4

Patch Set 4 : Remove junit3 runner #

Patch Set 5 : Rebase #

Total comments: 8

Patch Set 6 : Change after +timevolodine's comments #

Patch Set 7 : rebase #

Messages

Total messages: 24 (11 generated)
the real yoland
3 years, 11 months ago (2017-01-13 19:47:23 UTC) #2
jbudorick
I'm so excited. https://codereview.chromium.org/2633733002/diff/1/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java File android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java (right): https://codereview.chromium.org/2633733002/diff/1/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java#newcode64 android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java:64: private boolean mIsRebaseLine; nit: just mRebaseline ...
3 years, 11 months ago (2017-01-13 20:32:19 UTC) #3
the real yoland
https://codereview.chromium.org/2633733002/diff/1/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java File android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java (right): https://codereview.chromium.org/2633733002/diff/1/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java#newcode64 android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java:64: private boolean mIsRebaseLine; On 2017/01/13 at 20:32:19, jbudorick wrote: ...
3 years, 11 months ago (2017-01-23 17:36:23 UTC) #4
mikecase (-- gone --)
This all lgtm. 2 small fixes. https://codereview.chromium.org/2633733002/diff/40001/android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml File android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml (right): https://codereview.chromium.org/2633733002/diff/40001/android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml#newcode36 android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml:36: junit4="true"/> update to ...
3 years, 10 months ago (2017-02-01 17:56:48 UTC) #5
the real yoland
https://codereview.chromium.org/2633733002/diff/40001/android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml File android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml (right): https://codereview.chromium.org/2633733002/diff/40001/android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml#newcode36 android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml:36: junit4="true"/> On 2017/02/01 at 17:56:48, mikecase wrote: > update ...
3 years, 10 months ago (2017-02-01 18:52:51 UTC) #7
timvolodine
https://codereview.chromium.org/2633733002/diff/80001/android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml File android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml (right): https://codereview.chromium.org/2633733002/diff/80001/android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml#newcode35 android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml:35: android:label="Android JUnit 4 runner" why not keep the label? ...
3 years, 10 months ago (2017-02-16 23:37:24 UTC) #8
the real yoland
Ty for the review, updated https://codereview.chromium.org/2633733002/diff/80001/android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml File android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml (right): https://codereview.chromium.org/2633733002/diff/80001/android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml#newcode35 android_webview/tools/system_webview_shell/layout_tests/AndroidManifest.xml:35: android:label="Android JUnit 4 runner" ...
3 years, 10 months ago (2017-02-17 01:15:14 UTC) #9
the real yoland
Rebased https://codereview.chromium.org/2633733002/diff2/80001:120001/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java
3 years, 10 months ago (2017-02-17 01:25:26 UTC) #10
timvolodine
thanks, lgtm (with one question below) https://codereview.chromium.org/2633733002/diff/80001/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java File android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java (right): https://codereview.chromium.org/2633733002/diff/80001/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java#newcode98 android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java:98: @Test On 2017/02/17 ...
3 years, 10 months ago (2017-02-17 13:58:26 UTC) #11
timvolodine
also, maybe add a bit more description (which is currently empty) e.g. explaining why (and ...
3 years, 10 months ago (2017-02-17 14:00:30 UTC) #12
the real yoland
https://codereview.chromium.org/2633733002/diff/80001/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java File android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java (right): https://codereview.chromium.org/2633733002/diff/80001/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java#newcode98 android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java:98: @Test On 2017/02/17 at 13:58:26, timvolodine wrote: > On ...
3 years, 10 months ago (2017-02-17 16:51:29 UTC) #15
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/2633733002/120001
3 years, 10 months ago (2017-02-17 19:25:12 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 19:59:37 UTC) #24
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/9dfd7fc55c1a6803577c5a1dc38a...

Powered by Google App Engine
This is Rietveld 408576698