media/testutils
olly c067ee8853 Fix CacheWriter to handle potential DataSink write failures
- If DataSource.close fails then it's unknown whether the underlying file was
  written to the cache. We should assume that it has not been.
- Always re-query cachedBytes at the start of CacheWriter.cache, since its
  current value may be incorrect if a previous failure was the result of a
  file not being written to the cache.

PiperOrigin-RevId: 359039109
2021-02-23 15:06:38 +00:00
..
src Fix CacheWriter to handle potential DataSink write failures 2021-02-23 15:06:38 +00:00
build.gradle Add a DefaultHttpDataSource contract test 2020-12-23 22:53:06 +00: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.