test

package
v0.0.0-...-77ce06a Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0, EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertNoRouterHandlers

func AssertNoRouterHandlers(t *testing.T, router *message.Router)

AssertNoRouterHandlers asserts no handlers are registered in a Watermill router.

func AssertRouterHandler

func AssertRouterHandler(t *testing.T, expectedHandlerName, expectedSubcribeTopic, expectedPublishTopic string, refHandler reflect.Value)

AssertRouterHandler asserts a Watermill router handler.

func NewDummyCommandHandler

func NewDummyCommandHandler(handlerName string, initErr error, handleErr error) handlers.CommandHandler

NewDummyCommandHandler instantiates a new dummy command handler.

func NewDummySubscriber

func NewDummySubscriber() message.Subscriber

NewDummySubscriber instantiates a new dummy Watermill subscriber.

func NewDummyTelemetryHandler

func NewDummyTelemetryHandler(handlerName string, topic string, initErr error) handlers.TelemetryHandler

NewDummyTelemetryHandler instantiates a new dummy telemetry handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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