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

Issue 762883002: Make device serial required in AdbWrapper/DeviceUtils (Closed)

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

Description

Make device serial required in AdbWrapper/DeviceUtils As a side effect, we also: - help migrate DeviceUtils.__str__ to AdbWrapper - fix bug with the presubmit pylib.instrumentation.tests_runner_test when no devices are attached. BUG=267773, 430731 Committed: https://crrev.com/d10fd290b1ea2091e9fbaf0e2785b09313e0a7af Cr-Commit-Position: refs/heads/master@{#306585}

Patch Set 1 #

Total comments: 8

Patch Set 2 : using GetDeviceSerial #

Patch Set 3 : cosmetic fixes #

Total comments: 4

Patch Set 4 : renamed: exclude -> ignore #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -37 lines) Patch
M build/android/pylib/device/adb_wrapper.py View 1 chunk +2 lines, -0 lines 0 comments Download
M build/android/pylib/device/device_utils.py View 1 3 chunks +4 lines, -12 lines 0 comments Download
M build/android/pylib/device/device_utils_test.py View 1 2 3 3 chunks +14 lines, -22 lines 0 comments Download
M build/android/pylib/instrumentation/test_runner_test.py View 2 chunks +4 lines, -1 line 0 comments Download
M build/android/pylib/utils/mock_calls.py View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
perezju
For when you have some time to take a look. https://codereview.chromium.org/762883002/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/762883002/diff/1/build/android/pylib/device/device_utils.py#newcode89 ...
6 years ago (2014-11-26 17:53:55 UTC) #2
jbudorick
https://codereview.chromium.org/762883002/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/762883002/diff/1/build/android/pylib/device/device_utils.py#newcode1132 build/android/pylib/device/device_utils.py:1132: return str(self.adb) On 2014/11/26 17:53:55, perezju wrote: > note: ...
6 years ago (2014-11-27 17:01:58 UTC) #3
perezju
also just replying to comments here https://codereview.chromium.org/762883002/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/762883002/diff/1/build/android/pylib/device/device_utils.py#newcode1132 build/android/pylib/device/device_utils.py:1132: return str(self.adb) On ...
6 years ago (2014-11-28 16:06:22 UTC) #4
jbudorick
https://codereview.chromium.org/762883002/diff/1/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/762883002/diff/1/build/android/pylib/device/device_utils.py#newcode1132 build/android/pylib/device/device_utils.py:1132: return str(self.adb) On 2014/11/28 16:06:22, perezju wrote: > On ...
6 years ago (2014-12-01 15:14:24 UTC) #5
perezju
ptal https://codereview.chromium.org/762883002/diff/40001/build/android/pylib/device/device_utils_test.py File build/android/pylib/device/device_utils_test.py (right): https://codereview.chromium.org/762883002/diff/40001/build/android/pylib/device/device_utils_test.py#newcode251 build/android/pylib/device/device_utils_test.py:251: self.watchMethodCalls(self.call.adb, exclude=['GetDeviceSerial']) GetDeviceSerial is now excluded from the ...
6 years ago (2014-12-02 11:13:18 UTC) #6
jbudorick
lgtm w/ nit https://codereview.chromium.org/762883002/diff/40001/build/android/pylib/utils/mock_calls.py File build/android/pylib/utils/mock_calls.py (right): https://codereview.chromium.org/762883002/diff/40001/build/android/pylib/utils/mock_calls.py#newcode125 build/android/pylib/utils/mock_calls.py:125: def watchMethodCalls(self, call, exclude=None): nit: "exclude" ...
6 years ago (2014-12-02 15:31:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/762883002/60001
6 years ago (2014-12-03 10:15:35 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-12-03 11:22:55 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-03 11:23:46 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d10fd290b1ea2091e9fbaf0e2785b09313e0a7af
Cr-Commit-Position: refs/heads/master@{#306585}

Powered by Google App Engine
This is Rietveld 408576698