Class ExtractorAsserts.SimulationConfig
- java.lang.Object
-
- com.google.android.exoplayer2.testutil.ExtractorAsserts.SimulationConfig
-
- Enclosing class:
- ExtractorAsserts
public static class ExtractorAsserts.SimulationConfig extends Object
A config of different environments to simulate and extractor behaviours to test.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
simulateIOErrors
Whether to simulate IO errors.boolean
simulatePartialReads
Whether to simulate partial reads.boolean
simulateUnknownLength
Whether to simulate unknown input length.boolean
sniffFirst
Whether to sniff the data by callingExtractor.sniff(ExtractorInput)
prior to consuming it.
-
-
-
Field Detail
-
sniffFirst
public final boolean sniffFirst
Whether to sniff the data by callingExtractor.sniff(ExtractorInput)
prior to consuming it.
-
simulateIOErrors
public final boolean simulateIOErrors
Whether to simulate IO errors.
-
simulateUnknownLength
public final boolean simulateUnknownLength
Whether to simulate unknown input length.
-
simulatePartialReads
public final boolean simulatePartialReads
Whether to simulate partial reads.
-
-