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

Issue 12921004: [Android] Enable running uiautomator tests. (Closed)

Created:
7 years, 9 months ago by frankf
Modified:
7 years, 9 months ago
Reviewers:
craigdh, klundberg
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

[Android] Enable running uiautomator tests. - uiautomator uses instrumentation runner for results reporting. - Separate the concept of test jar (for progaurd consumption) from test apk - clear the app before every uiautomator test BUG=162742 NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189343

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -358 lines) Patch
M build/android/adb_install_apk.py View 2 chunks +2 lines, -2 lines 0 comments Download
M build/android/pylib/android_commands.py View 1 2 chunks +50 lines, -7 lines 0 comments Download
M build/android/pylib/host_driven/python_test_base.py View 2 chunks +5 lines, -4 lines 0 comments Download
M build/android/pylib/host_driven/run_python_tests.py View 2 chunks +4 lines, -3 lines 0 comments Download
D build/android/pylib/instrumentation/apk_info.py View 1 chunk +0 lines, -189 lines 0 comments Download
M build/android/pylib/instrumentation/dispatch.py View 5 chunks +21 lines, -13 lines 0 comments Download
A + build/android/pylib/instrumentation/test_jar.py View 4 chunks +4 lines, -30 lines 0 comments Download
A build/android/pylib/instrumentation/test_package.py View 1 1 chunk +31 lines, -0 lines 0 comments Download
M build/android/pylib/instrumentation/test_runner.py View 1 8 chunks +36 lines, -39 lines 0 comments Download
A + build/android/pylib/uiautomator/__init__.py View 1 chunk +0 lines, -1 line 0 comments Download
A build/android/pylib/uiautomator/test_package.py View 1 1 chunk +27 lines, -0 lines 0 comments Download
A build/android/pylib/utils/apk_helper.py View 1 chunk +21 lines, -0 lines 0 comments Download
A + build/android/pylib/utils/jar_helper.py View 1 4 chunks +3 lines, -29 lines 0 comments Download
M build/android/pylib/utils/test_options_parser.py View 6 chunks +65 lines, -20 lines 0 comments Download
M build/android/run_instrumentation_tests.py View 3 chunks +3 lines, -6 lines 0 comments Download
A + build/android/run_uiautomator_tests.py View 1 5 chunks +11 lines, -15 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
frankf
For now, we don't distinguish phone/tablet. That filtering will be added in another CL.
7 years, 9 months ago (2013-03-19 01:59:48 UTC) #1
craigdh
https://codereview.chromium.org/12921004/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/12921004/diff/1/build/android/pylib/android_commands.py#newcode1248 build/android/pylib/android_commands.py:1248: (test_results, _) = am_instrument_parser.ParseAmInstrumentOutput(output) assert len(test_results) == 1? https://codereview.chromium.org/12921004/diff/1/build/android/pylib/android_commands.py#newcode1249 ...
7 years, 9 months ago (2013-03-19 20:37:46 UTC) #2
frankf
PTAL. https://codereview.chromium.org/12921004/diff/1/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/12921004/diff/1/build/android/pylib/android_commands.py#newcode1248 build/android/pylib/android_commands.py:1248: (test_results, _) = am_instrument_parser.ParseAmInstrumentOutput(output) There's an extra garbage ...
7 years, 9 months ago (2013-03-19 23:28:08 UTC) #3
craigdh
On 2013/03/19 23:28:08, frankf wrote: > PTAL. > > https://codereview.chromium.org/12921004/diff/1/build/android/pylib/android_commands.py > File build/android/pylib/android_commands.py (right): > ...
7 years, 9 months ago (2013-03-20 00:17:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/frankf@chromium.org/12921004/10001
7 years, 9 months ago (2013-03-20 18:04:22 UTC) #5
commit-bot: I haz the power
7 years, 9 months ago (2013-03-20 18:06:55 UTC) #6
Message was sent while issue was closed.
Change committed as 189343

Powered by Google App Engine
This is Rietveld 408576698