Closed
Bug 1488590
Opened 6 years ago
Closed 6 years ago
Add tests to mozdevice::adb.py
Categories
(Testing :: Mozbase, enhancement, P2)
Tracking
(firefox64 fixed)
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: egao, Assigned: egao)
Details
Attachments
(1 file)
Requested by :bc while working on https://bugzilla.mozilla.org/show_bug.cgi?id=1484238. Start by adding unit tests for the refactored reverse, forward methods for ADBAndroid class.
Assignee | ||
Comment 1•6 years ago
|
||
Quick glance over other bugs, looks like we're converting over to PyTest from UnitTest. Will go ahead and consider implementing this bug with PyTest.
Assignee: nobody → egao
Assignee | ||
Comment 2•6 years ago
|
||
Created tests/ subdirectory under mozdevice. Added conftest.py and populated with wrappers for the methods under test. Added test_socket_connections.py with basic tests for new methods and some coverage of legacy/deprecated methods.
Updated•6 years ago
|
Priority: -- → P2
Updated•6 years ago
|
Attachment #9006973 -
Attachment description: Bug 1488590 - Add tests to mozdevice::adb.py r?gbrown → Bug 1488590 - Add tests to mozdevice::adb.py
Assignee | ||
Comment 3•6 years ago
|
||
Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1edd3d0f6380f63f1d46fba3594b43db38c64556
Comment 4•6 years ago
|
||
(In reply to Edwin Gao ( :egao ) from comment #3) > https://treeherder.mozilla.org/#/ > jobs?repo=try&revision=1edd3d0f6380f63f1d46fba3594b43db38c64556 The cppunit failures there are an expected consequence of the artifact build -- nothing to worry about. Use a non-artifact build to run cppunit tests.
Comment 5•6 years ago
|
||
Comment on attachment 9006973 [details] Bug 1488590 - Add tests to mozdevice::adb.py Andrew Halberstadt [:ahal] has approved the revision.
Attachment #9006973 -
Flags: review+
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c4b0ce77a140 Add tests to mozdevice::adb.py r=ahal
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c4b0ce77a140
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•