Documentation
¶
Index ¶
- type MockEnqueuer
- type MockEnqueuer_Enqueue_Call
- type MockEnqueuer_Expecter
- type MockMediaServerDispatcher
- type MockMediaServerDispatcher_Expecter
- type MockMediaServerDispatcher_RefreshAll_Call
- func (_c *MockMediaServerDispatcher_RefreshAll_Call) Return(_a0 error) *MockMediaServerDispatcher_RefreshAll_Call
- func (_c *MockMediaServerDispatcher_RefreshAll_Call) Run(run func(ctx context.Context, libraryPath string)) *MockMediaServerDispatcher_RefreshAll_Call
- func (_c *MockMediaServerDispatcher_RefreshAll_Call) RunAndReturn(run func(context.Context, string) error) *MockMediaServerDispatcher_RefreshAll_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEnqueuer ¶
MockEnqueuer is an autogenerated mock type for the Enqueuer type
func NewMockEnqueuer ¶
func NewMockEnqueuer(t interface {
mock.TestingT
Cleanup(func())
}) *MockEnqueuer
NewMockEnqueuer creates a new instance of MockEnqueuer. 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 (*MockEnqueuer) EXPECT ¶
func (_m *MockEnqueuer) EXPECT() *MockEnqueuer_Expecter
func (*MockEnqueuer) Enqueue ¶
func (_m *MockEnqueuer) Enqueue(recordID uint32)
Enqueue provides a mock function with given fields: recordID
type MockEnqueuer_Enqueue_Call ¶
MockEnqueuer_Enqueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enqueue'
func (*MockEnqueuer_Enqueue_Call) Return ¶
func (_c *MockEnqueuer_Enqueue_Call) Return() *MockEnqueuer_Enqueue_Call
func (*MockEnqueuer_Enqueue_Call) Run ¶
func (_c *MockEnqueuer_Enqueue_Call) Run(run func(recordID uint32)) *MockEnqueuer_Enqueue_Call
func (*MockEnqueuer_Enqueue_Call) RunAndReturn ¶
func (_c *MockEnqueuer_Enqueue_Call) RunAndReturn(run func(uint32)) *MockEnqueuer_Enqueue_Call
type MockEnqueuer_Expecter ¶
type MockEnqueuer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEnqueuer_Expecter) Enqueue ¶
func (_e *MockEnqueuer_Expecter) Enqueue(recordID interface{}) *MockEnqueuer_Enqueue_Call
Enqueue is a helper method to define mock.On call
- recordID uint32
type MockMediaServerDispatcher ¶
MockMediaServerDispatcher is an autogenerated mock type for the MediaServerDispatcher type
func NewMockMediaServerDispatcher ¶
func NewMockMediaServerDispatcher(t interface {
mock.TestingT
Cleanup(func())
}) *MockMediaServerDispatcher
NewMockMediaServerDispatcher creates a new instance of MockMediaServerDispatcher. 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 (*MockMediaServerDispatcher) EXPECT ¶
func (_m *MockMediaServerDispatcher) EXPECT() *MockMediaServerDispatcher_Expecter
func (*MockMediaServerDispatcher) RefreshAll ¶
func (_m *MockMediaServerDispatcher) RefreshAll(ctx context.Context, libraryPath string) error
RefreshAll provides a mock function with given fields: ctx, libraryPath
type MockMediaServerDispatcher_Expecter ¶
type MockMediaServerDispatcher_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMediaServerDispatcher_Expecter) RefreshAll ¶
func (_e *MockMediaServerDispatcher_Expecter) RefreshAll(ctx interface{}, libraryPath interface{}) *MockMediaServerDispatcher_RefreshAll_Call
RefreshAll is a helper method to define mock.On call
- ctx context.Context
- libraryPath string
type MockMediaServerDispatcher_RefreshAll_Call ¶
MockMediaServerDispatcher_RefreshAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshAll'
func (*MockMediaServerDispatcher_RefreshAll_Call) Return ¶
func (_c *MockMediaServerDispatcher_RefreshAll_Call) Return(_a0 error) *MockMediaServerDispatcher_RefreshAll_Call
func (*MockMediaServerDispatcher_RefreshAll_Call) Run ¶
func (_c *MockMediaServerDispatcher_RefreshAll_Call) Run(run func(ctx context.Context, libraryPath string)) *MockMediaServerDispatcher_RefreshAll_Call
func (*MockMediaServerDispatcher_RefreshAll_Call) RunAndReturn ¶
func (_c *MockMediaServerDispatcher_RefreshAll_Call) RunAndReturn(run func(context.Context, string) error) *MockMediaServerDispatcher_RefreshAll_Call