mock

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 2 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 MockHook

type MockHook[K comparable, S any, T any] struct {
	// contains filtered or unexported fields
}

MockHook is a mock of Hook interface.

func NewMockHook

func NewMockHook[K comparable, S any, T any](ctrl *gomock.Controller) *MockHook[K, S, T]

NewMockHook creates a new mock instance.

func (*MockHook[K, S, T]) AbnormalPath

func (m *MockHook[K, S, T]) AbnormalPath(arg0 T) error

AbnormalPath mocks base method.

func (*MockHook[K, S, T]) EXPECT

func (m *MockHook[K, S, T]) EXPECT() *MockHookMockRecorder[K, S, T]

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

func (*MockHook[K, S, T]) NormalPath

func (m *MockHook[K, S, T]) NormalPath(arg0 S) error

NormalPath mocks base method.

func (*MockHook[K, S, T]) Requirements

func (m *MockHook[K, S, T]) Requirements() []K

Requirements mocks base method.

type MockHookMockRecorder

type MockHookMockRecorder[K comparable, S any, T any] struct {
	// contains filtered or unexported fields
}

MockHookMockRecorder is the mock recorder for MockHook.

func (*MockHookMockRecorder[K, S, T]) AbnormalPath

func (mr *MockHookMockRecorder[K, S, T]) AbnormalPath(arg0 any) *gomock.Call

AbnormalPath indicates an expected call of AbnormalPath.

func (*MockHookMockRecorder[K, S, T]) NormalPath

func (mr *MockHookMockRecorder[K, S, T]) NormalPath(arg0 any) *gomock.Call

NormalPath indicates an expected call of NormalPath.

func (*MockHookMockRecorder[K, S, T]) Requirements

func (mr *MockHookMockRecorder[K, S, T]) Requirements() *gomock.Call

Requirements indicates an expected call of Requirements.

type MockIConditionJudger

type MockIConditionJudger[K comparable, S any, T any] struct {
	// contains filtered or unexported fields
}

MockIConditionJudger is a mock of IConditionJudger interface.

func NewMockIConditionJudger

func NewMockIConditionJudger[K comparable, S any, T any](ctrl *gomock.Controller) *MockIConditionJudger[K, S, T]

NewMockIConditionJudger creates a new mock instance.

func (*MockIConditionJudger[K, S, T]) EXPECT

func (m *MockIConditionJudger[K, S, T]) EXPECT() *MockIConditionJudgerMockRecorder[K, S, T]

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

func (*MockIConditionJudger[K, S, T]) HookEvent

func (m *MockIConditionJudger[K, S, T]) HookEvent(key K, value S) (bool, error)

HookEvent mocks base method.

func (*MockIConditionJudger[K, S, T]) IsHookExist

func (m *MockIConditionJudger[K, S, T]) IsHookExist(key K) bool

IsHookExist mocks base method.

func (*MockIConditionJudger[K, S, T]) KeyEvent

func (m *MockIConditionJudger[K, S, T]) KeyEvent(key K) error

KeyEvent mocks base method.

type MockIConditionJudgerMockRecorder

type MockIConditionJudgerMockRecorder[K comparable, S any, T any] struct {
	// contains filtered or unexported fields
}

MockIConditionJudgerMockRecorder is the mock recorder for MockIConditionJudger.

func (*MockIConditionJudgerMockRecorder[K, S, T]) HookEvent

func (mr *MockIConditionJudgerMockRecorder[K, S, T]) HookEvent(key, value any) *gomock.Call

HookEvent indicates an expected call of HookEvent.

func (*MockIConditionJudgerMockRecorder[K, S, T]) IsHookExist

func (mr *MockIConditionJudgerMockRecorder[K, S, T]) IsHookExist(key any) *gomock.Call

IsHookExist indicates an expected call of IsHookExist.

func (*MockIConditionJudgerMockRecorder[K, S, T]) KeyEvent

func (mr *MockIConditionJudgerMockRecorder[K, S, T]) KeyEvent(key any) *gomock.Call

KeyEvent indicates an expected call of KeyEvent.

Jump to

Keyboard shortcuts

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