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 ¶
type MockTimeMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeMockRecorder is the mock recorder for MockTime
func (*MockTimeMockRecorder) After ¶
func (mr *MockTimeMockRecorder) After(arg0 interface{}) *gomock.Call
After indicates an expected call of After
func (*MockTimeMockRecorder) AfterFunc ¶
func (mr *MockTimeMockRecorder) AfterFunc(arg0, arg1 interface{}) *gomock.Call
AfterFunc indicates an expected call of AfterFunc
func (*MockTimeMockRecorder) Now ¶
func (mr *MockTimeMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now
func (*MockTimeMockRecorder) Sleep ¶
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 ¶
type MockTimerMockRecorder struct {
// contains filtered or unexported fields
}
MockTimerMockRecorder is the mock recorder for MockTimer
func (*MockTimerMockRecorder) Reset ¶
func (mr *MockTimerMockRecorder) Reset(arg0 interface{}) *gomock.Call
Reset indicates an expected call of Reset
func (*MockTimerMockRecorder) Stop ¶
func (mr *MockTimerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop