media/testutils/src/main/java/com/google/android/exoplayer2/testutil
olly 635544efe9 Add DataSourceContractTest for reading from the end with a set length
Given we're proposing to make reading from the end a non-error case,
it's important to check that we return the right thing from open(),
and that we read the right thing (i.e., nothing) once opened.

For now, this test allows quite a bit of permissiveness, in line
with other related tests. This will be tightened up in due course.

PiperOrigin-RevId: 359504075
2021-03-02 17:02:04 +00:00
..
truth Tweak SpannedSubject error message when actual has no spans 2020-02-03 11:21:13 +00:00
Action.java Make FakeClock fully deterministic. 2021-01-26 17:13:35 +00:00
ActionSchedule.java Add back support for setting audio pitch 2020-08-27 12:06:41 +01:00
AdditionalFailureInfo.java Attach resource info to exceptions thrown in DataSourceContractTest 2020-12-14 10:16:53 +00:00
AutoAdvancingFakeClock.java Make FakeClock fully deterministic. 2021-01-26 17:13:35 +00:00
CacheAsserts.java Move DataSource reading methods into Util 2020-10-06 14:30:56 +01:00
CapturingAudioSink.java Rollback of fa6e01312b 2020-11-18 18:40:22 +00:00
CapturingRenderersFactory.java Add CapturingRenderersFactory and use it in Mp4PlaybackTest 2020-12-23 22:48:20 +00:00
DataSourceContractTest.java Add DataSourceContractTest for reading from the end with a set length 2021-03-02 17:02:04 +00:00
DecoderCountersUtil.java Video processing offset in AnalyticsListener 2020-02-17 17:13:09 +00:00
DefaultRenderersFactoryAsserts.java Remove DRM management from Renderers 2020-02-17 17:40:30 +00:00
DownloadBuilder.java Rollback of fa6e01312b 2020-11-18 18:40:22 +00:00
DummyMainThread.java Use static imports for methods that make sense without their class name 2020-07-27 23:59:52 +01:00
DumpableFormat.java Switch transformer tests to use dump files 2021-02-01 18:10:55 +00:00
Dumper.java Rollback of fa6e01312b 2020-11-18 18:40:22 +00:00
DumpFileAsserts.java Add ABR unit tests 2021-02-09 13:59:49 +00:00
ExoHostedTest.java Replace non-inclusively named constant 2021-01-25 17:38:26 +00:00
ExoPlayerTestRunner.java Make FakeClock fully deterministic. 2021-01-26 17:13:35 +00:00
ExtractorAsserts.java Switch extractor tests to single-parameter parameterized syntax 2020-11-27 11:06:51 +00:00
FailOnCloseDataSink.java Fix CacheWriter to handle potential DataSink write failures 2021-02-23 15:06:38 +00:00
FakeAdaptiveDataSet.java Remove randomness from adaptive bitrate tests. 2021-01-26 17:13:46 +00:00
FakeAdaptiveMediaPeriod.java Remove randomness from adaptive bitrate tests. 2021-01-26 17:13:46 +00:00
FakeAdaptiveMediaSource.java Replace non-inclusively named constant 2021-01-25 17:38:26 +00:00
FakeAudioRenderer.java Fix audio session ID generation 2021-01-13 00:03:16 +00:00
FakeChunkSource.java Ensure BandwidthProfileDataSource loading is fully deterministic 2021-02-09 13:58:42 +00:00
FakeClock.java Ensure BandwidthProfileDataSource loading is fully deterministic 2021-02-09 13:58:42 +00:00
FakeDataSet.java Rollback of fa6e01312b 2020-11-18 18:40:22 +00:00
FakeDataSource.java Contract test for end-position-out-of-range case 2021-02-24 15:46:02 +00:00
FakeExoMediaDrm.java Some more language fixes 2021-01-25 15:36:59 +00:00
FakeExtractorInput.java Use static imports for methods that make sense without their class name 2020-07-27 23:59:52 +01:00
FakeExtractorOutput.java Create a DumpFileAsserts from the dumpfile logic in FakeExtractorOutput 2020-08-17 16:08:24 +01:00
FakeMediaChunk.java Make DefaultHttpDataSourceFactory an inner class of the built class 2020-12-23 22:51:20 +00:00
FakeMediaChunkIterator.java DataSpec: Deprecate most constructors 2020-02-13 15:43:54 +00:00
FakeMediaClockRenderer.java Change FakeRenderer to take a track type instead of a list of formats 2020-03-19 00:49:10 +00:00
FakeMediaPeriod.java Replace non-inclusively named constant 2021-01-25 17:38:26 +00:00
FakeMediaSource.java Replace non-inclusively named constant 2021-01-25 17:38:26 +00:00
FakeRenderer.java Move FormatSupport in common 2020-11-30 09:33:11 +00:00
FakeSampleStream.java Use real SampleQueue in FakeSampleStream. 2020-12-23 22:51:00 +00:00
FakeShuffleOrder.java Merge robolectric_testutils into testutils. 2019-08-09 18:36:32 +01:00
FakeTimeline.java Some more language fixes 2021-01-25 15:36:59 +00:00
FakeTrackOutput.java Switch transformer tests to use dump files 2021-02-01 18:10:55 +00:00
FakeTrackSelection.java Add static TrackSelection type 2021-02-19 10:56:27 +00:00
FakeTrackSelector.java Split mutations method out of TrackSelection 2021-01-25 15:37:38 +00:00
FakeVideoRenderer.java Report reasons for not being able to reuse decoders 2020-11-16 16:49:48 +00:00
HostActivity.java Add overlay FrameLayout to hosted tests 2020-03-27 23:31:46 +00:00
HttpDataSourceTestEnv.java Read to end-of-stream for HTTP contract tests 2021-02-23 12:30:06 +00:00
MediaPeriodAsserts.java Split mutations method out of TrackSelection 2021-01-25 15:37:38 +00:00
MediaSourceTestRunner.java Use static imports for methods that make sense without their class name 2020-07-27 23:59:52 +01:00
NoUidTimeline.java Migrate ExoPlayerTest.playEmptyTimeline to TestExoPlayer 2020-08-01 12:54:33 +01:00
package-info.java More nullness fixes in testutil 2020-02-03 14:45:22 +00:00
StubExoPlayer.java Mark convenience methods as final in BasePlayer 2021-02-23 15:06:28 +00:00
TestExoPlayerBuilder.java Split TestExoPlayer into Builder and RunHelper classes 2020-10-13 16:27:39 +01:00
TestUtil.java Add contract test for DataSchemeDataSource 2021-01-19 19:23:40 +00:00
TimelineAsserts.java Migrate usages of deprecated Window#tag 2020-07-24 10:34:03 +01:00
WebServerDispatcher.java Read to end-of-stream for HTTP contract tests 2021-02-23 12:30:06 +00:00