Closed
Bug 2023901
Opened 3 months ago
Closed 3 months ago
Remove MainLooperTestRule definition and usage in BrowserToolbarSearchStatusSyncMiddlewareTest
Categories
(Firefox for Android :: Homepage, task)
Tracking
()
RESOLVED
FIXED
150 Branch
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: mcarare, Assigned: mcarare)
References
Details
Attachments
(1 file)
2006631 added back MainLooperTestRule by mistake. We should remove it, as well as its definition.
| Assignee | ||
Comment 1•3 months ago
|
||
Key changes:
- Deleted
MainLooperTestRule, which was used to manage the Robolectric main looper and directHandler.postinteractions. - Updated
MainCoroutineRuledocumentation to remove references to the deprecatedMainLooperTestRule. - Updated
NoDispatchersSetMainDetectorlint rule to removeMainLooperTestRulefrom the suggested alternatives. - Removed the rule from
BrowserToolbarSearchStatusSyncMiddlewareTestand cleaned up associated imports.
Pushed by mcarare@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/d377f00ea620
https://hg.mozilla.org/integration/autoland/rev/3be47f093c94
Remove `MainLooperTestRule`. r=android-reviewers,rebecatudor273
Comment 3•3 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•