testutil

package
v0.0.0-...-f4cfdf3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL