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

Issue 420273006: [Android] Fix DeviceUtils.__str__ when no serial is provided. (Closed)

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

Description

[Android] Fix DeviceUtils.__str__ when no serial is provided. This CL also changes two instances of DeviceUtils.__init__(None) s.t. an explicit serial number is now provided. BUG=398127 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286124

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments from frankf #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -4 lines) Patch
M build/android/pylib/device/device_errors.py View 1 1 chunk +7 lines, -0 lines 0 comments Download
M build/android/pylib/device/device_utils.py View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M build/android/pylib/device/device_utils_test.py View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/test/chromedriver/test/test_environment.py View 1 3 chunks +10 lines, -2 lines 0 comments Download
M tools/android/mempressure.py View 1 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
jbudorick
6 years, 4 months ago (2014-07-28 22:49:01 UTC) #1
frankf
https://codereview.chromium.org/420273006/diff/1/chrome/test/chromedriver/test/test_environment.py File chrome/test/chromedriver/test/test_environment.py (right): https://codereview.chromium.org/420273006/diff/1/chrome/test/chromedriver/test/test_environment.py#newcode100 chrome/test/chromedriver/test/test_environment.py:100: if not len(devices): if not devices: https://codereview.chromium.org/420273006/diff/1/chrome/test/chromedriver/test/test_environment.py#newcode101 chrome/test/chromedriver/test/test_environment.py:101: raise ...
6 years, 4 months ago (2014-07-28 22:52:31 UTC) #2
jbudorick
https://codereview.chromium.org/420273006/diff/1/chrome/test/chromedriver/test/test_environment.py File chrome/test/chromedriver/test/test_environment.py (right): https://codereview.chromium.org/420273006/diff/1/chrome/test/chromedriver/test/test_environment.py#newcode100 chrome/test/chromedriver/test/test_environment.py:100: if not len(devices): On 2014/07/28 22:52:31, frankf wrote: > ...
6 years, 4 months ago (2014-07-28 23:05:40 UTC) #3
frankf
lgtm https://codereview.chromium.org/420273006/diff/20001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/420273006/diff/20001/build/android/pylib/device/device_utils.py#newcode795 build/android/pylib/device/device_utils.py:795: s = self.old_interface.Adb().GetSerialNumber() can this be None as ...
6 years, 4 months ago (2014-07-28 23:08:28 UTC) #4
jbudorick
On 2014/07/28 23:08:28, frankf wrote: > lgtm > > https://codereview.chromium.org/420273006/diff/20001/build/android/pylib/device/device_utils.py > File build/android/pylib/device/device_utils.py (right): > ...
6 years, 4 months ago (2014-07-28 23:19:29 UTC) #5
craigdh
On 2014/07/28 23:19:29, jbudorick wrote: > On 2014/07/28 23:08:28, frankf wrote: > > lgtm > ...
6 years, 4 months ago (2014-07-28 23:28:12 UTC) #6
jbudorick
On 2014/07/28 23:28:12, craigdh wrote: > On 2014/07/28 23:19:29, jbudorick wrote: > > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 23:40:54 UTC) #7
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 4 months ago (2014-07-28 23:51:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbudorick@chromium.org/420273006/40001
6 years, 4 months ago (2014-07-28 23:53:30 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-07-29 01:47:34 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 08:15:01 UTC) #11
Message was sent while issue was closed.
Change committed as 286124

Powered by Google App Engine
This is Rietveld 408576698