Documentation ¶
Overview ¶
Package mockcanrunner is a generated GoMock package.
Index ¶
- type MockFrameReceiver
- type MockFrameReceiverMockRecorder
- type MockFrameTransmitter
- type MockFrameTransmitterMockRecorder
- type MockNode
- func (m *MockNode) Connect() (net.Conn, error)
- func (m *MockNode) Descriptor() *descriptor.Node
- func (m *MockNode) EXPECT() *MockNodeMockRecorder
- func (m *MockNode) Lock()
- func (m *MockNode) ReceivedMessage(arg0 uint32) (canrunner.ReceivedMessage, bool)
- func (m *MockNode) TransmittedMessages() []canrunner.TransmittedMessage
- func (m *MockNode) Unlock()
- type MockNodeMockRecorder
- func (mr *MockNodeMockRecorder) Connect() *gomock.Call
- func (mr *MockNodeMockRecorder) Descriptor() *gomock.Call
- func (mr *MockNodeMockRecorder) Lock() *gomock.Call
- func (mr *MockNodeMockRecorder) ReceivedMessage(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) TransmittedMessages() *gomock.Call
- func (mr *MockNodeMockRecorder) Unlock() *gomock.Call
- type MockReceivedMessage
- func (m *MockReceivedMessage) AfterReceiveHook() func(context.Context) error
- func (m *MockReceivedMessage) Descriptor() *descriptor.Message
- func (m *MockReceivedMessage) EXPECT() *MockReceivedMessageMockRecorder
- func (m *MockReceivedMessage) Frame() can.Frame
- func (m *MockReceivedMessage) MarshalFrame() (can.Frame, error)
- func (m *MockReceivedMessage) Reset()
- func (m *MockReceivedMessage) SetReceiveTime(arg0 time.Time)
- func (m *MockReceivedMessage) String() string
- func (m *MockReceivedMessage) UnmarshalFrame(arg0 can.Frame) error
- type MockReceivedMessageMockRecorder
- func (mr *MockReceivedMessageMockRecorder) AfterReceiveHook() *gomock.Call
- func (mr *MockReceivedMessageMockRecorder) Descriptor() *gomock.Call
- func (mr *MockReceivedMessageMockRecorder) Frame() *gomock.Call
- func (mr *MockReceivedMessageMockRecorder) MarshalFrame() *gomock.Call
- func (mr *MockReceivedMessageMockRecorder) Reset() *gomock.Call
- func (mr *MockReceivedMessageMockRecorder) SetReceiveTime(arg0 interface{}) *gomock.Call
- func (mr *MockReceivedMessageMockRecorder) String() *gomock.Call
- func (mr *MockReceivedMessageMockRecorder) UnmarshalFrame(arg0 interface{}) *gomock.Call
- type MockTransmittedMessage
- func (m *MockTransmittedMessage) BeforeTransmitHook() func(context.Context) error
- func (m *MockTransmittedMessage) Descriptor() *descriptor.Message
- func (m *MockTransmittedMessage) EXPECT() *MockTransmittedMessageMockRecorder
- func (m *MockTransmittedMessage) Frame() can.Frame
- func (m *MockTransmittedMessage) IsCyclicTransmissionEnabled() bool
- func (m *MockTransmittedMessage) MarshalFrame() (can.Frame, error)
- func (m *MockTransmittedMessage) Reset()
- func (m *MockTransmittedMessage) SetTransmitTime(arg0 time.Time)
- func (m *MockTransmittedMessage) String() string
- func (m *MockTransmittedMessage) TransmitEventChan() <-chan struct{}
- func (m *MockTransmittedMessage) UnmarshalFrame(arg0 can.Frame) error
- func (m *MockTransmittedMessage) WakeUpChan() <-chan struct{}
- type MockTransmittedMessageMockRecorder
- func (mr *MockTransmittedMessageMockRecorder) BeforeTransmitHook() *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) Descriptor() *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) Frame() *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) IsCyclicTransmissionEnabled() *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) MarshalFrame() *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) Reset() *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) SetTransmitTime(arg0 interface{}) *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) String() *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) TransmitEventChan() *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) UnmarshalFrame(arg0 interface{}) *gomock.Call
- func (mr *MockTransmittedMessageMockRecorder) WakeUpChan() *gomock.Call
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 ¶
func (m *MockFrameReceiver) EXPECT() *MockFrameReceiverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockFrameReceiverMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockFrameReceiverMockRecorder) Frame ¶
func (mr *MockFrameReceiverMockRecorder) Frame() *gomock.Call
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 ¶
func (m *MockFrameTransmitter) EXPECT() *MockFrameTransmitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFrameTransmitter) TransmitFrame ¶
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) 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) 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.
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 ¶
func (m *MockReceivedMessage) EXPECT() *MockReceivedMessageMockRecorder
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) 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 ¶
func (mr *MockReceivedMessageMockRecorder) Frame() *gomock.Call
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 ¶
func (mr *MockReceivedMessageMockRecorder) Reset() *gomock.Call
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 ¶
func (mr *MockReceivedMessageMockRecorder) String() *gomock.Call
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 ¶
func (m *MockTransmittedMessage) EXPECT() *MockTransmittedMessageMockRecorder
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 ¶
func (mr *MockTransmittedMessageMockRecorder) Descriptor() *gomock.Call
Descriptor indicates an expected call of Descriptor.
func (*MockTransmittedMessageMockRecorder) Frame ¶
func (mr *MockTransmittedMessageMockRecorder) Frame() *gomock.Call
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 ¶
func (mr *MockTransmittedMessageMockRecorder) Reset() *gomock.Call
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 ¶
func (mr *MockTransmittedMessageMockRecorder) String() *gomock.Call
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 ¶
func (mr *MockTransmittedMessageMockRecorder) WakeUpChan() *gomock.Call
WakeUpChan indicates an expected call of WakeUpChan.