androidx.media3.test.utils.robolectric


Classes

BuildConfig
PlaybackOutput

Class to capture output from a playback test.

RandomizedMp3Decoder

Generates randomized, but correct amount of data on MP3 audio input.

RobolectricUtil

Utility methods for Robolectric-based tests.

ShadowMediaCodecConfig

A JUnit @Rule to configure Roboelectric's ShadowMediaCodec.

TestDownloadManagerListener

Allows tests to block for, and assert properties of, calls from a DownloadManager to its DownloadManager.Listener.

TestPlayerRunHelper

Helper methods to block the calling thread until the provided ExoPlayer instance reaches a particular state.