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

Issue 1215733002: [Android WebViewShell] Make WebViewLayoutTest runnable with test_runner.py (Closed)

Created:
5 years, 6 months ago by timvolodine
Modified:
5 years, 5 months ago
Reviewers:
Ted C, jbudorick, Torne
CC:
android-webview-reviews_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android WebViewShell] Make WebViewLayoutTest runnable with test_runner.py Make it possible to run the instrumentation tests in WebViewLayoutTest using build/android/test_runner.py. This patch adds an .isolate file, modifies the gyp target settings and uses the standard paths for testing on the device. Also the apk now performs any necessary copying (of js-test.js) itself, making it possible to run the tests both locally and on the bots using the .isolate file. BUG=497861 Committed: https://crrev.com/139cb05fe71b72e67776c85b9d0743fd61904ebe Cr-Commit-Position: refs/heads/master@{#337040}

Patch Set 1 #

Patch Set 2 : no-find-copies #

Patch Set 3 : fix compile #

Total comments: 8

Patch Set 4 : do the copying in the apk, add blink files to isolate #

Patch Set 5 : rebase #

Patch Set 6 : no-find-copies #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -16 lines) Patch
M android_webview/android_webview_shell.gyp View 1 chunk +10 lines, -1 line 0 comments Download
A android_webview/android_webview_shell_test_apk.isolate View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
M android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java View 1 2 3 5 chunks +59 lines, -15 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (5 generated)
timvolodine
5 years, 6 months ago (2015-06-26 14:38:18 UTC) #2
Torne
Generally LGTM but I don't know a lot about the test runner/isolate/etc system. You maybe ...
5 years, 5 months ago (2015-06-29 12:51:13 UTC) #3
timvolodine
On 2015/06/29 12:51:13, Torne wrote: > Generally LGTM but I don't know a lot about ...
5 years, 5 months ago (2015-06-29 16:53:50 UTC) #4
timvolodine
+tedchoc@: could you please verify the sanity of this patch? (or add somebody who can?)
5 years, 5 months ago (2015-06-29 17:00:53 UTC) #6
Ted C
jbudorick -- he's going to be the best person for all your test infrastructure needs
5 years, 5 months ago (2015-06-29 17:06:24 UTC) #8
jbudorick
We don't have any other self-instrumenting APKs that run instrumentation tests -- as the name ...
5 years, 5 months ago (2015-06-29 17:49:05 UTC) #9
timvolodine
thanks John, reply below, https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java File android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java (right): https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java#newcode66 android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java:66: runTest("webexposed/global-interface-listing.html", On 2015/06/29 17:49:05, jbudorick ...
5 years, 5 months ago (2015-06-29 18:06:31 UTC) #10
jbudorick
https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java File android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java (right): https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java#newcode66 android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java:66: runTest("webexposed/global-interface-listing.html", On 2015/06/29 at 18:06:31, timvolodine wrote: > On ...
5 years, 5 months ago (2015-06-29 18:11:20 UTC) #11
timvolodine
https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java File android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java (right): https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java#newcode66 android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java:66: runTest("webexposed/global-interface-listing.html", On 2015/06/29 18:11:19, jbudorick wrote: > On 2015/06/29 ...
5 years, 5 months ago (2015-06-29 18:19:32 UTC) #12
jbudorick
https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java File android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java (right): https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java#newcode66 android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java:66: runTest("webexposed/global-interface-listing.html", On 2015/06/29 at 18:19:32, timvolodine wrote: > On ...
5 years, 5 months ago (2015-06-29 18:35:21 UTC) #13
timvolodine
https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java File android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java (right): https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java#newcode66 android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java:66: runTest("webexposed/global-interface-listing.html", On 2015/06/29 18:35:21, jbudorick wrote: > On 2015/06/29 ...
5 years, 5 months ago (2015-06-29 18:46:31 UTC) #14
jbudorick
https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java File android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java (right): https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java#newcode66 android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java:66: runTest("webexposed/global-interface-listing.html", On 2015/06/29 at 18:46:31, timvolodine wrote: > On ...
5 years, 5 months ago (2015-06-29 18:55:24 UTC) #15
Torne
On 2015/06/29 18:55:24, jbudorick wrote: > https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java > File > android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java > (right): > > ...
5 years, 5 months ago (2015-06-30 11:25:16 UTC) #16
timvolodine
https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java File android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java (right): https://codereview.chromium.org/1215733002/diff/40001/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java#newcode66 android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java:66: runTest("webexposed/global-interface-listing.html", > Then what about listing the blink files ...
5 years, 5 months ago (2015-06-30 17:39:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1215733002/80002
5 years, 5 months ago (2015-07-01 16:35:28 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:80002)
5 years, 5 months ago (2015-07-01 16:39:51 UTC) #21
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 16:40:46 UTC) #22
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/139cb05fe71b72e67776c85b9d0743fd61904ebe
Cr-Commit-Position: refs/heads/master@{#337040}

Powered by Google App Engine
This is Rietveld 408576698