testevent

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsEvent

func ContainsEvent(t *testing.T, eh *TestEventHandler, et event.Type)

func NotContainsEvent

func NotContainsEvent(t *testing.T, eh *TestEventHandler, et event.Type)

Types

type TestEventHandler

type TestEventHandler struct {
	// contains filtered or unexported fields
}

func (*TestEventHandler) GetEvents

func (eh *TestEventHandler) GetEvents() []*event.Event

func (*TestEventHandler) HandleEvent

func (eh *TestEventHandler) HandleEvent(e *event.Event)

func (*TestEventHandler) Reset

func (eh *TestEventHandler) Reset()

Jump to

Keyboard shortcuts

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