Documentation ¶
Overview ¶
Package mock_time is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTimeHelper ¶
type MockTimeHelper struct {
// contains filtered or unexported fields
}
MockTimeHelper is a mock of TimeHelper interface.
func NewMockTimeHelper ¶
func NewMockTimeHelper(ctrl *gomock.Controller) *MockTimeHelper
NewMockTimeHelper creates a new mock instance.
func (*MockTimeHelper) EXPECT ¶
func (m *MockTimeHelper) EXPECT() *MockTimeHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTimeHelper) SleepOrWaitForContextGetCancelled ¶
func (m *MockTimeHelper) SleepOrWaitForContextGetCancelled(ctx context.Context, delay time.Duration)
SleepOrWaitForContextGetCancelled mocks base method.
func (*MockTimeHelper) WaitUntilCancelled ¶
func (m *MockTimeHelper) WaitUntilCancelled(ctx context.Context)
WaitUntilCancelled mocks base method.
type MockTimeHelperMockRecorder ¶
type MockTimeHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeHelperMockRecorder is the mock recorder for MockTimeHelper.
func (*MockTimeHelperMockRecorder) SleepOrWaitForContextGetCancelled ¶
func (mr *MockTimeHelperMockRecorder) SleepOrWaitForContextGetCancelled(ctx, delay interface{}) *gomock.Call
SleepOrWaitForContextGetCancelled indicates an expected call of SleepOrWaitForContextGetCancelled.
func (*MockTimeHelperMockRecorder) WaitUntilCancelled ¶
func (mr *MockTimeHelperMockRecorder) WaitUntilCancelled(ctx interface{}) *gomock.Call
WaitUntilCancelled indicates an expected call of WaitUntilCancelled.
Click to show internal directories.
Click to hide internal directories.