Documentation ¶
Overview ¶
Package mocksocketcan is a generated GoMock package.
Index ¶
- type Mockfile
- func (m *Mockfile) Close() error
- func (m *Mockfile) EXPECT() *MockfileMockRecorder
- func (m *Mockfile) Read(arg0 []byte) (int, error)
- func (m *Mockfile) SetDeadline(arg0 time.Time) error
- func (m *Mockfile) SetReadDeadline(arg0 time.Time) error
- func (m *Mockfile) SetWriteDeadline(arg0 time.Time) error
- func (m *Mockfile) Write(arg0 []byte) (int, error)
- type MockfileMockRecorder
- func (mr *MockfileMockRecorder) Close() *gomock.Call
- func (mr *MockfileMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockfileMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockfileMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockfileMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockfileMockRecorder) Write(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockfile ¶
type Mockfile struct {
// contains filtered or unexported fields
}
Mockfile is a mock of file interface.
func NewMockfile ¶
func NewMockfile(ctrl *gomock.Controller) *Mockfile
NewMockfile creates a new mock instance.
func (*Mockfile) EXPECT ¶
func (m *Mockfile) EXPECT() *MockfileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockfile) SetDeadline ¶
SetDeadline mocks base method.
func (*Mockfile) SetReadDeadline ¶
SetReadDeadline mocks base method.
func (*Mockfile) SetWriteDeadline ¶
SetWriteDeadline mocks base method.
type MockfileMockRecorder ¶
type MockfileMockRecorder struct {
// contains filtered or unexported fields
}
MockfileMockRecorder is the mock recorder for Mockfile.
func (*MockfileMockRecorder) Close ¶
func (mr *MockfileMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockfileMockRecorder) Read ¶
func (mr *MockfileMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockfileMockRecorder) SetDeadline ¶
func (mr *MockfileMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
SetDeadline indicates an expected call of SetDeadline.
func (*MockfileMockRecorder) SetReadDeadline ¶
func (mr *MockfileMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
SetReadDeadline indicates an expected call of SetReadDeadline.
func (*MockfileMockRecorder) SetWriteDeadline ¶
func (mr *MockfileMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
SetWriteDeadline indicates an expected call of SetWriteDeadline.
func (*MockfileMockRecorder) Write ¶
func (mr *MockfileMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.