Documentation
¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGitRunner ¶
type MockGitRunner struct {
// contains filtered or unexported fields
}
MockGitRunner is a mock of GitRunner interface.
func NewMockGitRunner ¶
func NewMockGitRunner(ctrl *gomock.Controller) *MockGitRunner
NewMockGitRunner creates a new mock instance.
func (*MockGitRunner) EXPECT ¶
func (m *MockGitRunner) EXPECT() *MockGitRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGitRunnerGitCall ¶
MockGitRunnerGitCall wrap *gomock.Call
func (*MockGitRunnerGitCall) Do ¶
func (c *MockGitRunnerGitCall) Do(f func(...string) (string, error)) *MockGitRunnerGitCall
Do rewrite *gomock.Call.Do
func (*MockGitRunnerGitCall) DoAndReturn ¶
func (c *MockGitRunnerGitCall) DoAndReturn(f func(...string) (string, error)) *MockGitRunnerGitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitRunnerGitCall) Return ¶
func (c *MockGitRunnerGitCall) Return(arg0 string, arg1 error) *MockGitRunnerGitCall
Return rewrite *gomock.Call.Return
type MockGitRunnerMockRecorder ¶
type MockGitRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockGitRunnerMockRecorder is the mock recorder for MockGitRunner.
func (*MockGitRunnerMockRecorder) Git ¶
func (mr *MockGitRunnerMockRecorder) Git(args ...any) *MockGitRunnerGitCall
Git indicates an expected call of Git.
Click to show internal directories.
Click to hide internal directories.