Skip to content

Engine java unit tests should migrate from Robolectric.setupActivity to activity scenario  #133151

@reidbaker

Description

@reidbaker

Activity Scenario documentation
https://developer.android.com/reference/androidx/test/core/app/ActivityScenario
Extension function that sets up and shuts down an activity before and after each test.
https://developer.android.com/reference/androidx/test/ext/junit/rules/ActivityScenarioRule

Test manifest issue that we might run into during migration.
robolectric/robolectric#4736

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions