mocks

package
v0.0.0-...-c5633df Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClock

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

MockClock is a mock of Clock interface.

func NewMockClock

func NewMockClock(ctrl *gomock.Controller) *MockClock

NewMockClock creates a new mock instance.

func (*MockClock) After

func (m *MockClock) After(arg0 time.Duration) <-chan time.Time

After mocks base method.

func (*MockClock) AfterFunc

func (m *MockClock) AfterFunc(arg0 time.Duration, arg1 func()) clock.Timer

AfterFunc mocks base method.

func (*MockClock) At

func (m *MockClock) At(arg0 time.Time) <-chan time.Time

At mocks base method.

func (*MockClock) AtFunc

func (m *MockClock) AtFunc(arg0 time.Time, arg1 func()) clock.Alarm

AtFunc mocks base method.

func (*MockClock) EXPECT

func (m *MockClock) EXPECT() *MockClockMockRecorder

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

func (*MockClock) NewAlarm

func (m *MockClock) NewAlarm(arg0 time.Time) clock.Alarm

NewAlarm mocks base method.

func (*MockClock) NewTimer

func (m *MockClock) NewTimer(arg0 time.Duration) clock.Timer

NewTimer mocks base method.

func (*MockClock) Now

func (m *MockClock) Now() time.Time

Now mocks base method.

type MockClockAfterCall

type MockClockAfterCall struct {
	*gomock.Call
}

MockClockAfterCall wrap *gomock.Call

func (*MockClockAfterCall) Do

Do rewrite *gomock.Call.Do

func (*MockClockAfterCall) DoAndReturn

func (c *MockClockAfterCall) DoAndReturn(f func(time.Duration) <-chan time.Time) *MockClockAfterCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClockAfterCall) Return

func (c *MockClockAfterCall) Return(arg0 <-chan time.Time) *MockClockAfterCall

Return rewrite *gomock.Call.Return

type MockClockAfterFuncCall

type MockClockAfterFuncCall struct {
	*gomock.Call
}

MockClockAfterFuncCall wrap *gomock.Call

func (*MockClockAfterFuncCall) Do

Do rewrite *gomock.Call.Do

func (*MockClockAfterFuncCall) DoAndReturn

func (c *MockClockAfterFuncCall) DoAndReturn(f func(time.Duration, func()) clock.Timer) *MockClockAfterFuncCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClockAfterFuncCall) Return

Return rewrite *gomock.Call.Return

type MockClockAtCall

type MockClockAtCall struct {
	*gomock.Call
}

MockClockAtCall wrap *gomock.Call

func (*MockClockAtCall) Do

func (c *MockClockAtCall) Do(f func(time.Time) <-chan time.Time) *MockClockAtCall

Do rewrite *gomock.Call.Do

func (*MockClockAtCall) DoAndReturn

func (c *MockClockAtCall) DoAndReturn(f func(time.Time) <-chan time.Time) *MockClockAtCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClockAtCall) Return

func (c *MockClockAtCall) Return(arg0 <-chan time.Time) *MockClockAtCall

Return rewrite *gomock.Call.Return

type MockClockAtFuncCall

type MockClockAtFuncCall struct {
	*gomock.Call
}

MockClockAtFuncCall wrap *gomock.Call

func (*MockClockAtFuncCall) Do

func (c *MockClockAtFuncCall) Do(f func(time.Time, func()) clock.Alarm) *MockClockAtFuncCall

Do rewrite *gomock.Call.Do

func (*MockClockAtFuncCall) DoAndReturn

func (c *MockClockAtFuncCall) DoAndReturn(f func(time.Time, func()) clock.Alarm) *MockClockAtFuncCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClockAtFuncCall) Return

Return rewrite *gomock.Call.Return

type MockClockMockRecorder

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

MockClockMockRecorder is the mock recorder for MockClock.

func (*MockClockMockRecorder) After

func (mr *MockClockMockRecorder) After(arg0 any) *MockClockAfterCall

After indicates an expected call of After.

func (*MockClockMockRecorder) AfterFunc

func (mr *MockClockMockRecorder) AfterFunc(arg0, arg1 any) *MockClockAfterFuncCall

AfterFunc indicates an expected call of AfterFunc.

func (*MockClockMockRecorder) At

At indicates an expected call of At.

func (*MockClockMockRecorder) AtFunc

func (mr *MockClockMockRecorder) AtFunc(arg0, arg1 any) *MockClockAtFuncCall

AtFunc indicates an expected call of AtFunc.

func (*MockClockMockRecorder) NewAlarm

func (mr *MockClockMockRecorder) NewAlarm(arg0 any) *MockClockNewAlarmCall

NewAlarm indicates an expected call of NewAlarm.

func (*MockClockMockRecorder) NewTimer

func (mr *MockClockMockRecorder) NewTimer(arg0 any) *MockClockNewTimerCall

NewTimer indicates an expected call of NewTimer.

func (*MockClockMockRecorder) Now

Now indicates an expected call of Now.

type MockClockNewAlarmCall

type MockClockNewAlarmCall struct {
	*gomock.Call
}

MockClockNewAlarmCall wrap *gomock.Call

func (*MockClockNewAlarmCall) Do

Do rewrite *gomock.Call.Do

func (*MockClockNewAlarmCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClockNewAlarmCall) Return

Return rewrite *gomock.Call.Return

type MockClockNewTimerCall

type MockClockNewTimerCall struct {
	*gomock.Call
}

MockClockNewTimerCall wrap *gomock.Call

func (*MockClockNewTimerCall) Do

Do rewrite *gomock.Call.Do

func (*MockClockNewTimerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClockNewTimerCall) Return

Return rewrite *gomock.Call.Return

type MockClockNowCall

type MockClockNowCall struct {
	*gomock.Call
}

MockClockNowCall wrap *gomock.Call

func (*MockClockNowCall) Do

func (c *MockClockNowCall) Do(f func() time.Time) *MockClockNowCall

Do rewrite *gomock.Call.Do

func (*MockClockNowCall) DoAndReturn

func (c *MockClockNowCall) DoAndReturn(f func() time.Time) *MockClockNowCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClockNowCall) Return

func (c *MockClockNowCall) Return(arg0 time.Time) *MockClockNowCall

Return rewrite *gomock.Call.Return

type MockTerminal

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

MockTerminal is a mock of Terminal interface.

func NewMockTerminal

func NewMockTerminal(ctrl *gomock.Controller) *MockTerminal

NewMockTerminal creates a new mock instance.

func (*MockTerminal) EXPECT

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

func (*MockTerminal) Width

func (m *MockTerminal) Width() int

Width mocks base method.

type MockTerminalMockRecorder

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

MockTerminalMockRecorder is the mock recorder for MockTerminal.

func (*MockTerminalMockRecorder) Width

Width indicates an expected call of Width.

type MockTerminalWidthCall

type MockTerminalWidthCall struct {
	*gomock.Call
}

MockTerminalWidthCall wrap *gomock.Call

func (*MockTerminalWidthCall) Do

Do rewrite *gomock.Call.Do

func (*MockTerminalWidthCall) DoAndReturn

func (c *MockTerminalWidthCall) DoAndReturn(f func() int) *MockTerminalWidthCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTerminalWidthCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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