Documentation ¶
Overview ¶
Package evdevmock is a generated GoMock package.
Package evdevmock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDevice ¶
type MockDevice struct {
// contains filtered or unexported fields
}
MockDevice is a mock of Device interface.
func NewMockDevice ¶
func NewMockDevice(ctrl *gomock.Controller) *MockDevice
NewMockDevice creates a new mock instance.
func (*MockDevice) EXPECT ¶
func (m *MockDevice) EXPECT() *MockDeviceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDevice) Read ¶
func (m *MockDevice) Read() (*evdev.InputEvent, error)
Read mocks base method.
type MockDeviceMockRecorder ¶
type MockDeviceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceMockRecorder is the mock recorder for MockDevice.
func (*MockDeviceMockRecorder) Read ¶
func (mr *MockDeviceMockRecorder) Read() *gomock.Call
Read indicates an expected call of Read.
type MockFinder ¶
type MockFinder struct {
// contains filtered or unexported fields
}
MockFinder is a mock of Finder interface.
func NewMockFinder ¶
func NewMockFinder(ctrl *gomock.Controller) *MockFinder
NewMockFinder creates a new mock instance.
func (*MockFinder) EXPECT ¶
func (m *MockFinder) EXPECT() *MockFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFinderMockRecorder ¶
type MockFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockFinderMockRecorder is the mock recorder for MockFinder.
func (*MockFinderMockRecorder) Find ¶
func (mr *MockFinderMockRecorder) Find(phys interface{}) *gomock.Call
Find indicates an expected call of Find.