notifier

package
v0.0.0-...-069b4f3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package notifier provides assertions that notifier channels (<-chan struct{}) received or did not receive a signal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertClosed

func AssertClosed(t *testing.T, ch <-chan struct{}, formatAndArgs ...interface{})

AssertClosed asserts that the given channel was closed.

func AssertNoUpdate

func AssertNoUpdate(t *testing.T, ch <-chan struct{}, formatAndArgs ...interface{})

AssertNoUpdate asserts that the given channel was not notified or closed.

func AssertNotified

func AssertNotified(t *testing.T, ch <-chan struct{}, formatAndArgs ...interface{})

AssertNotified asserts that the given channel received a notification.

Types

This section is empty.

Jump to

Keyboard shortcuts

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