media/testutils/src/main/java/com/google/android/exoplayer2/testutil
ibaker ecea2b9e90 Rollback of e705999cf3
*** Original commit ***

Rollback of 57182ac7bd

*** Original commit ***

Remove `@Nullable` from `MediaSource.Factory` setters

The null-behaviour of these methods creates a minimization footgun,
because **any** call to these setters will prevent R8 from removing
the default implementation (even if it's never used by the app) - this
is because R8 can't tell the default imple...

***

PiperOrigin-RevId: 450453325
2022-05-23 17:12:22 +01:00
..
truth Fix the position of IntDefs to match TYPE_USE 2022-02-08 12:34:06 +00:00
Action.java Reformat some javadoc 2022-02-18 15:02:33 +00:00
ActionSchedule.java Reformat some javadoc 2022-02-18 15:02:33 +00:00
AdditionalFailureInfo.java Fix javadoc consistency 2021-09-14 11:56:45 +01:00
AssetContentProvider.java Move test asset ContentProvider to testutil 2021-10-13 20:11:02 +01:00
CacheAsserts.java Fix non-inclusive language in class names. 2022-04-07 15:40:24 +01:00
CapturingAudioSink.java Fix the position of IntDefs to match TYPE_USE 2022-02-08 12:34:06 +00:00
CapturingRenderersFactory.java Remove Transformer-specific things from MediaCodecAdapter. 2022-01-14 14:58:40 +00:00
DataSourceContractTest.java Remove null keys from DefaultHttpDataSource#getResponseHeaders 2021-11-18 13:17:40 +00:00
DecoderCountersUtil.java Make DecoderCountersUtil error message clearer 2021-12-13 12:21:09 +00:00
DefaultRenderersFactoryAsserts.java Migrate leaf listeners of Player to new onCues override 2022-05-24 11:55:09 +01:00
DownloadBuilder.java Reformat some javadoc 2022-02-18 15:02:33 +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 Add ColorInfo to extractor tests' format serialization 2021-05-27 10:43:36 +01:00
Dumper.java Format Java source files 2021-05-06 13:32:25 +01:00
DumpFileAsserts.java Fix the position of IntDefs to match TYPE_USE 2022-02-08 12:34:06 +00:00
ExoHostedTest.java Rewrite EventLogger to use new track APIs 2022-02-02 10:22:05 +00:00
ExoPlayerTestRunner.java Migrate usages of Window-based Player methods 2021-11-02 12:08:18 +00:00
ExtractorAsserts.java Format Java source files 2021-05-06 13:32:25 +01:00
FailOnCloseDataSink.java Fix CacheWriter to handle potential DataSink write failures 2021-02-23 15:06:38 +00:00
FakeAdaptiveDataSet.java Fix calculations that may lose precision compared to their target type 2022-05-09 10:30:39 +01:00
FakeAdaptiveMediaPeriod.java Make getFallbackSelection nullable to indicate disabling of exclusion 2021-07-27 12:14:04 +01:00
FakeAdaptiveMediaSource.java Re-format some javadoc 2021-04-21 18:46:00 +01:00
FakeAudioRenderer.java Fix audio session ID generation 2021-01-13 00:03:16 +00:00
FakeChunkSource.java Change signature of ChunkSource.onChunkLoadError 2021-06-30 13:26:32 +01:00
FakeClock.java Format Java source files 2021-05-06 13:32:25 +01:00
FakeCryptoConfig.java DRM refactor / cleanup 2021-08-19 10:42:56 +01:00
FakeDataSet.java Format Java source files 2021-05-06 13:32:25 +01:00
FakeDataSource.java Merge pull request #9536 from TiVo:p-fix-issue-2882 2021-11-26 14:41:45 +00:00
FakeExoMediaDrm.java Reformat some javadoc 2022-02-18 15:02:33 +00:00
FakeExtractorInput.java Fix parameter names on overridden methods 2021-07-28 09:15:29 +01:00
FakeExtractorOutput.java Format Java source files 2021-05-06 13:32:25 +01:00
FakeMediaChunk.java Add open @IntDef for track selection reasons. 2021-09-07 17:42:30 +01:00
FakeMediaChunkIterator.java Replace fully qualified link annotation 2021-08-26 11:09:06 +01: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 Move DrmSessionManager initial player setup to its own method. 2021-11-19 14:15:03 +00:00
FakeMediaSourceFactory.java Rollback of e705999cf3 2022-05-23 17:12:22 +01:00
FakeMetadataEntry.java Remove dependency from common tests to exoplayer 2021-11-01 09:54:23 +00:00
FakeRenderer.java Fix the position of IntDefs to match TYPE_USE 2022-02-08 12:34:06 +00:00
FakeSampleStream.java Fix the position of IntDefs to match TYPE_USE 2022-02-08 12:34:06 +00:00
FakeShuffleOrder.java Merge robolectric_testutils into testutils. 2019-08-09 18:36:32 +01:00
FakeTimeline.java Do not manipulate the duration of SSAI periods in FakeTimeline 2022-02-17 14:24:02 +00:00
FakeTrackOutput.java Fix moving of DataReader 2021-10-18 16:24:57 +01:00
FakeTrackSelection.java Mark @C.SelectionReason as TYPE_USE (only) and use it in more places 2022-02-07 11:02:54 +00:00
FakeTrackSelector.java Simplify application of track overrides 2022-03-04 18:54:25 +00:00
FakeVideoRenderer.java Add open @IntDef for Renderer message types. 2021-09-07 17:52:40 +01:00
HostActivity.java Format Java source files 2021-05-06 13:32:25 +01:00
HttpDataSourceTestEnv.java Add BandaidHttpDataSourceContractTest 2021-03-02 17:02:45 +00:00
MediaPeriodAsserts.java Mark @C.SelectionReason as TYPE_USE (only) and use it in more places 2022-02-07 11:02:54 +00:00
MediaSourceTestRunner.java Plumb PlayerId to MediaSource. 2021-11-11 10:49:35 +00: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 Remove deprecated Player track methods 2022-02-22 10:58:21 +00:00
StubPlayer.java Create new class to store cues and timestamp. 2022-05-24 11:27:01 +01:00
TestExoPlayerBuilder.java Stop using SimpleExoPlayer for tests 2022-02-17 11:10:02 +00:00
TestUtil.java Move DataSource utils into a DataSourceUtil class 2021-10-18 15:25:43 +01:00
TimelineAsserts.java Migrate usages of MediaItem.PlaybackProperties to LocalConfiguration 2021-09-28 16:35:31 +01:00
WebServerDispatcher.java Fix a potential NPE in test_utils WebServerDispatcher 2022-02-18 15:02:38 +00:00