Closed Bug 816236 Opened 10 years ago Closed 9 years ago
Make Marionette use mozdevice/mozb2g
We have a lot of adb-related code in emulator.py, and some b2g helper methods like 'restart_b2g' that should belong in mozb2g. We should make Marionette use mozdevice and mozb2g, updating the latter as necessary. In particular, the B2GMixin class of mozb2g is written with the assumption that it will be used by code that is using Marionette, and some of it won't work when used by Marionette itself directly; there's a lot of code that tries to automatically manage Marionette sessions that we probably don't want when used by Marionette itself. We'll probably end up refactoring it to make a lower-level devicemanager mixin that doesn't use Marionette, and then a higher-level one that incorporates that with some automatic Marionette session management.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.