media/libraries/test_utils
tonihei 2ac5d8f1af Make FakeClock Espresso and Compose UI test compatible
FakeClock currently doesn't work well with Espresso and Compose UI
tests because view interactions in both frameworks intentionally idle
the main looper to handle pending UI effects. However, this also
advances playback progress even though we want to deterministically
trigger progress from the test itself.

To solve this problem, we can detect the idling Robolectric call and
postpone any further updates until we leave this state.

PiperOrigin-RevId: 541831050
2023-06-20 14:03:06 +01:00
..
src Make FakeClock Espresso and Compose UI test compatible 2023-06-20 14:03:06 +01:00
build.gradle Make FakeClock Espresso and Compose UI test compatible 2023-06-20 14:03:06 +01:00
README.md Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00

Test utils module

Provides utility classes for media unit and instrumentation tests.