media/testutils/src/main/java/com/google/android/exoplayer2/testutil
tonihei 318618d7a2 Fix seek/prepare/stop acks when exception is thrown.
1. The player doesn't acknowledge phantom stops when an exception is thrown anymore.
2. It also makes sure it doesn't reset the pendingPrepareCount unless it's actually
immediately acknowledging these prepares.
3. It ensures a seek is acknowledged even though an exception is thrown during seeking.

Added tests (which previously failed) for all three cases.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=178876362
2017-12-13 12:53:39 +00:00
..
Action.java Add stop with position reset to Player interface. 2017-12-04 17:38:11 +00:00
ActionSchedule.java Use Handler to post action schedule finished callback. 2017-12-04 17:38:11 +00:00
CacheAsserts.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
DebugRenderersFactory.java Catch up video rendering by dropping to keyframes 2017-10-11 12:11:58 +01:00
DecoderCountersUtil.java Rename droppedOutputBufferCount 2017-10-11 12:17:25 +01:00
Dumper.java Sanitize constants 2016-08-31 15:25:18 +01:00
ExoHostedTest.java Allow multiple video and audio debug listeners in SimpleExoPlayer. 2017-12-04 17:38:11 +00:00
ExoPlayerTestRunner.java Fix seek/prepare/stop acks when exception is thrown. 2017-12-13 12:53:39 +00:00
ExtractorAsserts.java Enhance SeekMaps to return SeekPoints 2017-12-04 17:39:43 +00:00
FakeAdaptiveDataSet.java Add chunk size variation to fake adaptive data set. 2017-10-13 19:53:02 +01:00
FakeAdaptiveMediaPeriod.java Update internal usages of deprecated AdaptiveMediaSourceEventListener 2017-12-04 17:38:11 +00:00
FakeAdaptiveMediaSource.java Update internal usages of deprecated AdaptiveMediaSourceEventListener 2017-12-04 17:38:11 +00:00
FakeChunkSource.java Fix positions passed to TrackSelection 2017-10-19 16:48:39 +01:00
FakeClock.java Add postDelayed operation to Clock interface. 2017-09-05 16:34:44 +01:00
FakeDataSet.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
FakeDataSource.java Use Handler callback instead of sleep() to catch InteruptedException. 2017-09-15 23:28:13 +01:00
FakeExtractorInput.java Clean up MP3 synchronization and fix handling < 4 frames. 2016-09-16 18:52:42 +01:00
FakeExtractorOutput.java Enhance SeekMaps to return SeekPoints 2017-12-04 17:39:43 +00:00
FakeMediaClockRenderer.java Allow multiple Formats per TrackGroup in testutil fake classes. 2017-07-17 23:08:52 +01:00
FakeMediaPeriod.java Expose ability to get adjusted seek position from MediaPeriod 2017-12-12 19:16:34 +00:00
FakeMediaSource.java Add method to FakeMediaSource to trigger source info refresh. 2017-11-17 18:37:08 +00:00
FakeRenderer.java Immediately release temp buffer memory in FakeRenderer. 2017-12-12 18:40:43 +00: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 Expose ability to get adjusted seek position from MediaPeriod 2017-12-12 19:16:34 +00:00
FakeTimeline.java Add simplified FakeTimeline constructor. 2017-11-17 18:57:51 +00:00
FakeTrackOutput.java Introduce CryptoData parameter object 2017-05-11 05:53:20 +01:00
FakeTrackSelection.java Pass playback speed to LoadControl and TrackSelection 2017-11-21 13:13:35 +00:00
FakeTrackSelector.java Notify TrackSelection when it's enabled and disabled. 2017-11-13 20:06:06 +00:00
HostActivity.java Relax test termination for API level 23 and above 2017-09-15 23:40:43 +01:00
LogcatMetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
MediaSourceTestRunner.java Improve ClippingMediaSource "cannot clip" behavior 2017-11-22 18:27:16 +00:00
MetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
MockitoUtil.java Move MockitoUtils to testutils and use it for all Mockito set-ups. 2017-11-20 13:40:28 +00:00
OggTestData.java Some test cleanup 2017-11-17 18:41:38 +00:00
StubExoPlayer.java Public API for setting seek parameters 2017-12-12 19:05:42 +00:00
TestUtil.java Use MediaSourceTestRunner in additional source tests 2017-11-21 13:01:59 +00:00
TimelineAsserts.java Add MediaSourceTestRunner for MediaSource tests. 2017-11-17 19:02:14 +00:00