mock_keyboard

package
v0.0.0-...-a40c5cd Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_keyboard is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockReader

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

MockReader is a mock of Reader interface

func NewMockReader

func NewMockReader(ctrl *gomock.Controller) *MockReader

NewMockReader creates a new mock instance

func (*MockReader) EXPECT

func (m *MockReader) EXPECT() *MockReaderMockRecorder

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

func (*MockReader) GetKeyPress

func (m *MockReader) GetKeyPress(cb func(uint8))

GetKeyPress mocks base method

func (*MockReader) IsPressed

func (m *MockReader) IsPressed(key uint8) bool

IsPressed mocks base method

type MockReaderMockRecorder

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

MockReaderMockRecorder is the mock recorder for MockReader

func (*MockReaderMockRecorder) GetKeyPress

func (mr *MockReaderMockRecorder) GetKeyPress(cb interface{}) *gomock.Call

GetKeyPress indicates an expected call of GetKeyPress

func (*MockReaderMockRecorder) IsPressed

func (mr *MockReaderMockRecorder) IsPressed(key interface{}) *gomock.Call

IsPressed indicates an expected call of IsPressed

Jump to

Keyboard shortcuts

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