testevent

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: AGPL-3.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 added in v0.2.0

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