Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Algorithm ¶
Algorithm is an autogenerated mock type for the Algorithm type
func NewAlgorithm ¶
NewAlgorithm creates a new instance of Algorithm. 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 (*Algorithm) EXPECT ¶
func (_m *Algorithm) EXPECT() *Algorithm_Expecter
type Algorithm_Expecter ¶
type Algorithm_Expecter struct {
// contains filtered or unexported fields
}
func (*Algorithm_Expecter) Run ¶
func (_e *Algorithm_Expecter) Run() *Algorithm_Run_Call
Run is a helper method to define mock.On call
func (*Algorithm_Expecter) Stop ¶
func (_e *Algorithm_Expecter) Stop() *Algorithm_Stop_Call
Stop is a helper method to define mock.On call
type Algorithm_Run_Call ¶
Algorithm_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*Algorithm_Run_Call) Return ¶
func (_c *Algorithm_Run_Call) Return(err error) *Algorithm_Run_Call
func (*Algorithm_Run_Call) Run ¶
func (_c *Algorithm_Run_Call) Run(run func()) *Algorithm_Run_Call
func (*Algorithm_Run_Call) RunAndReturn ¶
func (_c *Algorithm_Run_Call) RunAndReturn(run func() error) *Algorithm_Run_Call
type Algorithm_Stop_Call ¶
Algorithm_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*Algorithm_Stop_Call) Return ¶
func (_c *Algorithm_Stop_Call) Return(err error) *Algorithm_Stop_Call
func (*Algorithm_Stop_Call) Run ¶
func (_c *Algorithm_Stop_Call) Run(run func()) *Algorithm_Stop_Call
func (*Algorithm_Stop_Call) RunAndReturn ¶
func (_c *Algorithm_Stop_Call) RunAndReturn(run func() error) *Algorithm_Stop_Call
Click to show internal directories.
Click to hide internal directories.