The assertion about the expected formats doesn't really belong in a fake, the assertions should be closer to the test method. This gets in the way when I try and write a new test in AnalyticsCollectorTest that doesn't use the expected, constant Format (because i want to specify drmInitData) - but changing the expected Format is tricky because it's hard-coded into the FakeVideoRenderer inner class. I replaced the assertion in FakeRenderer with assertions in test methods that used to assert on the format count. PiperOrigin-RevId: 301353072
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| truth | Loading commit data... | |
| Action.java | Loading commit data... | |
| ActionSchedule.java | Loading commit data... | |
| AutoAdvancingFakeClock.java | Loading commit data... | |
| CacheAsserts.java | Loading commit data... | |
| CapturingAudioSink.java | Loading commit data... | |
| DecoderCountersUtil.java | Loading commit data... | |
| DefaultRenderersFactoryAsserts.java | Loading commit data... | |
| DownloadBuilder.java | Loading commit data... | |
| DummyMainThread.java | Loading commit data... | |
| Dumper.java | Loading commit data... | |
| ExoHostedTest.java | Loading commit data... | |
| ExoPlayerTestRunner.java | Loading commit data... | |
| ExtractorAsserts.java | Loading commit data... | |
| FakeAdaptiveDataSet.java | Loading commit data... | |
| FakeAdaptiveMediaPeriod.java | Loading commit data... | |
| FakeAdaptiveMediaSource.java | Loading commit data... | |
| FakeChunkSource.java | Loading commit data... | |
| FakeClock.java | Loading commit data... | |
| FakeDataSet.java | Loading commit data... | |
| FakeDataSource.java | Loading commit data... | |
| FakeExtractorInput.java | Loading commit data... | |
| FakeExtractorOutput.java | Loading commit data... | |
| FakeMediaChunk.java | Loading commit data... | |
| FakeMediaChunkIterator.java | Loading commit data... | |
| FakeMediaClockRenderer.java | Loading commit data... | |
| FakeMediaPeriod.java | Loading commit data... | |
| FakeMediaSource.java | Loading commit data... | |
| FakeRenderer.java | Loading commit data... | |
| FakeSampleStream.java | Loading commit data... | |
| FakeShuffleOrder.java | Loading commit data... | |
| FakeTimeline.java | Loading commit data... | |
| FakeTrackOutput.java | Loading commit data... | |
| FakeTrackSelection.java | Loading commit data... | |
| FakeTrackSelector.java | Loading commit data... | |
| HostActivity.java | Loading commit data... | |
| MediaPeriodAsserts.java | Loading commit data... | |
| MediaSourceTestRunner.java | Loading commit data... | |
| NoUidTimeline.java | Loading commit data... | |
| StubExoPlayer.java | Loading commit data... | |
| TestDownloadManagerListener.java | Loading commit data... | |
| TestUtil.java | Loading commit data... | |
| TimelineAsserts.java | Loading commit data... | |
| package-info.java | Loading commit data... |