media/testutils/src/main/java/com/google/android/exoplayer2/testutil
andrewlewis 0b78837f35 Fix ContentDataSource bytesRemaining calculation
The bytesRemaining didn't always take into account any skipped bytes, which
meant that reaching the end of the file was not correctly detected in read().

Issue: #3216

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=167016672
2017-08-31 16:32:28 +01:00
..
Action.java Implement shuffle mode logic in ExoPlayerImplInternal. 2017-08-29 22:50:49 +01:00
ActionSchedule.java Implement shuffle mode logic in ExoPlayerImplInternal. 2017-08-29 22:50:49 +01:00
CacheAsserts.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
DebugRenderersFactory.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
DecoderCountersUtil.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
Dumper.java Sanitize constants 2016-08-31 15:25:18 +01:00
ExoHostedTest.java Add listener callback for shuffle mode changes. 2017-08-22 16:23:27 +01:00
ExoPlayerTestRunner.java Add listener callback for shuffle mode changes. 2017-08-22 16:23:27 +01:00
ExtractorAsserts.java Some extractor fixes 2017-08-02 17:44:41 +01:00
FakeAdaptiveDataSet.java Use TrackGroup instead of TrackSelection in FakeAdaptiveDataSet. 2017-08-01 16:23:39 +01:00
FakeAdaptiveMediaPeriod.java Add fake adaptive media period. 2017-07-31 20:43:51 +01:00
FakeAdaptiveMediaSource.java Add fake adaptive media source. 2017-07-31 20:45:08 +01:00
FakeChunkSource.java Use TrackGroup instead of TrackSelection in FakeAdaptiveDataSet. 2017-08-01 16:23:39 +01:00
FakeClock.java Extend Clock interface with sleep method and add FakeClock. 2017-07-19 14:06:18 +01:00
FakeDataSet.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
FakeDataSource.java Add unit test for FakeDataSource. 2017-07-31 21:03:36 +01:00
FakeExtractorInput.java Clean up MP3 synchronization and fix handling < 4 frames. 2016-09-16 18:52:42 +01:00
FakeExtractorOutput.java Propagate track type through ExtractorOutput.track 2017-02-15 16:49:47 +00:00
FakeMediaClockRenderer.java Allow multiple Formats per TrackGroup in testutil fake classes. 2017-07-17 23:08:52 +01:00
FakeMediaPeriod.java Add fake adaptive media period. 2017-07-31 20:43:51 +01:00
FakeMediaSource.java Add fake adaptive media source. 2017-07-31 20:45:08 +01:00
FakeRenderer.java Make isReady of FakeRenderer more realistic. 2017-07-19 14:04:58 +01:00
FakeSampleStream.java Propagate skipped input buffers through to CodecCounters 2017-07-31 21:14:23 +01:00
FakeShuffleOrder.java Add fake shuffle order. 2017-08-29 22:44:13 +01:00
FakeSimpleExoPlayer.java Add shortcut methods to query next or previous window index. 2017-08-29 22:40:13 +01:00
FakeTimeline.java Merge TimelineAsserts.FakeTimeline into FakeTimeline. 2017-07-05 15:02:39 +01:00
FakeTrackOutput.java Introduce CryptoData parameter object 2017-05-11 05:53:20 +01:00
HostActivity.java Remove unnecessary view casts 2017-08-29 22:57:17 +01:00
LogcatMetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
MetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
TestUtil.java Fix ContentDataSource bytesRemaining calculation 2017-08-31 16:32:28 +01:00
TimelineAsserts.java Support empty concatenations and empty timelines in concatenations. 2017-08-29 23:01:41 +01:00