Closed
Bug 846466
Opened 13 years ago
Closed 9 years ago
Support for getting user serial support not backwards compatible with older versions of the agent
Categories
(Testing :: Mozbase, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: wlach, Assigned: wlach)
Details
Attachments
(2 files)
|
1.36 KB,
patch
|
Details | Diff | Splinter Review | |
|
505 bytes,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
When I added support for getting the user serial of a process in bug 838844, I neglected to test whether droid.py still worked properly on older versions of the agent. When I updated the code on one of the eideticker machines and tried to use it with the LG-G2X (still using an older version of the agent), I got this error:
File "/home/mozauto/src/eideticker/src/mozbase/mozdevice/mozdevice/droid.py", line 31, in launchApplication
acmd = [ "am", "start" ] + self._getExtraAmStartArgs() + \
File "/home/mozauto/src/eideticker/src/mozbase/mozdevice/mozdevice/droid.py", line 106, in _getExtraAmStartArgs
if self.userSerial is not None:
AttributeError: 'DroidSUT' object has no attribute 'userSerial'
Easily fixed.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #719648 -
Flags: review?(gbrown)
| Assignee | ||
Comment 2•13 years ago
|
||
The previous one had some unintended stuff in it
Attachment #719649 -
Flags: review?(gbrown)
Comment 3•13 years ago
|
||
Comment on attachment 719649 [details] [diff] [review]
Second try at a quick patch
Review of attachment 719649 [details] [diff] [review]:
-----------------------------------------------------------------
I haven't had cause to use userSerial much, but this LGTM.
Attachment #719649 -
Flags: review?(gbrown) → review+
Updated•13 years ago
|
Attachment #719648 -
Flags: review?(gbrown)
| Assignee | ||
Comment 4•9 years ago
|
||
We don't support the agent anymore.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•