Closed Bug 2023901 Opened 3 months ago Closed 3 months ago

Remove MainLooperTestRule definition and usage in BrowserToolbarSearchStatusSyncMiddlewareTest

Categories

(Firefox for Android :: Homepage, task)

All
Android
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.

Key changes:

  • Deleted MainLooperTestRule, which was used to manage the Robolectric main looper and direct Handler.post interactions.
  • Updated MainCoroutineRule documentation to remove references to the deprecated MainLooperTestRule.
  • Updated NoDispatchersSetMainDetector lint rule to remove MainLooperTestRule from the suggested alternatives.
  • Removed the rule from BrowserToolbarSearchStatusSyncMiddlewareTest and cleaned up associated imports.
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: