mocktest

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForTextSessionManager

type ForTextSessionManager struct {
	mock.Mock
}

ForTextSessionManager is an autogenerated mock type for the ForTextSessionManager type

func NewForTextSessionManager

func NewForTextSessionManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *ForTextSessionManager

NewForTextSessionManager creates a new instance of ForTextSessionManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ForTextSessionManager) EXPECT

func (*ForTextSessionManager) IPCProcessErrorNotify

func (_mock *ForTextSessionManager) IPCProcessErrorNotify(err error)

IPCProcessErrorNotify provides a mock function for the type ForTextSessionManager

func (*ForTextSessionManager) SessionIdleNotify

func (_mock *ForTextSessionManager) SessionIdleNotify()

SessionIdleNotify provides a mock function for the type ForTextSessionManager

type ForTextSessionManager_Expecter

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

func (*ForTextSessionManager_Expecter) IPCProcessErrorNotify

func (_e *ForTextSessionManager_Expecter) IPCProcessErrorNotify(err interface{}) *ForTextSessionManager_IPCProcessErrorNotify_Call

IPCProcessErrorNotify is a helper method to define mock.On call

  • err error

func (*ForTextSessionManager_Expecter) SessionIdleNotify

SessionIdleNotify is a helper method to define mock.On call

type ForTextSessionManager_IPCProcessErrorNotify_Call

type ForTextSessionManager_IPCProcessErrorNotify_Call struct {
	*mock.Call
}

ForTextSessionManager_IPCProcessErrorNotify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IPCProcessErrorNotify'

func (*ForTextSessionManager_IPCProcessErrorNotify_Call) Return

func (*ForTextSessionManager_IPCProcessErrorNotify_Call) Run

func (*ForTextSessionManager_IPCProcessErrorNotify_Call) RunAndReturn

type ForTextSessionManager_SessionIdleNotify_Call

type ForTextSessionManager_SessionIdleNotify_Call struct {
	*mock.Call
}

ForTextSessionManager_SessionIdleNotify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SessionIdleNotify'

func (*ForTextSessionManager_SessionIdleNotify_Call) Return

func (*ForTextSessionManager_SessionIdleNotify_Call) Run

func (*ForTextSessionManager_SessionIdleNotify_Call) RunAndReturn

Jump to

Keyboard shortcuts

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