media/testutils/src/main/java/com/google/android/exoplayer2/testutil
tonihei 6b82d1c2bd Add setters to MediaSource factories for custom window tag.
This field (formerly "id") is almost impossible to use so far. Having setters
in the factories allows to specify custom tags for all media sources.

Also added a ExoPlayer.getCurrentTag() method to retrieve the tag of the
currently playing media source in a convenient way.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=191738754
2018-04-07 19:12:21 +01:00
..
Action.java Amend WaitForTimelineChange action to allow waiting for arbitrary timeline. 2018-03-29 13:35:33 +01:00
ActionSchedule.java Amend WaitForTimelineChange action to allow waiting for arbitrary timeline. 2018-03-29 13:35:33 +01:00
AutoAdvancingFakeClock.java Migrate ExoPlayerTest to Robolectric. 2018-01-23 19:30:41 +00:00
DebugRenderersFactory.java Pass DrmSessionManager through SimpleExoPlayer. 2018-03-28 00:43:07 +01:00
DecoderCountersUtil.java Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00:00
Dumper.java Sanitize constants 2016-08-31 15:25:18 +01:00
ExoHostedTest.java Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00:00
ExoPlayerTestRunner.java Pass DrmSessionManager through SimpleExoPlayer. 2018-03-28 00:43:07 +01:00
ExtractorAsserts.java Move (almost all) remaining core library instrumentation tests to Robolectric. 2018-02-16 11:46:34 +00:00
FakeAdaptiveDataSet.java Add chunk size variation to fake adaptive data set. 2017-10-13 19:53:02 +01:00
FakeAdaptiveMediaPeriod.java Add callbacks for media period life cycle. 2018-03-28 00:41:29 +01:00
FakeAdaptiveMediaSource.java Send media source events for fake media sources. 2018-03-27 23:58:52 +01:00
FakeChunkSource.java Use long for HLS media sequences 2018-02-01 14:25:01 +00:00
FakeClock.java Replace message delay with send at time in playback loop. 2018-01-04 15:48:11 +00: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 Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00:00
FakeExtractorOutput.java Move (almost all) remaining core library instrumentation tests to Robolectric. 2018-02-16 11:46:34 +00:00
FakeMediaPeriod.java Make MediaPeriod implementations compliant with its specification 2018-03-28 00:52:04 +01:00
FakeMediaSource.java Move window index and media period id out of MediaLoadData again. 2018-03-28 00:38:09 +01:00
FakeRenderer.java Make FakeRenderer more realistic 2018-02-01 14:47:36 +00:00
FakeSampleStream.java Send media source events for fake media sources. 2018-03-27 23:58:52 +01:00
FakeTimeline.java Add setters to MediaSource factories for custom window tag. 2018-04-07 19:12:21 +01:00
FakeTrackOutput.java Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00:00
HostActivity.java Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00: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 Move extension tests to Robolectric. 2018-02-27 11:03:50 +00:00