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