Skip to content

Migrate from Robolectric.flushForegroundThreadScheduler to ShadowLooper.runToEndOfTasks #6918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hoisie
Copy link
Contributor

@hoisie hoisie commented Apr 28, 2025

Robolectric.flushForegroundThreadScheduler is going to be released in a forthcoming Robolectric release. The Robolectric Scheduler APIs are designed for LEGACY Looper mode which has been deprecated for years.

…er.runToEndOfTasks

Robolectric.flushForegroundThreadScheduler is going to be released in a
forthcoming Robolectric release. The Robolectric Scheduler APIs are
designed for LEGACY Looper mode which has been deprecated for years.
@hoisie hoisie force-pushed the remove-flush-foreground branch from 849827b to 0bd3f29 Compare April 28, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants