Delete sample_cbs.adts test asset

This seems to be an exact copy of sample.adts. Update the test to use
the same sample but just output to a different dump file.

PiperOrigin-RevId: 333469714
This commit is contained in:
ibaker 2020-09-24 10:00:46 +01:00 committed by kim-vde
parent d3639a2b20
commit c76bc43de6
2 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,7 @@
package com.google.android.exoplayer2.extractor.ts;
import com.google.android.exoplayer2.testutil.ExtractorAsserts;
import com.google.android.exoplayer2.testutil.ExtractorAsserts.AssertionConfig;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
@ -49,7 +50,10 @@ public final class AdtsExtractorTest {
public void sample_withSeeking() throws Exception {
ExtractorAsserts.assertBehavior(
() -> new AdtsExtractor(/* flags= */ AdtsExtractor.FLAG_ENABLE_CONSTANT_BITRATE_SEEKING),
"media/ts/sample_cbs.adts",
"media/ts/sample.adts",
new AssertionConfig.Builder()
.setDumpFilesPrefix("extractordumps/ts/sample_cbs.adts")
.build(),
simulationConfig);
}

Binary file not shown.