Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShellRunnerI ¶
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) EXPECT ¶ added in v0.0.32
func (_m *ShellRunnerI) EXPECT() *ShellRunnerI_Expecter
type ShellRunnerI_ExecGitCommand_Call ¶ added in v0.0.32
ShellRunnerI_ExecGitCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecGitCommand'
func (*ShellRunnerI_ExecGitCommand_Call) Return ¶ added in v0.0.32
func (_c *ShellRunnerI_ExecGitCommand_Call) Return(cmd *exec.Cmd, err error) *ShellRunnerI_ExecGitCommand_Call
func (*ShellRunnerI_ExecGitCommand_Call) Run ¶ added in v0.0.32
func (_c *ShellRunnerI_ExecGitCommand_Call) Run(run func(args []string, stdoutb *bytes.Buffer, erroutb *bytes.Buffer, dir string)) *ShellRunnerI_ExecGitCommand_Call
func (*ShellRunnerI_ExecGitCommand_Call) RunAndReturn ¶ added in v0.0.32
type ShellRunnerI_Expecter ¶ added in v0.0.32
type ShellRunnerI_Expecter struct {
// contains filtered or unexported fields
}
func (*ShellRunnerI_Expecter) ExecGitCommand ¶ added in v0.0.32
func (_e *ShellRunnerI_Expecter) ExecGitCommand(args interface{}, stdoutb interface{}, erroutb interface{}, dir interface{}) *ShellRunnerI_ExecGitCommand_Call
ExecGitCommand is a helper method to define mock.On call
- args []string
- stdoutb *bytes.Buffer
- erroutb *bytes.Buffer
- dir string
Click to show internal directories.
Click to hide internal directories.