Closed Bug 1190912 Opened 9 years ago Closed 9 years ago

Autophone - refactor tests to remove necessity for duplicating code

Categories

(Testing Graveyard :: Autophone, defect)

defect
Not set
normal

Tracking

(firefox42 affected)

RESOLVED FIXED
Tracking Status
firefox42 --- affected

People

(Reporter: bc, Assigned: bc)

References

Details

Attachments

(1 file)

Currently, too much functionality for setting configurations, pushing files to the devices, creating profiles, etc. was placed too far down the class hierarchy which requires new tests to either subclass an inappropriate test class or to duplicate code with minor changes. Once bug 1172105 lands, I want to take advantage of the opportunity to correct this architecture/design mistake on my part.
Test run for smoketest, s1s2-local, s1s2-remote, webappstartup, mochitest-media and tp4m-remote:

https://treeherder.allizom.org/#/jobs?repo=mozilla-inbound&revision=1e1b1e7995c4&exclusion_profile=false&filter-searchStr=autophone
Attachment #8649695 - Flags: review?(gbrown)
Attachment #8649695 - Flags: feedback?(jmaher)
Comment on attachment 8649695 [details] [diff] [review]
bug-1190912-v1.patch

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

this looks great.  I focused more on the talos stuff, but the rest seem like a pretty straightforward and non intrusive refactor.
Attachment #8649695 - Flags: feedback?(jmaher) → feedback+
Comment on attachment 8649695 [details] [diff] [review]
bug-1190912-v1.patch

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

Sorry, I can't find anything wrong with this. :)

I like the refactoring.
Attachment #8649695 - Flags: review?(gbrown) → review+
https://github.com/mozilla/autophone/commit/a1584c9634747505723e6497298a1315c026eba3
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1197359
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: