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

Issue 2632763003: Change apk_helper.py for apk with multi instrumentations and JUnit4 (Closed)

Created:
3 years, 11 months ago by the real yoland
Modified:
3 years, 11 months ago
CC:
catapult-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : add GetInstrumentationInfo method #

Total comments: 1

Patch Set 3 : return all instrumentations #

Total comments: 13

Patch Set 4 : format mistake #

Patch Set 5 : Add mock tests #

Total comments: 7

Patch Set 6 : Fix GetActivityName #

Patch Set 7 : Change name to new_apk_helper.py #

Patch Set 8 : Change name back #

Total comments: 14

Patch Set 9 : nits and teardown #

Total comments: 2

Patch Set 10 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -19 lines) Patch
M devil/devil/android/apk_helper.py View 1 2 3 4 5 7 5 chunks +35 lines, -19 lines 0 comments Download
A devil/devil/android/apk_helper_test.py View 1 2 3 4 5 6 7 8 9 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
the real yoland
3 years, 11 months ago (2017-01-14 02:52:53 UTC) #2
jbudorick
https://codereview.chromium.org/2632763003/diff/1/devil/devil/android/apk_helper.py File devil/devil/android/apk_helper.py (right): https://codereview.chromium.org/2632763003/diff/1/devil/devil/android/apk_helper.py#newcode97 devil/devil/android/apk_helper.py:97: #TODO(yolandyan): clear JUnit3 related code once migration is over ...
3 years, 11 months ago (2017-01-14 03:17:01 UTC) #3
the real yoland
https://codereview.chromium.org/2632763003/diff/1/devil/devil/android/apk_helper.py File devil/devil/android/apk_helper.py (right): https://codereview.chromium.org/2632763003/diff/1/devil/devil/android/apk_helper.py#newcode97 devil/devil/android/apk_helper.py:97: #TODO(yolandyan): clear JUnit3 related code once migration is over ...
3 years, 11 months ago (2017-01-19 22:50:24 UTC) #5
the real yoland
The reason a number of `[0]` addition to is... Previously, _GetManifest() returns a dict like ...
3 years, 11 months ago (2017-01-19 22:54:38 UTC) #6
the real yoland
Change the script use GetAllInstrumentations() to return all instrumentation information instead of junit specific dictionary
3 years, 11 months ago (2017-01-23 17:55:35 UTC) #7
mikecase (-- gone --)
I think this looks pretty good. Just some comments. https://codereview.chromium.org/2632763003/diff/40001/devil/devil/android/apk_helper.py File devil/devil/android/apk_helper.py (right): https://codereview.chromium.org/2632763003/diff/40001/devil/devil/android/apk_helper.py#newcode103 devil/devil/android/apk_helper.py:103: ...
3 years, 11 months ago (2017-01-23 18:13:58 UTC) #8
jbudorick
https://codereview.chromium.org/2632763003/diff/40001/devil/devil/android/apk_helper.py File devil/devil/android/apk_helper.py (right): https://codereview.chromium.org/2632763003/diff/40001/devil/devil/android/apk_helper.py#newcode101 devil/devil/android/apk_helper.py:101: def GetInstrumentationName( This still needs a docstring. If you ...
3 years, 11 months ago (2017-01-23 18:20:06 UTC) #9
the real yoland
https://codereview.chromium.org/2632763003/diff/40001/devil/devil/android/apk_helper.py File devil/devil/android/apk_helper.py (right): https://codereview.chromium.org/2632763003/diff/40001/devil/devil/android/apk_helper.py#newcode101 devil/devil/android/apk_helper.py:101: def GetInstrumentationName( On 2017/01/23 at 18:20:06, jbudorick wrote: > ...
3 years, 11 months ago (2017-01-23 21:56:53 UTC) #10
mikecase (-- gone --)
https://codereview.chromium.org/2632763003/diff/80001/devil/devil/android/apk_helper.py File devil/devil/android/apk_helper.py (right): https://codereview.chromium.org/2632763003/diff/80001/devil/devil/android/apk_helper.py#newcode94 devil/devil/android/apk_helper.py:94: manifest_info['manifest'][0]['application']['activity'][0] Doesn't application have to have a [0] after ...
3 years, 11 months ago (2017-01-23 22:10:55 UTC) #11
the real yoland
https://codereview.chromium.org/2632763003/diff/80001/devil/devil/android/apk_helper.py File devil/devil/android/apk_helper.py (right): https://codereview.chromium.org/2632763003/diff/80001/devil/devil/android/apk_helper.py#newcode94 devil/devil/android/apk_helper.py:94: manifest_info['manifest'][0]['application']['activity'][0] On 2017/01/23 at 22:10:54, mikecase wrote: > Doesn't ...
3 years, 11 months ago (2017-01-23 23:20:18 UTC) #12
mikecase (-- gone --)
This lgtm.
3 years, 11 months ago (2017-01-23 23:32:39 UTC) #13
jbudorick
Why did we rename this?
3 years, 11 months ago (2017-01-24 00:06:51 UTC) #14
the real yoland
On 2017/01/24 at 00:06:51, jbudorick wrote: > Why did we rename this? I was stupid, ...
3 years, 11 months ago (2017-01-24 05:19:02 UTC) #15
jbudorick
https://codereview.chromium.org/2632763003/diff/140001/devil/devil/android/apk_helper_test.py File devil/devil/android/apk_helper_test.py (right): https://codereview.chromium.org/2632763003/diff/140001/devil/devil/android/apk_helper_test.py#newcode8 devil/devil/android/apk_helper_test.py:8: #TODO(yolandyan): change back to apk_helper after change is done ...
3 years, 11 months ago (2017-01-24 14:16:07 UTC) #16
the real yoland
https://codereview.chromium.org/2632763003/diff/140001/devil/devil/android/apk_helper_test.py File devil/devil/android/apk_helper_test.py (right): https://codereview.chromium.org/2632763003/diff/140001/devil/devil/android/apk_helper_test.py#newcode8 devil/devil/android/apk_helper_test.py:8: #TODO(yolandyan): change back to apk_helper after change is done ...
3 years, 11 months ago (2017-01-24 16:06:11 UTC) #17
jbudorick
lgtm w/ nit https://codereview.chromium.org/2632763003/diff/160001/devil/devil/android/apk_helper_test.py File devil/devil/android/apk_helper_test.py (right): https://codereview.chromium.org/2632763003/diff/160001/devil/devil/android/apk_helper_test.py#newcode44 devil/devil/android/apk_helper_test.py:44: def _StartPatcher(manifest_dump): Does this need to ...
3 years, 11 months ago (2017-01-24 16:09:31 UTC) #18
the real yoland
https://codereview.chromium.org/2632763003/diff/160001/devil/devil/android/apk_helper_test.py File devil/devil/android/apk_helper_test.py (right): https://codereview.chromium.org/2632763003/diff/160001/devil/devil/android/apk_helper_test.py#newcode44 devil/devil/android/apk_helper_test.py:44: def _StartPatcher(manifest_dump): On 2017/01/24 at 16:09:31, jbudorick wrote: > ...
3 years, 11 months ago (2017-01-24 16:13:14 UTC) #19
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/2632763003/180001
3 years, 11 months ago (2017-01-24 16:13:23 UTC) #22
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/e22cb5a59ab593d629131fa69b16bde3ad27d83a
3 years, 11 months ago (2017-01-24 16:34:25 UTC) #25
the real yoland
3 years, 11 months ago (2017-01-26 16:51:16 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:180001) has been created in
https://codereview.chromium.org/2656103002/ by yolandyan@chromium.org.

The reason for reverting is:
https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi....

Powered by Google App Engine
This is Rietveld 408576698