mockcanrunner

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mockcanrunner is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFrameReceiver

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

MockFrameReceiver is a mock of FrameReceiver interface.

func NewMockFrameReceiver

func NewMockFrameReceiver(ctrl *gomock.Controller) *MockFrameReceiver

NewMockFrameReceiver creates a new mock instance.

func (*MockFrameReceiver) EXPECT

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

func (*MockFrameReceiver) Err

func (m *MockFrameReceiver) Err() error

Err mocks base method.

func (*MockFrameReceiver) Frame

func (m *MockFrameReceiver) Frame() can.Frame

Frame mocks base method.

func (*MockFrameReceiver) Receive

func (m *MockFrameReceiver) Receive() bool

Receive mocks base method.

type MockFrameReceiverMockRecorder

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

MockFrameReceiverMockRecorder is the mock recorder for MockFrameReceiver.

func (*MockFrameReceiverMockRecorder) Err

Err indicates an expected call of Err.

func (*MockFrameReceiverMockRecorder) Frame

Frame indicates an expected call of Frame.

func (*MockFrameReceiverMockRecorder) Receive

func (mr *MockFrameReceiverMockRecorder) Receive() *gomock.Call

Receive indicates an expected call of Receive.

type MockFrameTransmitter

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

MockFrameTransmitter is a mock of FrameTransmitter interface.

func NewMockFrameTransmitter

func NewMockFrameTransmitter(ctrl *gomock.Controller) *MockFrameTransmitter

NewMockFrameTransmitter creates a new mock instance.

func (*MockFrameTransmitter) EXPECT

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

func (*MockFrameTransmitter) TransmitFrame

func (m *MockFrameTransmitter) TransmitFrame(arg0 context.Context, arg1 can.Frame) error

TransmitFrame mocks base method.

type MockFrameTransmitterMockRecorder

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

MockFrameTransmitterMockRecorder is the mock recorder for MockFrameTransmitter.

func (*MockFrameTransmitterMockRecorder) TransmitFrame

func (mr *MockFrameTransmitterMockRecorder) TransmitFrame(arg0, arg1 interface{}) *gomock.Call

TransmitFrame indicates an expected call of TransmitFrame.

type MockNode

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

MockNode is a mock of Node interface.

func NewMockNode

func NewMockNode(ctrl *gomock.Controller) *MockNode

NewMockNode creates a new mock instance.

func (*MockNode) Connect

func (m *MockNode) Connect() (net.Conn, error)

Connect mocks base method.

func (*MockNode) Descriptor

func (m *MockNode) Descriptor() *descriptor.Node

Descriptor mocks base method.

func (*MockNode) EXPECT

func (m *MockNode) EXPECT() *MockNodeMockRecorder

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

func (*MockNode) Lock

func (m *MockNode) Lock()

Lock mocks base method.

func (*MockNode) ReceivedMessage

func (m *MockNode) ReceivedMessage(arg0 uint32) (canrunner.ReceivedMessage, bool)

ReceivedMessage mocks base method.

func (*MockNode) TransmittedMessages

func (m *MockNode) TransmittedMessages() []canrunner.TransmittedMessage

TransmittedMessages mocks base method.

func (*MockNode) Unlock

func (m *MockNode) Unlock()

Unlock mocks base method.

type MockNodeMockRecorder

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

MockNodeMockRecorder is the mock recorder for MockNode.

func (*MockNodeMockRecorder) Connect

func (mr *MockNodeMockRecorder) Connect() *gomock.Call

Connect indicates an expected call of Connect.

func (*MockNodeMockRecorder) Descriptor

func (mr *MockNodeMockRecorder) Descriptor() *gomock.Call

Descriptor indicates an expected call of Descriptor.

func (*MockNodeMockRecorder) Lock

func (mr *MockNodeMockRecorder) Lock() *gomock.Call

Lock indicates an expected call of Lock.

func (*MockNodeMockRecorder) ReceivedMessage

func (mr *MockNodeMockRecorder) ReceivedMessage(arg0 interface{}) *gomock.Call

ReceivedMessage indicates an expected call of ReceivedMessage.

func (*MockNodeMockRecorder) TransmittedMessages

func (mr *MockNodeMockRecorder) TransmittedMessages() *gomock.Call

TransmittedMessages indicates an expected call of TransmittedMessages.

func (*MockNodeMockRecorder) Unlock

func (mr *MockNodeMockRecorder) Unlock() *gomock.Call

Unlock indicates an expected call of Unlock.

type MockReceivedMessage

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

MockReceivedMessage is a mock of ReceivedMessage interface.

func NewMockReceivedMessage

func NewMockReceivedMessage(ctrl *gomock.Controller) *MockReceivedMessage

NewMockReceivedMessage creates a new mock instance.

func (*MockReceivedMessage) AfterReceiveHook

func (m *MockReceivedMessage) AfterReceiveHook() func(context.Context) error

AfterReceiveHook mocks base method.

func (*MockReceivedMessage) Descriptor

func (m *MockReceivedMessage) Descriptor() *descriptor.Message

Descriptor mocks base method.

func (*MockReceivedMessage) EXPECT

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

func (*MockReceivedMessage) Frame

func (m *MockReceivedMessage) Frame() can.Frame

Frame mocks base method.

func (*MockReceivedMessage) MarshalFrame

func (m *MockReceivedMessage) MarshalFrame() (can.Frame, error)

MarshalFrame mocks base method.

func (*MockReceivedMessage) Reset

func (m *MockReceivedMessage) Reset()

Reset mocks base method.

func (*MockReceivedMessage) SetReceiveTime

func (m *MockReceivedMessage) SetReceiveTime(arg0 time.Time)

SetReceiveTime mocks base method.

func (*MockReceivedMessage) String

func (m *MockReceivedMessage) String() string

String mocks base method.

func (*MockReceivedMessage) UnmarshalFrame

func (m *MockReceivedMessage) UnmarshalFrame(arg0 can.Frame) error

UnmarshalFrame mocks base method.

type MockReceivedMessageMockRecorder

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

MockReceivedMessageMockRecorder is the mock recorder for MockReceivedMessage.

func (*MockReceivedMessageMockRecorder) AfterReceiveHook

func (mr *MockReceivedMessageMockRecorder) AfterReceiveHook() *gomock.Call

AfterReceiveHook indicates an expected call of AfterReceiveHook.

func (*MockReceivedMessageMockRecorder) Descriptor

func (mr *MockReceivedMessageMockRecorder) Descriptor() *gomock.Call

Descriptor indicates an expected call of Descriptor.

func (*MockReceivedMessageMockRecorder) Frame

Frame indicates an expected call of Frame.

func (*MockReceivedMessageMockRecorder) MarshalFrame

func (mr *MockReceivedMessageMockRecorder) MarshalFrame() *gomock.Call

MarshalFrame indicates an expected call of MarshalFrame.

func (*MockReceivedMessageMockRecorder) Reset

Reset indicates an expected call of Reset.

func (*MockReceivedMessageMockRecorder) SetReceiveTime

func (mr *MockReceivedMessageMockRecorder) SetReceiveTime(arg0 interface{}) *gomock.Call

SetReceiveTime indicates an expected call of SetReceiveTime.

func (*MockReceivedMessageMockRecorder) String

String indicates an expected call of String.

func (*MockReceivedMessageMockRecorder) UnmarshalFrame

func (mr *MockReceivedMessageMockRecorder) UnmarshalFrame(arg0 interface{}) *gomock.Call

UnmarshalFrame indicates an expected call of UnmarshalFrame.

type MockTransmittedMessage

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

MockTransmittedMessage is a mock of TransmittedMessage interface.

func NewMockTransmittedMessage

func NewMockTransmittedMessage(ctrl *gomock.Controller) *MockTransmittedMessage

NewMockTransmittedMessage creates a new mock instance.

func (*MockTransmittedMessage) BeforeTransmitHook

func (m *MockTransmittedMessage) BeforeTransmitHook() func(context.Context) error

BeforeTransmitHook mocks base method.

func (*MockTransmittedMessage) Descriptor

func (m *MockTransmittedMessage) Descriptor() *descriptor.Message

Descriptor mocks base method.

func (*MockTransmittedMessage) EXPECT

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

func (*MockTransmittedMessage) Frame

func (m *MockTransmittedMessage) Frame() can.Frame

Frame mocks base method.

func (*MockTransmittedMessage) IsCyclicTransmissionEnabled

func (m *MockTransmittedMessage) IsCyclicTransmissionEnabled() bool

IsCyclicTransmissionEnabled mocks base method.

func (*MockTransmittedMessage) MarshalFrame

func (m *MockTransmittedMessage) MarshalFrame() (can.Frame, error)

MarshalFrame mocks base method.

func (*MockTransmittedMessage) Reset

func (m *MockTransmittedMessage) Reset()

Reset mocks base method.

func (*MockTransmittedMessage) SetTransmitTime

func (m *MockTransmittedMessage) SetTransmitTime(arg0 time.Time)

SetTransmitTime mocks base method.

func (*MockTransmittedMessage) String

func (m *MockTransmittedMessage) String() string

String mocks base method.

func (*MockTransmittedMessage) TransmitEventChan

func (m *MockTransmittedMessage) TransmitEventChan() <-chan struct{}

TransmitEventChan mocks base method.

func (*MockTransmittedMessage) UnmarshalFrame

func (m *MockTransmittedMessage) UnmarshalFrame(arg0 can.Frame) error

UnmarshalFrame mocks base method.

func (*MockTransmittedMessage) WakeUpChan

func (m *MockTransmittedMessage) WakeUpChan() <-chan struct{}

WakeUpChan mocks base method.

type MockTransmittedMessageMockRecorder

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

MockTransmittedMessageMockRecorder is the mock recorder for MockTransmittedMessage.

func (*MockTransmittedMessageMockRecorder) BeforeTransmitHook

func (mr *MockTransmittedMessageMockRecorder) BeforeTransmitHook() *gomock.Call

BeforeTransmitHook indicates an expected call of BeforeTransmitHook.

func (*MockTransmittedMessageMockRecorder) Descriptor

Descriptor indicates an expected call of Descriptor.

func (*MockTransmittedMessageMockRecorder) Frame

Frame indicates an expected call of Frame.

func (*MockTransmittedMessageMockRecorder) IsCyclicTransmissionEnabled

func (mr *MockTransmittedMessageMockRecorder) IsCyclicTransmissionEnabled() *gomock.Call

IsCyclicTransmissionEnabled indicates an expected call of IsCyclicTransmissionEnabled.

func (*MockTransmittedMessageMockRecorder) MarshalFrame

func (mr *MockTransmittedMessageMockRecorder) MarshalFrame() *gomock.Call

MarshalFrame indicates an expected call of MarshalFrame.

func (*MockTransmittedMessageMockRecorder) Reset

Reset indicates an expected call of Reset.

func (*MockTransmittedMessageMockRecorder) SetTransmitTime

func (mr *MockTransmittedMessageMockRecorder) SetTransmitTime(arg0 interface{}) *gomock.Call

SetTransmitTime indicates an expected call of SetTransmitTime.

func (*MockTransmittedMessageMockRecorder) String

String indicates an expected call of String.

func (*MockTransmittedMessageMockRecorder) TransmitEventChan

func (mr *MockTransmittedMessageMockRecorder) TransmitEventChan() *gomock.Call

TransmitEventChan indicates an expected call of TransmitEventChan.

func (*MockTransmittedMessageMockRecorder) UnmarshalFrame

func (mr *MockTransmittedMessageMockRecorder) UnmarshalFrame(arg0 interface{}) *gomock.Call

UnmarshalFrame indicates an expected call of UnmarshalFrame.

func (*MockTransmittedMessageMockRecorder) WakeUpChan

WakeUpChan indicates an expected call of WakeUpChan.

Jump to

Keyboard shortcuts

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