Documentation ¶
Overview ¶
Package mock_ttime is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTime ¶
type MockTime struct {
// contains filtered or unexported fields
}
MockTime is a mock of Time interface
func NewMockTime ¶
func NewMockTime(ctrl *gomock.Controller) *MockTime
NewMockTime creates a new mock instance
func (*MockTime) EXPECT ¶
func (m *MockTime) EXPECT() *MockTimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTimeMockRecorder ¶ added in v1.17.3
type MockTimeMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeMockRecorder is the mock recorder for MockTime
func (*MockTimeMockRecorder) After ¶ added in v1.17.3
func (mr *MockTimeMockRecorder) After(arg0 interface{}) *gomock.Call
After indicates an expected call of After
func (*MockTimeMockRecorder) AfterFunc ¶ added in v1.17.3
func (mr *MockTimeMockRecorder) AfterFunc(arg0, arg1 interface{}) *gomock.Call
AfterFunc indicates an expected call of AfterFunc
func (*MockTimeMockRecorder) Now ¶ added in v1.17.3
func (mr *MockTimeMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now
func (*MockTimeMockRecorder) Sleep ¶ added in v1.17.3
func (mr *MockTimeMockRecorder) Sleep(arg0 interface{}) *gomock.Call
Sleep indicates an expected call of Sleep
type MockTimer ¶
type MockTimer struct {
// contains filtered or unexported fields
}
MockTimer is a mock of Timer interface
func NewMockTimer ¶
func NewMockTimer(ctrl *gomock.Controller) *MockTimer
NewMockTimer creates a new mock instance
func (*MockTimer) EXPECT ¶
func (m *MockTimer) EXPECT() *MockTimerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTimerMockRecorder ¶ added in v1.17.3
type MockTimerMockRecorder struct {
// contains filtered or unexported fields
}
MockTimerMockRecorder is the mock recorder for MockTimer
func (*MockTimerMockRecorder) Reset ¶ added in v1.17.3
func (mr *MockTimerMockRecorder) Reset(arg0 interface{}) *gomock.Call
Reset indicates an expected call of Reset
func (*MockTimerMockRecorder) Stop ¶ added in v1.17.3
func (mr *MockTimerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop