ExtractorAsserts.SimulationConfig


public class ExtractorAsserts.SimulationConfig


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

Summary

Public fields

final boolean

Whether to simulate IO errors.

final boolean

Whether to simulate partial reads.

final boolean

Whether to simulate unknown input length.

final boolean

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

Public methods

String

Public fields

simulateIOErrors

public final boolean simulateIOErrors

Whether to simulate IO errors.

simulatePartialReads

public final boolean simulatePartialReads

Whether to simulate partial reads.

simulateUnknownLength

public final boolean simulateUnknownLength

Whether to simulate unknown input length.

sniffFirst

public final boolean sniffFirst

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

Public methods

toString

public String toString()