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

Issue 815993004: Run shell tests on android. (Closed)

Created:
6 years ago by qsr
Modified:
6 years ago
Reviewers:
viettrungluu, ppi
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Run shell tests on android. This CL enables shell tests on android. For this, it embeds test applications in the test apk, and copied those on disk as needed. It also refactor FileHelper so that it keeps a timestamp of the last apk it was used with to allow no to re-extract files that are already up to date. R=ppi@chromium.org, viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/7d036f0410828ad28863d4659b4260ffcdf9f602

Patch Set 1 #

Patch Set 2 : move shell_test_base_android.cc #

Total comments: 4

Patch Set 3 : Add missing file. #

Total comments: 26

Patch Set 4 : Add missing file #

Patch Set 5 : Follow review #

Patch Set 6 : Follow review #

Total comments: 5

Patch Set 7 : Follow review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -44 lines) Patch
M mojo/tools/data/unittests View 1 chunk +1 line, -0 lines 0 comments Download
M shell/BUILD.gn View 1 7 chunks +40 lines, -3 lines 0 comments Download
M shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java View 1 2 3 4 5 chunks +88 lines, -7 lines 0 comments Download
M shell/android/apk/src/org/chromium/mojo/shell/MojoMain.java View 1 chunk +0 lines, -8 lines 0 comments Download
M shell/android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java View 1 chunk +0 lines, -1 line 0 comments Download
A shell/android/tests/src/org/chromium/mojo/shell/ShellTestBase.java View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download
M shell/child_process_host_unittest.cc View 1 chunk +7 lines, -1 line 0 comments Download
M shell/shell_test_base.h View 1 2 3 1 chunk +3 lines, -11 lines 0 comments Download
M shell/shell_test_base.cc View 2 chunks +8 lines, -12 lines 0 comments Download
A shell/shell_test_base_android.cc View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
M shell/shell_test_base_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (1 generated)
qsr
Please disregard changes to build/android. Those are chromium changes that I will push there and ...
6 years ago (2014-12-19 16:26:09 UTC) #2
viettrungluu
(I think I originally wrote shell_test_base.*, though tim hacked on them more than me ...
6 years ago (2014-12-19 18:31:35 UTC) #3
qsr
https://codereview.chromium.org/815993004/diff/20001/shell/shell_test_base.cc File shell/shell_test_base.cc (right): https://codereview.chromium.org/815993004/diff/20001/shell/shell_test_base.cc#newcode39 shell/shell_test_base.cc:39: void ShellTestBase::SetUpTestApplications() { On 2014/12/19 18:31:34, viettrungluu wrote: > ...
6 years ago (2014-12-22 10:52:32 UTC) #4
ppi
https://codereview.chromium.org/815993004/diff/40001/shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java File shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java (right): https://codereview.chromium.org/815993004/diff/40001/shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java#newcode29 shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java:29: public static final String TAG = "MojoFileHelper"; nit: everything ...
6 years ago (2014-12-22 12:02:25 UTC) #5
qsr
https://codereview.chromium.org/815993004/diff/40001/shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java File shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java (right): https://codereview.chromium.org/815993004/diff/40001/shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java#newcode29 shell/android/apk/src/org/chromium/mojo/shell/FileHelper.java:29: public static final String TAG = "MojoFileHelper"; On 2014/12/22 ...
6 years ago (2014-12-22 12:44:20 UTC) #6
ppi
lgtm, thanks
6 years ago (2014-12-22 12:51:03 UTC) #7
viettrungluu
lgtm w/nits https://codereview.chromium.org/815993004/diff/100001/shell/shell_test_base_android.cc File shell/shell_test_base_android.cc (right): https://codereview.chromium.org/815993004/diff/100001/shell/shell_test_base_android.cc#newcode19 shell/shell_test_base_android.cc:19: namespace { nit: blank line after https://codereview.chromium.org/815993004/diff/100001/shell/shell_test_base_android.cc#newcode22 ...
6 years ago (2014-12-22 17:52:39 UTC) #8
qsr
https://codereview.chromium.org/815993004/diff/100001/shell/shell_test_base_android.cc File shell/shell_test_base_android.cc (right): https://codereview.chromium.org/815993004/diff/100001/shell/shell_test_base_android.cc#newcode19 shell/shell_test_base_android.cc:19: namespace { On 2014/12/22 17:52:39, viettrungluu wrote: > nit: ...
6 years ago (2014-12-23 09:39:08 UTC) #9
qsr
6 years ago (2014-12-23 09:39:23 UTC) #10
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
7d036f0410828ad28863d4659b4260ffcdf9f602 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698