mocks

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCli

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

MockCli is a mock of Cli interface.

func NewMockCli

func NewMockCli(ctrl *gomock.Controller) *MockCli

NewMockCli creates a new mock instance.

func (*MockCli) Compile

func (m *MockCli) Compile(arg0 context.Context, arg1 *commands.CompileRequest, arg2, arg3 io.Writer, arg4 commands.TaskProgressCB, arg5 bool) (*commands.CompileResponse, error)

Compile mocks base method.

func (*MockCli) CreateInstance

func (m *MockCli) CreateInstance() *commands.Instance

CreateInstance mocks base method.

func (*MockCli) EXPECT

func (m *MockCli) EXPECT() *MockCliMockRecorder

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

func (*MockCli) GetPlatforms

func (m *MockCli) GetPlatforms(arg0 *commands.PlatformListRequest) ([]*commands.Platform, error)

GetPlatforms mocks base method.

func (*MockCli) InitSettings

func (m *MockCli) InitSettings(arg0 string)

InitSettings mocks base method.

func (*MockCli) LibraryInstall

LibraryInstall mocks base method.

func (*MockCli) LibraryList

LibraryList mocks base method.

func (*MockCli) LibrarySearch

LibrarySearch mocks base method.

func (*MockCli) LibraryUninstall

func (m *MockCli) LibraryUninstall(arg0 context.Context, arg1 *commands.LibraryUninstallRequest, arg2 commands.TaskProgressCB) error

LibraryUninstall mocks base method.

func (*MockCli) PlatformInstall

PlatformInstall mocks base method.

func (*MockCli) PlatformSearch

PlatformSearch mocks base method.

func (*MockCli) PlatformUninstall

PlatformUninstall mocks base method.

func (*MockCli) UpdateIndex

UpdateIndex mocks base method.

func (*MockCli) UpdateLibrariesIndex

func (m *MockCli) UpdateLibrariesIndex(arg0 context.Context, arg1 *commands.UpdateLibrariesIndexRequest, arg2 commands.DownloadProgressCB) error

UpdateLibrariesIndex mocks base method.

func (*MockCli) Version

func (m *MockCli) Version() string

Version mocks base method.

type MockCliMockRecorder

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

MockCliMockRecorder is the mock recorder for MockCli.

func (*MockCliMockRecorder) Compile

func (mr *MockCliMockRecorder) Compile(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Compile indicates an expected call of Compile.

func (*MockCliMockRecorder) CreateInstance

func (mr *MockCliMockRecorder) CreateInstance() *gomock.Call

CreateInstance indicates an expected call of CreateInstance.

func (*MockCliMockRecorder) GetPlatforms

func (mr *MockCliMockRecorder) GetPlatforms(arg0 interface{}) *gomock.Call

GetPlatforms indicates an expected call of GetPlatforms.

func (*MockCliMockRecorder) InitSettings

func (mr *MockCliMockRecorder) InitSettings(arg0 interface{}) *gomock.Call

InitSettings indicates an expected call of InitSettings.

func (*MockCliMockRecorder) LibraryInstall

func (mr *MockCliMockRecorder) LibraryInstall(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

LibraryInstall indicates an expected call of LibraryInstall.

func (*MockCliMockRecorder) LibraryList

func (mr *MockCliMockRecorder) LibraryList(arg0, arg1 interface{}) *gomock.Call

LibraryList indicates an expected call of LibraryList.

func (*MockCliMockRecorder) LibrarySearch

func (mr *MockCliMockRecorder) LibrarySearch(arg0, arg1 interface{}) *gomock.Call

LibrarySearch indicates an expected call of LibrarySearch.

func (*MockCliMockRecorder) LibraryUninstall

func (mr *MockCliMockRecorder) LibraryUninstall(arg0, arg1, arg2 interface{}) *gomock.Call

LibraryUninstall indicates an expected call of LibraryUninstall.

func (*MockCliMockRecorder) PlatformInstall

func (mr *MockCliMockRecorder) PlatformInstall(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

PlatformInstall indicates an expected call of PlatformInstall.

func (*MockCliMockRecorder) PlatformSearch

func (mr *MockCliMockRecorder) PlatformSearch(arg0 interface{}) *gomock.Call

PlatformSearch indicates an expected call of PlatformSearch.

func (*MockCliMockRecorder) PlatformUninstall

func (mr *MockCliMockRecorder) PlatformUninstall(arg0, arg1, arg2 interface{}) *gomock.Call

PlatformUninstall indicates an expected call of PlatformUninstall.

func (*MockCliMockRecorder) UpdateIndex

func (mr *MockCliMockRecorder) UpdateIndex(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateIndex indicates an expected call of UpdateIndex.

func (*MockCliMockRecorder) UpdateLibrariesIndex

func (mr *MockCliMockRecorder) UpdateLibrariesIndex(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateLibrariesIndex indicates an expected call of UpdateLibrariesIndex.

func (*MockCliMockRecorder) Version

func (mr *MockCliMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

type MockSerialPort

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

MockSerialPort is a mock of SerialPort interface.

func NewMockSerialPort

func NewMockSerialPort(ctrl *gomock.Controller) *MockSerialPort

NewMockSerialPort creates a new mock instance.

func (*MockSerialPort) Close

func (m *MockSerialPort) Close()

Close mocks base method.

func (*MockSerialPort) EXPECT

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

func (*MockSerialPort) SetTargets

func (m *MockSerialPort) SetTargets(arg0 string, arg1 int)

SetTargets mocks base method.

func (*MockSerialPort) Streaming

func (m *MockSerialPort) Streaming() bool

Streaming mocks base method.

func (*MockSerialPort) Watch

func (m *MockSerialPort) Watch() error

Watch mocks base method.

type MockSerialPortMockRecorder

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

MockSerialPortMockRecorder is the mock recorder for MockSerialPort.

func (*MockSerialPortMockRecorder) Close

func (mr *MockSerialPortMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockSerialPortMockRecorder) SetTargets

func (mr *MockSerialPortMockRecorder) SetTargets(arg0, arg1 interface{}) *gomock.Call

SetTargets indicates an expected call of SetTargets.

func (*MockSerialPortMockRecorder) Streaming

func (mr *MockSerialPortMockRecorder) Streaming() *gomock.Call

Streaming indicates an expected call of Streaming.

func (*MockSerialPortMockRecorder) Watch

func (mr *MockSerialPortMockRecorder) Watch() *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

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