mock

package
v0.7.33 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDispatcher

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

MockDispatcher is a mock of Dispatcher interface.

func NewMockDispatcher

func NewMockDispatcher(ctrl *gomock.Controller) *MockDispatcher

NewMockDispatcher creates a new mock instance.

func (*MockDispatcher) AddEventListener

func (m *MockDispatcher) AddEventListener(arg0 events.EventType, arg1 *events.EventListener)

AddEventListener mocks base method.

func (*MockDispatcher) Close

func (m *MockDispatcher) Close(arg0 context.Context)

Close mocks base method.

func (*MockDispatcher) DispatchEvent

func (m *MockDispatcher) DispatchEvent(arg0 *events.Event)

DispatchEvent mocks base method.

func (*MockDispatcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDispatcher) RemoveAllEventListener

func (m *MockDispatcher) RemoveAllEventListener(arg0 events.EventType)

RemoveAllEventListener mocks base method.

func (*MockDispatcher) RemoveEventListener

func (m *MockDispatcher) RemoveEventListener(arg0 events.EventType, arg1 *events.EventListener)

RemoveEventListener mocks base method.

func (*MockDispatcher) Start

func (m *MockDispatcher) Start(arg0 context.Context) error

Start mocks base method.

type MockDispatcherMockRecorder

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

MockDispatcherMockRecorder is the mock recorder for MockDispatcher.

func (*MockDispatcherMockRecorder) AddEventListener

func (mr *MockDispatcherMockRecorder) AddEventListener(arg0, arg1 interface{}) *gomock.Call

AddEventListener indicates an expected call of AddEventListener.

func (*MockDispatcherMockRecorder) Close

func (mr *MockDispatcherMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockDispatcherMockRecorder) DispatchEvent

func (mr *MockDispatcherMockRecorder) DispatchEvent(arg0 interface{}) *gomock.Call

DispatchEvent indicates an expected call of DispatchEvent.

func (*MockDispatcherMockRecorder) RemoveAllEventListener

func (mr *MockDispatcherMockRecorder) RemoveAllEventListener(arg0 interface{}) *gomock.Call

RemoveAllEventListener indicates an expected call of RemoveAllEventListener.

func (*MockDispatcherMockRecorder) RemoveEventListener

func (mr *MockDispatcherMockRecorder) RemoveEventListener(arg0, arg1 interface{}) *gomock.Call

RemoveEventListener indicates an expected call of RemoveEventListener.

func (*MockDispatcherMockRecorder) Start

func (mr *MockDispatcherMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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