Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCommand
- type MockCommandMockRecorder
- func (mr *MockCommandMockRecorder) Data() *gomock.Call
- func (mr *MockCommandMockRecorder) Description() *gomock.Call
- func (mr *MockCommandMockRecorder) No() *gomock.Call
- func (mr *MockCommandMockRecorder) SetData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Status() *gomock.Call
- type MockCommandStatus
- type MockCommandStatusMockRecorder
- type MockDeviceIdentifier
- func (m *MockDeviceIdentifier) EXPECT() *MockDeviceIdentifierMockRecorder
- func (m *MockDeviceIdentifier) Id() uint32
- func (m *MockDeviceIdentifier) ManufacturerId() byte
- func (m *MockDeviceIdentifier) MfrsDeviceType() byte
- func (m *MockDeviceIdentifier) PollAddress() byte
- func (m *MockDeviceIdentifier) Preambles() byte
- func (m *MockDeviceIdentifier) SetStatus(arg0 status.FieldDeviceStatus)
- func (m *MockDeviceIdentifier) Status() status.FieldDeviceStatus
- type MockDeviceIdentifierMockRecorder
- func (mr *MockDeviceIdentifierMockRecorder) Id() *gomock.Call
- func (mr *MockDeviceIdentifierMockRecorder) ManufacturerId() *gomock.Call
- func (mr *MockDeviceIdentifierMockRecorder) MfrsDeviceType() *gomock.Call
- func (mr *MockDeviceIdentifierMockRecorder) PollAddress() *gomock.Call
- func (mr *MockDeviceIdentifierMockRecorder) Preambles() *gomock.Call
- func (mr *MockDeviceIdentifierMockRecorder) SetStatus(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceIdentifierMockRecorder) Status() *gomock.Call
- type MockFrameSender
- type MockFrameSenderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommand ¶
type MockCommand struct {
// contains filtered or unexported fields
}
MockCommand is a mock of Command interface.
func NewMockCommand ¶
func NewMockCommand(ctrl *gomock.Controller) *MockCommand
NewMockCommand creates a new mock instance.
func (*MockCommand) Description ¶
func (m *MockCommand) Description() string
Description mocks base method.
func (*MockCommand) EXPECT ¶
func (m *MockCommand) EXPECT() *MockCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommand) SetData ¶
func (m *MockCommand) SetData(arg0 []byte, arg1 hart.CommandStatus) bool
SetData mocks base method.
func (*MockCommand) Status ¶
func (m *MockCommand) Status() hart.CommandStatus
Status mocks base method.
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand.
func (*MockCommandMockRecorder) Data ¶
func (mr *MockCommandMockRecorder) Data() *gomock.Call
Data indicates an expected call of Data.
func (*MockCommandMockRecorder) Description ¶
func (mr *MockCommandMockRecorder) Description() *gomock.Call
Description indicates an expected call of Description.
func (*MockCommandMockRecorder) No ¶
func (mr *MockCommandMockRecorder) No() *gomock.Call
No indicates an expected call of No.
func (*MockCommandMockRecorder) SetData ¶
func (mr *MockCommandMockRecorder) SetData(arg0, arg1 interface{}) *gomock.Call
SetData indicates an expected call of SetData.
func (*MockCommandMockRecorder) Status ¶
func (mr *MockCommandMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
type MockCommandStatus ¶
type MockCommandStatus struct {
// contains filtered or unexported fields
}
MockCommandStatus is a mock of CommandStatus interface.
func NewMockCommandStatus ¶
func NewMockCommandStatus(ctrl *gomock.Controller) *MockCommandStatus
NewMockCommandStatus creates a new mock instance.
func (*MockCommandStatus) EXPECT ¶
func (m *MockCommandStatus) EXPECT() *MockCommandStatusMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommandStatus) IsError ¶
func (m *MockCommandStatus) IsError() bool
IsError mocks base method.
func (*MockCommandStatus) IsWarning ¶
func (m *MockCommandStatus) IsWarning() bool
IsWarning mocks base method.
func (*MockCommandStatus) String ¶
func (m *MockCommandStatus) String() string
String mocks base method.
type MockCommandStatusMockRecorder ¶
type MockCommandStatusMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandStatusMockRecorder is the mock recorder for MockCommandStatus.
func (*MockCommandStatusMockRecorder) IsError ¶
func (mr *MockCommandStatusMockRecorder) IsError() *gomock.Call
IsError indicates an expected call of IsError.
func (*MockCommandStatusMockRecorder) IsWarning ¶
func (mr *MockCommandStatusMockRecorder) IsWarning() *gomock.Call
IsWarning indicates an expected call of IsWarning.
func (*MockCommandStatusMockRecorder) String ¶
func (mr *MockCommandStatusMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockDeviceIdentifier ¶
type MockDeviceIdentifier struct {
// contains filtered or unexported fields
}
MockDeviceIdentifier is a mock of DeviceIdentifier interface.
func NewMockDeviceIdentifier ¶
func NewMockDeviceIdentifier(ctrl *gomock.Controller) *MockDeviceIdentifier
NewMockDeviceIdentifier creates a new mock instance.
func (*MockDeviceIdentifier) EXPECT ¶
func (m *MockDeviceIdentifier) EXPECT() *MockDeviceIdentifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeviceIdentifier) ManufacturerId ¶
func (m *MockDeviceIdentifier) ManufacturerId() byte
ManufacturerId mocks base method.
func (*MockDeviceIdentifier) MfrsDeviceType ¶
func (m *MockDeviceIdentifier) MfrsDeviceType() byte
MfrsDeviceType mocks base method.
func (*MockDeviceIdentifier) PollAddress ¶
func (m *MockDeviceIdentifier) PollAddress() byte
PollAddress mocks base method.
func (*MockDeviceIdentifier) Preambles ¶
func (m *MockDeviceIdentifier) Preambles() byte
Preambles mocks base method.
func (*MockDeviceIdentifier) SetStatus ¶
func (m *MockDeviceIdentifier) SetStatus(arg0 status.FieldDeviceStatus)
SetStatus mocks base method.
func (*MockDeviceIdentifier) Status ¶
func (m *MockDeviceIdentifier) Status() status.FieldDeviceStatus
Status mocks base method.
type MockDeviceIdentifierMockRecorder ¶
type MockDeviceIdentifierMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceIdentifierMockRecorder is the mock recorder for MockDeviceIdentifier.
func (*MockDeviceIdentifierMockRecorder) Id ¶
func (mr *MockDeviceIdentifierMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockDeviceIdentifierMockRecorder) ManufacturerId ¶
func (mr *MockDeviceIdentifierMockRecorder) ManufacturerId() *gomock.Call
ManufacturerId indicates an expected call of ManufacturerId.
func (*MockDeviceIdentifierMockRecorder) MfrsDeviceType ¶
func (mr *MockDeviceIdentifierMockRecorder) MfrsDeviceType() *gomock.Call
MfrsDeviceType indicates an expected call of MfrsDeviceType.
func (*MockDeviceIdentifierMockRecorder) PollAddress ¶
func (mr *MockDeviceIdentifierMockRecorder) PollAddress() *gomock.Call
PollAddress indicates an expected call of PollAddress.
func (*MockDeviceIdentifierMockRecorder) Preambles ¶
func (mr *MockDeviceIdentifierMockRecorder) Preambles() *gomock.Call
Preambles indicates an expected call of Preambles.
func (*MockDeviceIdentifierMockRecorder) SetStatus ¶
func (mr *MockDeviceIdentifierMockRecorder) SetStatus(arg0 interface{}) *gomock.Call
SetStatus indicates an expected call of SetStatus.
func (*MockDeviceIdentifierMockRecorder) Status ¶
func (mr *MockDeviceIdentifierMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
type MockFrameSender ¶
type MockFrameSender struct {
// contains filtered or unexported fields
}
MockFrameSender is a mock of FrameSender interface.
func NewMockFrameSender ¶
func NewMockFrameSender(ctrl *gomock.Controller) *MockFrameSender
NewMockFrameSender creates a new mock instance.
func (*MockFrameSender) EXPECT ¶
func (m *MockFrameSender) EXPECT() *MockFrameSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFrameSenderMockRecorder ¶
type MockFrameSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockFrameSenderMockRecorder is the mock recorder for MockFrameSender.
func (*MockFrameSenderMockRecorder) SendFrame ¶
func (mr *MockFrameSenderMockRecorder) SendFrame(arg0, arg1 interface{}) *gomock.Call
SendFrame indicates an expected call of SendFrame.