mock_inspector

package
v0.10.3-0...-8fe6c1c Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTimeTickSyncOperator

type MockTimeTickSyncOperator struct {
	mock.Mock
}

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

Channel provides a mock function with given fields:

func (*MockTimeTickSyncOperator) EXPECT

func (*MockTimeTickSyncOperator) Sync

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

type MockTimeTickSyncOperator_Channel_Call struct {
	*mock.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 (*MockTimeTickSyncOperator_Channel_Call) Run

func (*MockTimeTickSyncOperator_Channel_Call) RunAndReturn

type MockTimeTickSyncOperator_Expecter

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

func (*MockTimeTickSyncOperator_Expecter) Channel

Channel is a helper method to define mock.On call

func (*MockTimeTickSyncOperator_Expecter) Sync

Sync is a helper method to define mock.On call

  • ctx context.Context

func (*MockTimeTickSyncOperator_Expecter) TimeTickNotifier

TimeTickNotifier is a helper method to define mock.On call

type MockTimeTickSyncOperator_Sync_Call

type MockTimeTickSyncOperator_Sync_Call struct {
	*mock.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 (*MockTimeTickSyncOperator_Sync_Call) Run

func (*MockTimeTickSyncOperator_Sync_Call) RunAndReturn

type MockTimeTickSyncOperator_TimeTickNotifier_Call

type MockTimeTickSyncOperator_TimeTickNotifier_Call struct {
	*mock.Call
}

MockTimeTickSyncOperator_TimeTickNotifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeTickNotifier'

func (*MockTimeTickSyncOperator_TimeTickNotifier_Call) Return

func (*MockTimeTickSyncOperator_TimeTickNotifier_Call) Run

func (*MockTimeTickSyncOperator_TimeTickNotifier_Call) RunAndReturn

Jump to

Keyboard shortcuts

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