compose-multiplatform-core
compose-multiplatform-core copied to clipboard
Commonize lifecycle tests
Commonize Lifecycle tests.
These tests are heavily relied on Dispatchers.Main
, which involves intricate test environment setup.
After PR is ready, I'm not going to merge it, instead I'll upstream it to androidx
repository directly.
Testing
Run ./gradlew :lifecycle:lifecycle-runtime:allTests
Upstream initiated https://android-review.googlesource.com/c/platform/frameworks/support/+/3074249 https://android-review.googlesource.com/c/platform/frameworks/support/+/3074323