[][src]Module rust_transit::harness

Test harness

Maybe this could be in a separate crate, but hey

These tests should pass on any implementation of EventManager

Structs

StringAccumulateConsumer

A consumer that accumulates string events into a shared Vec

StringEvent

A very simple event with a simple String content

Functions

wait_for_condition

Wait up to max_seconds for the condition to be true The condition is given by the result of the cond closure