mocks

package
v0.0.0-...-ae33c56 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

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

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

func (m *MockCommand) Data() []byte

Data mocks base method.

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

func (m *MockCommand) No() byte

No mocks base method.

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

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

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDeviceIdentifier) Id

func (m *MockDeviceIdentifier) Id() uint32

Id mocks base method.

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

Status mocks base method.

type MockDeviceIdentifierMockRecorder

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

MockDeviceIdentifierMockRecorder is the mock recorder for MockDeviceIdentifier.

func (*MockDeviceIdentifierMockRecorder) Id

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFrameSender) SendFrame

func (m *MockFrameSender) SendFrame(arg0, arg1 []byte) (int, error)

SendFrame mocks base method.

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.

Jump to

Keyboard shortcuts

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