RoomHarness

data class RoomHarness(val hostFactory: RoomFactory, val joinerFactory: RoomFactory, val faults: RoomConformanceSuite.FaultInjection, val clock: () -> Instant, val advanceClock: (Long) -> Unit)

A harness that bundles host and joiner RoomFactorys plus its FaultInjection fixture.

clock and advanceClock are shared across the harness so the injected clock stays in sync with virtual-time advancement.

Constructors

Link copied to clipboard
constructor(hostFactory: RoomFactory, joinerFactory: RoomFactory, faults: RoomConformanceSuite.FaultInjection, clock: () -> Instant, advanceClock: (Long) -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
val clock: () -> Instant
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard