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 simulateIOErrors: Boolean

Whether to simulate IO errors.

simulatePartialReads

val simulatePartialReads: Boolean

Whether to simulate partial reads.

simulateUnknownLength

val simulateUnknownLength: Boolean

Whether to simulate unknown input length.

sniffFirst

val sniffFirst: Boolean

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