Closed Bug 807119 Opened 12 years ago Closed 11 years ago

Update mozbase's emulator classes

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Unassigned)

References

Details

Attachments

(1 file)

emulator.py and b2gemulator.py in mozdevice are currently quite out-of-date, when compared with Marionette's emulator.py.  We should merge all the recent changes from this file into the mozbase version, so we can refactor Marionette to use it.
Actually I believe we decided to remove the emulator classes from mozbase altogether, but I never got around to it.  Any objections to that plan?  If not, I'll change this bug.
No objections from me assuming its not being used anywhere.  If we need it in the future, we can add it.
In addition, of course, we shouldn't have this code in multiple places
(In reply to Jeff Hammel [:jhammel] from comment #3)
> In addition, of course, we shouldn't have this code in multiple places

I agree.  Our original intention was to remove the emulator classes from Marionette and just use the one in mozbase.  We didn't end up doing that due to the fast pace of changes required last quarter, and wanting to avoid the time lag needed to mirror mozbase from github each time we made a change.

No one is currently using the mozbase emulator packages, so it is safe to remove.
SGTM, let's do it.  We have bigger fish to fry
Lets remove it for now. I don't think marionette is the right place for emulator.py to live, but I'm not sure if mozbase is either. We can figure this out later though and always add it back in if we need to.
+1. I don't know if mozdevice is the right place for it to live, either.  But I do think that when we add in this code we should do it on a as needed basis.

Also, emulator_battery.py should be removed as well
Attachment #706443 - Flags: review?(jgriffin)
Comment on attachment 706443 [details] [diff] [review]
remove emulator classes

Review of attachment 706443 [details] [diff] [review]:
-----------------------------------------------------------------

Nuke it!
Attachment #706443 - Flags: review?(jgriffin) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: