Documentation ¶
Overview ¶
Package testutil provides utilities for using the event monitor in tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartEventMonitor ¶
func StartEventMonitor(t *testing.T, callback PreStartCallback)
StartEventMonitor creates and starts an event monitor for use in tests
Types ¶
type PreStartCallback ¶
type PreStartCallback func(t *testing.T, evm *eventmonitor.EventMonitor)
PreStartCallback is a callback to register clients to the event monitor before starting it
Click to show internal directories.
Click to hide internal directories.