testing

package
v1.59.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: MIT Imports: 2 Imported by: 0

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGitRunner) Git

func (m *MockGitRunner) Git(args ...string) (string, error)

Git mocks base method.

type MockGitRunnerGitCall

type MockGitRunnerGitCall struct {
	*gomock.Call
}

MockGitRunnerGitCall wrap *gomock.Call

func (*MockGitRunnerGitCall) Do

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

Git indicates an expected call of Git.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳