mocks

package
v2.0.0-alpha.30 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	mock.Mock
}

Command is an autogenerated mock type for the Command type

func (*Command) PrintableCommandArgs

func (_m *Command) PrintableCommandArgs() string

PrintableCommandArgs provides a mock function with given fields:

func (*Command) Run

func (_m *Command) Run() error

Run provides a mock function with given fields:

func (*Command) RunAndReturnExitCode

func (_m *Command) RunAndReturnExitCode() (int, error)

RunAndReturnExitCode provides a mock function with given fields:

func (*Command) RunAndReturnTrimmedCombinedOutput

func (_m *Command) RunAndReturnTrimmedCombinedOutput() (string, error)

RunAndReturnTrimmedCombinedOutput provides a mock function with given fields:

func (*Command) RunAndReturnTrimmedOutput

func (_m *Command) RunAndReturnTrimmedOutput() (string, error)

RunAndReturnTrimmedOutput provides a mock function with given fields:

func (*Command) Start

func (_m *Command) Start() error

Start provides a mock function with given fields:

func (*Command) Wait

func (_m *Command) Wait() error

Wait provides a mock function with given fields:

type CommandFactory

type CommandFactory struct {
	mock.Mock
}

CommandFactory is an autogenerated mock type for the CommandFactory type

func (*CommandFactory) Create

func (_m *CommandFactory) Create(name string, args []string, opts *command.Opts) command.Command

Create provides a mock function with given fields: name, args, opts

func (*CommandFactory) CreateBundleExec

func (_m *CommandFactory) CreateBundleExec(name string, args []string, bundlerVersion string, opts *command.Opts) command.Command

CreateBundleExec provides a mock function with given fields: name, args, bundlerVersion, opts

func (*CommandFactory) CreateBundleInstall

func (_m *CommandFactory) CreateBundleInstall(bundlerVersion string, opts *command.Opts) command.Command

CreateBundleInstall provides a mock function with given fields: bundlerVersion, opts

func (*CommandFactory) CreateGemInstall

func (_m *CommandFactory) CreateGemInstall(gem string, version string, enablePrerelease bool, force bool, opts *command.Opts) []command.Command

CreateGemInstall provides a mock function with given fields: gem, version, enablePrerelease, force, opts

func (*CommandFactory) CreateGemUpdate

func (_m *CommandFactory) CreateGemUpdate(gem string, opts *command.Opts) []command.Command

CreateGemUpdate provides a mock function with given fields: gem, opts

type CommandLocator

type CommandLocator struct {
	mock.Mock
}

func (*CommandLocator) LookPath

func (_m *CommandLocator) LookPath(file string) (string, error)

Jump to

Keyboard shortcuts

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