mocks

package
v0.1.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRunner

type CommandRunner struct {
	mock.Mock
}

CommandRunner is an autogenerated mock type for the CommandRunner type

func NewCommandRunner

func NewCommandRunner(t mockConstructorTestingTNewCommandRunner) *CommandRunner

NewCommandRunner creates a new instance of CommandRunner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CommandRunner) Run

func (_m *CommandRunner) Run(name string, args ...string) error

Run provides a mock function with given fields: name, args

func (*CommandRunner) RunSilent

func (_m *CommandRunner) RunSilent(name string, args ...string) error

RunSilent provides a mock function with given fields: name, args

Jump to

Keyboard shortcuts

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