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.

TestPlayerRunHelper.ExoPlayerRunResult

An ExoPlayer specific subclass of PlayerRunResult, giving access to conditions that only make sense for the ExoPlayer interface.

TestPlayerRunHelper.PlayerRunResult

Intermediate type that allows callers to run the main Looper until certain conditions are met.