Closed
Bug 1278770
Opened 8 years ago
Closed 8 years ago
Decouple the test actors.
Categories
(DevTools :: General, defect, P1)
DevTools
General
Tracking
(firefox50 fixed)
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: ejpbruel, Assigned: ejpbruel)
References
Details
Attachments
(1 file)
(deleted),
patch
|
fitzgen
:
review+
|
Details | Diff | Splinter Review |
Our goal is to replace all uses of the old Actor/FrontClass constructors with the new Actor/FrontClassWithSpec constructors. We have several server tests that define their own actors for the purpose of that test, so these need to be decoupled as well.
Assignee | ||
Comment 1•8 years ago
|
||
I did not move the actor specifications to the shared directory, because this seemed like overkill; we can keep the specs in the tests themselves, since the fronts are defined there as well. These fronts are not used anywhere else, and do not involve requiring any files from the client directory, so this should not pose any problems.
Attachment #8761079 -
Flags: review?(nfitzgerald)
Comment 2•8 years ago
|
||
Great! I just started a WIP on this, but now I don't have to do it :)
Updated•8 years ago
|
Attachment #8761079 -
Flags: review?(nfitzgerald) → review+
Updated•8 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 50.1
Flags: qe-verify-
Priority: -- → P1
Whiteboard: [devtools-html] [triage] → [devtools-html]
Assignee | ||
Comment 3•8 years ago
|
||
Try run for this patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9ede9e956c83
Comment 4•8 years ago
|
||
Gotta run `./mach eslint devtools` with these decoupling patches ;)
> TEST-UNEXPECTED-ERROR | devtools/shared/fronts/gcli.js:13:23 | Missing space before function parentheses. (space-before-function-paren)
> TEST-UNEXPECTED-ERROR | devtools/shared/fronts/gcli.js:31:36 | Missing space before function parentheses. (space-before-function-paren)
I assume this is from the gcli patch that this bug is working on top of.
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Nick Fitzgerald [:fitzgen] [⏰PDT; UTC-7] from comment #4) > Gotta run `./mach eslint devtools` with these decoupling patches ;) > > > TEST-UNEXPECTED-ERROR | devtools/shared/fronts/gcli.js:13:23 | Missing space before function parentheses. (space-before-function-paren) > > TEST-UNEXPECTED-ERROR | devtools/shared/fronts/gcli.js:31:36 | Missing space before function parentheses. (space-before-function-paren) > > I assume this is from the gcli patch that this bug is working on top of. I did, and then only fixed devtools/shared/specs/gcli.js. I am not smart :-(
Pushed by ejpbruel@mozilla.com: https://hg.mozilla.org/integration/fx-team/rev/e10403956d1e Decouple the test actors;r=fitzgen
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e10403956d1e
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Assignee | ||
Comment 8•8 years ago
|
||
I accidentally pushed an empty patch on this bug.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by ejpbruel@mozilla.com: https://hg.mozilla.org/integration/fx-team/rev/93a9cda876d8 Decouple the test actors;r=fitzgen
Updated•8 years ago
|
Status: REOPENED → ASSIGNED
Iteration: 50.1 → 50.2
Comment 10•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/93a9cda876d8
Status: ASSIGNED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Whiteboard: [devtools-html]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•