Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClock ¶
type MockClock struct {
// contains filtered or unexported fields
}
MockClock is a mock of Clock interface.
func NewMockClock ¶
func NewMockClock(ctrl *gomock.Controller) *MockClock
NewMockClock creates a new mock instance.
func (*MockClock) EXPECT ¶
func (m *MockClock) EXPECT() *MockClockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClockMockRecorder ¶
type MockClockMockRecorder struct {
// contains filtered or unexported fields
}
MockClockMockRecorder is the mock recorder for MockClock.
func (*MockClockMockRecorder) Unix ¶
func (mr *MockClockMockRecorder) Unix() *gomock.Call
Unix indicates an expected call of Unix.
type MockHeater ¶
type MockHeater struct {
// contains filtered or unexported fields
}
MockHeater is a mock of Heater interface.
func NewMockHeater ¶
func NewMockHeater(ctrl *gomock.Controller) *MockHeater
NewMockHeater creates a new mock instance.
func (*MockHeater) EXPECT ¶
func (m *MockHeater) EXPECT() *MockHeaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHeater) SetPower ¶
func (m *MockHeater) SetPower(arg0 int) error
SetPower mocks base method.
type MockHeaterMockRecorder ¶
type MockHeaterMockRecorder struct {
// contains filtered or unexported fields
}
MockHeaterMockRecorder is the mock recorder for MockHeater.
func (*MockHeaterMockRecorder) ID ¶
func (mr *MockHeaterMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockHeaterMockRecorder) SetPower ¶
func (mr *MockHeaterMockRecorder) SetPower(arg0 interface{}) *gomock.Call
SetPower indicates an expected call of SetPower.
type MockOutput ¶
type MockOutput struct {
// contains filtered or unexported fields
}
MockOutput is a mock of Output interface.
func NewMockOutput ¶
func NewMockOutput(ctrl *gomock.Controller) *MockOutput
NewMockOutput creates a new mock instance.
func (*MockOutput) EXPECT ¶
func (m *MockOutput) EXPECT() *MockOutputMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOutputMockRecorder ¶
type MockOutputMockRecorder struct {
// contains filtered or unexported fields
}
MockOutputMockRecorder is the mock recorder for MockOutput.
func (*MockOutputMockRecorder) ID ¶
func (mr *MockOutputMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockOutputMockRecorder) Set ¶
func (mr *MockOutputMockRecorder) Set(arg0 interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockSensor ¶
type MockSensor struct {
// contains filtered or unexported fields
}
MockSensor is a mock of Sensor interface.
func NewMockSensor ¶
func NewMockSensor(ctrl *gomock.Controller) *MockSensor
NewMockSensor creates a new mock instance.
func (*MockSensor) EXPECT ¶
func (m *MockSensor) EXPECT() *MockSensorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSensor) Temperature ¶
func (m *MockSensor) Temperature() (float64, error)
Temperature mocks base method.
type MockSensorMockRecorder ¶
type MockSensorMockRecorder struct {
// contains filtered or unexported fields
}
MockSensorMockRecorder is the mock recorder for MockSensor.
func (*MockSensorMockRecorder) ID ¶
func (mr *MockSensorMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockSensorMockRecorder) Temperature ¶
func (mr *MockSensorMockRecorder) Temperature() *gomock.Call
Temperature indicates an expected call of Temperature.