mocks

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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