mocks

package
v1.13.9 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	mock.Mock
}

Instance is an autogenerated mock type for the Instance type

func NewInstance

func NewInstance(t mockConstructorTestingTNewInstance) *Instance

NewInstance creates a new instance of Instance. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Instance) GetEvents

func (_m *Instance) GetEvents() map[event.Event][]event.Listener

GetEvents provides a mock function with given fields:

func (*Instance) Job

func (_m *Instance) Job(_a0 event.Event, args []event.Arg) event.Task

Job provides a mock function with given fields: _a0, args

func (*Instance) Register

func (_m *Instance) Register(_a0 map[event.Event][]event.Listener)

Register provides a mock function with given fields: _a0

type Task

type Task struct {
	mock.Mock
}

Task is an autogenerated mock type for the Task type

func NewTask

func NewTask(t mockConstructorTestingTNewTask) *Task

NewTask creates a new instance of Task. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Task) Dispatch

func (_m *Task) Dispatch() error

Dispatch provides a mock function with given fields:

Jump to

Keyboard shortcuts

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