testutils

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogObserver

type LogObserver struct {
	Logger *zap.Logger
	Logs   *observer.ObservedLogs
}

func CreateAllLevelLogObserver

func CreateAllLevelLogObserver() LogObserver

func (LogObserver) AssertLogSize

func (o LogObserver) AssertLogSize(t *testing.T, i int)

func (LogObserver) AssertMessageEqual

func (o LogObserver) AssertMessageEqual(t *testing.T, messageId int, message string)

Jump to

Keyboard shortcuts

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