Re-introduce tests that got lost as part of the ASRouter rearchitecture work
Categories
(Firefox :: Messaging System, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
In bug 1614465, a big refactor occurred with ASRouter, which changes how it initializes, and also changes it's underlying communications infrastructure.
As part of that change, some unit tests from ASRouter.test.js were removed because certain methods were removed. Per this comment from andreio, we should audit the removed tests and reintroduce new ones where it makes sense.
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Hey - if it's alright, I'm going to keep this assigned to me - I've already got a patch halfway done that reintroduces a bunch of tests.
Comment 2•4 years ago
|
||
Thanks! I was confused as to why I couldn't find the bug anymore (I was looking by bugs assigned to me) :)
I came across some unused/dead-code that was accidentally added in (probably an artifact of the numerous rebases) that I was planning to add as a todo to this bug but maybe it should be a separate bug?
Assignee | ||
Comment 3•4 years ago
|
||
(In reply to Andrei Oprea [:andreio] from comment #2)
Thanks! I was confused as to why I couldn't find the bug anymore (I was looking by bugs assigned to me) :)
I came across some unused/dead-code that was accidentally added in (probably an artifact of the numerous rebases) that I was planning to add as a todo to this bug but maybe it should be a separate bug?
Hi! Yep, that dead code is one of the things my patch removes. I'm still in the midst of adding the tests back, but I'll post what patches I have so far that are ready for review.
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D95791
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D95792
Assignee | ||
Comment 7•4 years ago
|
||
Depends on D95793
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D95794
Assignee | ||
Comment 9•4 years ago
|
||
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/071ed11caa2d
https://hg.mozilla.org/mozilla-central/rev/9db16fa5d64f
https://hg.mozilla.org/mozilla-central/rev/2d9cf2b4e8a9
https://hg.mozilla.org/mozilla-central/rev/ec95e0de1ad4
https://hg.mozilla.org/mozilla-central/rev/a9f96e3afaab
https://hg.mozilla.org/mozilla-central/rev/8b291152d074
Description
•