mocks

package
v0.0.0-...-89c8f47 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 License: MIT Imports: 2 Imported by: 0

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.

func (*MockClock) Unix

func (m *MockClock) Unix() int64

Unix mocks base method.

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) ID

func (m *MockHeater) ID() string

ID mocks base method.

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

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.

func (*MockOutput) ID

func (m *MockOutput) ID() string

ID mocks base method.

func (*MockOutput) Set

func (m *MockOutput) Set(arg0 bool) error

Set mocks base method.

type MockOutputMockRecorder

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

MockOutputMockRecorder is the mock recorder for MockOutput.

func (*MockOutputMockRecorder) ID

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) ID

func (m *MockSensor) ID() string

ID mocks base method.

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

ID indicates an expected call of ID.

func (*MockSensorMockRecorder) Temperature

func (mr *MockSensorMockRecorder) Temperature() *gomock.Call

Temperature indicates an expected call of Temperature.

Jump to

Keyboard shortcuts

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