google / google/ground-android
[Code health] Replace usage of deprecated compose test rules
Open
type: code health
- Dominant language
- Kotlin
- Stars
- 293
- Forks
- 149
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 42
Description
the following methods are deprecated:
- `androidx.compose.ui.test.junit4.createComposeRule`
- `androidx.compose.ui.test.junit4.createAndroidComposeRule`
Instead these should be used:
- `androidx.compose.ui.test.junit4.createComposeRule`
- `androidx.compose.ui.test.junit4.v2.createAndroidComposeRule`
This needs to be replaced in all tests that use these rules.
https://developer.android.com/develop/ui/compose/testing/migrate-v2
Contributor guide
Assessment
This issue has not been assessed yet.