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

Issue 607583002: [Android] Fix UIAutomator test running. (Closed)

Created:
6 years, 2 months ago by jbudorick
Modified:
6 years, 2 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Fix UIAutomator test running. I broke the uiautomator tests with my change to instrumentation test running in https://codereview.chromium.org/558883003/. The revised implementation never called _RunTest, which the uiautomator test runner overrides to run its tests. As a result, we were trying to run the uiautomator tests with 'am instrument', which (obviously) doesn't work. This patch revises the implementation of the instrumentation test runner s.t. it does call _RunTest again. BUG=417492 Committed: https://crrev.com/10a670535f86258e35633d855a01dac0a3f11c51 Cr-Commit-Position: refs/heads/master@{#296835}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -45 lines) Patch
M build/android/pylib/instrumentation/test_runner.py View 1 2 3 2 chunks +24 lines, -33 lines 0 comments Download
M build/android/pylib/instrumentation/test_runner_test.py View 1 chunk +6 lines, -10 lines 0 comments Download
M build/android/pylib/uiautomator/test_runner.py View 1 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
jbudorick
6 years, 2 months ago (2014-09-25 17:07:41 UTC) #2
mikecase (-- gone --)
On 2014/09/25 17:07:41, jbudorick wrote: lgtm
6 years, 2 months ago (2014-09-25 17:33:52 UTC) #3
klundberg
Lgtm but could you please update the commit message (my preference) or the bug with ...
6 years, 2 months ago (2014-09-25 17:50:58 UTC) #4
jbudorick
On 2014/09/25 17:50:58, klundberg wrote: > Lgtm but could you please update the commit message ...
6 years, 2 months ago (2014-09-25 19:52:59 UTC) #5
jbudorick
+craigdh for rslgtm
6 years, 2 months ago (2014-09-25 19:53:15 UTC) #7
craigdh
lgtm w/ comment that you really ought to address https://codereview.chromium.org/607583002/diff/20001/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/607583002/diff/20001/build/android/pylib/instrumentation/test_runner.py#newcode508 build/android/pylib/instrumentation/test_runner.py:508: ...
6 years, 2 months ago (2014-09-25 19:59:47 UTC) #8
jbudorick
https://codereview.chromium.org/607583002/diff/20001/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/607583002/diff/20001/build/android/pylib/instrumentation/test_runner.py#newcode508 build/android/pylib/instrumentation/test_runner.py:508: if isinstance(e, device_errors.CommandTimeoutError): On 2014/09/25 19:59:47, craigdh wrote: > ...
6 years, 2 months ago (2014-09-25 20:07:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607583002/40001
6 years, 2 months ago (2014-09-25 20:08:14 UTC) #11
craigdh
https://codereview.chromium.org/607583002/diff/40001/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/607583002/diff/40001/build/android/pylib/instrumentation/test_runner.py#newcode505 build/android/pylib/instrumentation/test_runner.py:505: message = 'No information' well, you could skip these ...
6 years, 2 months ago (2014-09-25 20:12:10 UTC) #12
jbudorick
https://codereview.chromium.org/607583002/diff/40001/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/607583002/diff/40001/build/android/pylib/instrumentation/test_runner.py#newcode505 build/android/pylib/instrumentation/test_runner.py:505: message = 'No information' On 2014/09/25 20:12:10, craigdh wrote: ...
6 years, 2 months ago (2014-09-25 20:24:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607583002/60001
6 years, 2 months ago (2014-09-25 20:29:02 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001) as fc81feee38f201c7d881f29af866a0edce06c3ee
6 years, 2 months ago (2014-09-25 23:54:57 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 23:55:34 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/10a670535f86258e35633d855a01dac0a3f11c51
Cr-Commit-Position: refs/heads/master@{#296835}

Powered by Google App Engine
This is Rietveld 408576698