package

androidx.media3.test.utils.robolectric

Classes

PlaybackOutputClass to capture output from a playback test.
RandomizedMp3DecoderGenerates randomized, but correct amount of data on MP3 audio input.
RobolectricUtilUtility methods for Robolectric-based tests.
ShadowMediaCodecConfigA JUnit @Rule to configure Roboelectric's ShadowMediaCodec.
TestDownloadManagerListenerAllows tests to block for, and assert properties of, calls from a DownloadManager to its .
TestPlayerRunHelperHelper methods to block the calling thread until the provided ExoPlayer instance reaches a particular state.
TestPlayerRunHelper.ExoPlayerRunResultAn ExoPlayer specific subclass of TestPlayerRunHelper.PlayerRunResult, giving access to conditions that only make sense for the ExoPlayer interface.
TestPlayerRunHelper.PlayerRunResultIntermediate type that allows callers to run the main until certain conditions are met.