mocks

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShellRunnerI

type ShellRunnerI struct {
	mock.Mock
}

ShellRunnerI is an autogenerated mock type for the ShellRunnerI type

func NewShellRunnerI added in v0.0.17

func NewShellRunnerI(t mockConstructorTestingTNewShellRunnerI) *ShellRunnerI

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

func (*ShellRunnerI) ExecGitCommand

func (_m *ShellRunnerI) ExecGitCommand(args []string, stdoutb *bytes.Buffer, erroutb *bytes.Buffer, dir string) (*exec.Cmd, error)

ExecGitCommand provides a mock function with given fields: args, stdoutb, erroutb, dir

Jump to

Keyboard shortcuts

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