Skip to content
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

Remove LooperMode.LEGACY from tests that do not need it #761

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chggr
Copy link
Contributor

@chggr chggr commented Jan 26, 2021

Summary

Many tests were previously annotated with @LooperMode(LEGACY) because
they were failing when using the new Robolectric PAUSED LooperMode. I have reran
these tests after Litho upgraded to Robolectric 4.4 and some of them no longer
need @LooperMode(LEGACY) and they run successfully without this annotation,
using the new PAUSED LooperMode.

Changelog

Remove LooperMode.LEGACY from tests that run successfully without it.

Test Plan

N/A, this change only affects tests.

Many tests have been annotated with @LooperMode(LEGACY), but
some of them do not really need it and run successfully without
it.
@chggr
Copy link
Contributor Author

chggr commented Feb 9, 2021

Hi team, just wanted to check whether you had any feedback on this PR. Thanks!

@chggr chggr closed this Feb 12, 2021
@chggr chggr deleted the loopermode branch February 12, 2021 13:58
@chggr chggr restored the loopermode branch February 12, 2021 14:00
@chggr chggr reopened this Feb 12, 2021
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@colriot has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants