Documentation ¶
Index ¶
- type MockTimeTickSyncOperator
- type MockTimeTickSyncOperator_Channel_Call
- func (_c *MockTimeTickSyncOperator_Channel_Call) Return(_a0 types.PChannelInfo) *MockTimeTickSyncOperator_Channel_Call
- func (_c *MockTimeTickSyncOperator_Channel_Call) Run(run func()) *MockTimeTickSyncOperator_Channel_Call
- func (_c *MockTimeTickSyncOperator_Channel_Call) RunAndReturn(run func() types.PChannelInfo) *MockTimeTickSyncOperator_Channel_Call
- type MockTimeTickSyncOperator_Expecter
- func (_e *MockTimeTickSyncOperator_Expecter) Channel() *MockTimeTickSyncOperator_Channel_Call
- func (_e *MockTimeTickSyncOperator_Expecter) Sync(ctx interface{}) *MockTimeTickSyncOperator_Sync_Call
- func (_e *MockTimeTickSyncOperator_Expecter) TimeTickNotifier() *MockTimeTickSyncOperator_TimeTickNotifier_Call
- type MockTimeTickSyncOperator_Sync_Call
- func (_c *MockTimeTickSyncOperator_Sync_Call) Return() *MockTimeTickSyncOperator_Sync_Call
- func (_c *MockTimeTickSyncOperator_Sync_Call) Run(run func(ctx context.Context)) *MockTimeTickSyncOperator_Sync_Call
- func (_c *MockTimeTickSyncOperator_Sync_Call) RunAndReturn(run func(context.Context)) *MockTimeTickSyncOperator_Sync_Call
- type MockTimeTickSyncOperator_TimeTickNotifier_Call
- func (_c *MockTimeTickSyncOperator_TimeTickNotifier_Call) Return(_a0 *inspector.TimeTickNotifier) *MockTimeTickSyncOperator_TimeTickNotifier_Call
- func (_c *MockTimeTickSyncOperator_TimeTickNotifier_Call) Run(run func()) *MockTimeTickSyncOperator_TimeTickNotifier_Call
- func (_c *MockTimeTickSyncOperator_TimeTickNotifier_Call) RunAndReturn(run func() *inspector.TimeTickNotifier) *MockTimeTickSyncOperator_TimeTickNotifier_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTimeTickSyncOperator ¶
MockTimeTickSyncOperator is an autogenerated mock type for the TimeTickSyncOperator type
func NewMockTimeTickSyncOperator ¶
func NewMockTimeTickSyncOperator(t interface { mock.TestingT Cleanup(func()) }) *MockTimeTickSyncOperator
NewMockTimeTickSyncOperator creates a new instance of MockTimeTickSyncOperator. 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 (*MockTimeTickSyncOperator) Channel ¶
func (_m *MockTimeTickSyncOperator) Channel() types.PChannelInfo
Channel provides a mock function with given fields:
func (*MockTimeTickSyncOperator) EXPECT ¶
func (_m *MockTimeTickSyncOperator) EXPECT() *MockTimeTickSyncOperator_Expecter
func (*MockTimeTickSyncOperator) Sync ¶
func (_m *MockTimeTickSyncOperator) Sync(ctx context.Context)
Sync provides a mock function with given fields: ctx
func (*MockTimeTickSyncOperator) TimeTickNotifier ¶
func (_m *MockTimeTickSyncOperator) TimeTickNotifier() *inspector.TimeTickNotifier
TimeTickNotifier provides a mock function with given fields:
type MockTimeTickSyncOperator_Channel_Call ¶
MockTimeTickSyncOperator_Channel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Channel'
func (*MockTimeTickSyncOperator_Channel_Call) Return ¶
func (_c *MockTimeTickSyncOperator_Channel_Call) Return(_a0 types.PChannelInfo) *MockTimeTickSyncOperator_Channel_Call
func (*MockTimeTickSyncOperator_Channel_Call) Run ¶
func (_c *MockTimeTickSyncOperator_Channel_Call) Run(run func()) *MockTimeTickSyncOperator_Channel_Call
func (*MockTimeTickSyncOperator_Channel_Call) RunAndReturn ¶
func (_c *MockTimeTickSyncOperator_Channel_Call) RunAndReturn(run func() types.PChannelInfo) *MockTimeTickSyncOperator_Channel_Call
type MockTimeTickSyncOperator_Expecter ¶
type MockTimeTickSyncOperator_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTimeTickSyncOperator_Expecter) Channel ¶
func (_e *MockTimeTickSyncOperator_Expecter) Channel() *MockTimeTickSyncOperator_Channel_Call
Channel is a helper method to define mock.On call
func (*MockTimeTickSyncOperator_Expecter) Sync ¶
func (_e *MockTimeTickSyncOperator_Expecter) Sync(ctx interface{}) *MockTimeTickSyncOperator_Sync_Call
Sync is a helper method to define mock.On call
- ctx context.Context
func (*MockTimeTickSyncOperator_Expecter) TimeTickNotifier ¶
func (_e *MockTimeTickSyncOperator_Expecter) TimeTickNotifier() *MockTimeTickSyncOperator_TimeTickNotifier_Call
TimeTickNotifier is a helper method to define mock.On call
type MockTimeTickSyncOperator_Sync_Call ¶
MockTimeTickSyncOperator_Sync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sync'
func (*MockTimeTickSyncOperator_Sync_Call) Return ¶
func (_c *MockTimeTickSyncOperator_Sync_Call) Return() *MockTimeTickSyncOperator_Sync_Call
func (*MockTimeTickSyncOperator_Sync_Call) Run ¶
func (_c *MockTimeTickSyncOperator_Sync_Call) Run(run func(ctx context.Context)) *MockTimeTickSyncOperator_Sync_Call
func (*MockTimeTickSyncOperator_Sync_Call) RunAndReturn ¶
func (_c *MockTimeTickSyncOperator_Sync_Call) RunAndReturn(run func(context.Context)) *MockTimeTickSyncOperator_Sync_Call
type MockTimeTickSyncOperator_TimeTickNotifier_Call ¶
MockTimeTickSyncOperator_TimeTickNotifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeTickNotifier'
func (*MockTimeTickSyncOperator_TimeTickNotifier_Call) Run ¶
func (_c *MockTimeTickSyncOperator_TimeTickNotifier_Call) Run(run func()) *MockTimeTickSyncOperator_TimeTickNotifier_Call
func (*MockTimeTickSyncOperator_TimeTickNotifier_Call) RunAndReturn ¶
func (_c *MockTimeTickSyncOperator_TimeTickNotifier_Call) RunAndReturn(run func() *inspector.TimeTickNotifier) *MockTimeTickSyncOperator_TimeTickNotifier_Call