ExtractorAsserts.SimulationConfig


class ExtractorAsserts.SimulationConfig


A config of different environments to simulate and extractor behaviours to test.

Summary

Public functions

String!

Public properties

Boolean

Whether to simulate IO errors.

Boolean

Whether to simulate partial reads.

Boolean

Whether to simulate unknown input length.

Boolean

Whether to sniff the data by calling sniff prior to consuming it.

Public functions

toString

fun toString(): String!

Public properties

simulateIOErrors

val simulateIOErrorsBoolean

Whether to simulate IO errors.

simulatePartialReads

val simulatePartialReadsBoolean

Whether to simulate partial reads.

simulateUnknownLength

val simulateUnknownLengthBoolean

Whether to simulate unknown input length.

sniffFirst

val sniffFirstBoolean

Whether to sniff the data by calling sniff prior to consuming it.