media/testutils
tonihei 43886491f6 Make FakeMediaPeriod and FakeAdaptiveMediaPeriod independent.
The adaptive period currently extends the base (non-adaptive) period
to share common MediaPeriod boilerplate code.

However, once we start using the real SampleQueue in FakeMediaPeriod
the common code becomes even less and the overhead to support
multiple stream implementation from the base class is no longer
worth it. Thus, this change removes the class hierarchy and copies
the common parts to FakeAdaptiveMediaPeriod.

PiperOrigin-RevId: 347990468
2020-12-23 22:48:10 +00:00
..
src Make FakeMediaPeriod and FakeAdaptiveMediaPeriod independent. 2020-12-23 22:48:10 +00:00
build.gradle Remove testutil dependency on Robolectric shadows 2020-09-11 13:23:45 +01:00
README.md Publish test utils modules as release artificats. 2019-09-05 10:43:52 +01:00

ExoPlayer test utils

Provides utility classes for ExoPlayer unit and instrumentation tests.

  • Javadoc: Classes matching com.google.android.exoplayer2.testutil belong to this module.