go: go.chromium.org/chromiumos/infra/go/internal/checkout/mock Index | Files

package mock_checkout

import "go.chromium.org/chromiumos/infra/go/internal/checkout/mock"

Package mock_checkout is a generated GoMock package.

Index

Package Files

checkout.go

type MockCheckout Uses

type MockCheckout struct {
    // contains filtered or unexported fields
}

MockCheckout is a mock of Checkout interface

func NewMockCheckout Uses

func NewMockCheckout(ctrl *gomock.Controller) *MockCheckout

NewMockCheckout creates a new mock instance

func (*MockCheckout) AbsolutePath Uses

func (m *MockCheckout) AbsolutePath(args ...string) string

AbsolutePath mocks base method

func (*MockCheckout) AbsoluteProjectPath Uses

func (m *MockCheckout) AbsoluteProjectPath(project repo.Project, args ...string) string

AbsoluteProjectPath mocks base method

func (*MockCheckout) BranchExists Uses

func (m *MockCheckout) BranchExists(project repo.Project, pattern *regexp.Regexp) (bool, error)

BranchExists mocks base method

func (*MockCheckout) BumpVersion Uses

func (m *MockCheckout) BumpVersion(component repo.VersionComponent, branch, commitMsg string, dryRun, fetch bool) error

BumpVersion mocks base method

func (*MockCheckout) EXPECT Uses

func (m *MockCheckout) EXPECT() *MockCheckoutMockRecorder

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

func (*MockCheckout) EnsureProject Uses

func (m *MockCheckout) EnsureProject(project repo.Project) error

EnsureProject mocks base method

func (*MockCheckout) GitRevision Uses

func (m *MockCheckout) GitRevision(project repo.Project) (string, error)

GitRevision mocks base method

func (*MockCheckout) Initialize Uses

func (m *MockCheckout) Initialize(root, manifestUrl string) error

Initialize mocks base method

func (*MockCheckout) Manifest Uses

func (m *MockCheckout) Manifest() repo.Manifest

Manifest mocks base method

func (*MockCheckout) ReadVersion Uses

func (m *MockCheckout) ReadVersion() (repo.VersionInfo, error)

ReadVersion mocks base method

func (*MockCheckout) RunGit Uses

func (m *MockCheckout) RunGit(project repo.Project, cmd []string) (git.CommandOutput, error)

RunGit mocks base method

func (*MockCheckout) SetRepoToolPath Uses

func (m *MockCheckout) SetRepoToolPath(path string)

SetRepoToolPath mocks base method

func (*MockCheckout) SyncToManifest Uses

func (m *MockCheckout) SyncToManifest(path string) error

SyncToManifest mocks base method

type MockCheckoutMockRecorder Uses

type MockCheckoutMockRecorder struct {
    // contains filtered or unexported fields
}

MockCheckoutMockRecorder is the mock recorder for MockCheckout

func (*MockCheckoutMockRecorder) AbsolutePath Uses

func (mr *MockCheckoutMockRecorder) AbsolutePath(args ...interface{}) *gomock.Call

AbsolutePath indicates an expected call of AbsolutePath

func (*MockCheckoutMockRecorder) AbsoluteProjectPath Uses

func (mr *MockCheckoutMockRecorder) AbsoluteProjectPath(project interface{}, args ...interface{}) *gomock.Call

AbsoluteProjectPath indicates an expected call of AbsoluteProjectPath

func (*MockCheckoutMockRecorder) BranchExists Uses

func (mr *MockCheckoutMockRecorder) BranchExists(project, pattern interface{}) *gomock.Call

BranchExists indicates an expected call of BranchExists

func (*MockCheckoutMockRecorder) BumpVersion Uses

func (mr *MockCheckoutMockRecorder) BumpVersion(component, branch, commitMsg, dryRun, fetch interface{}) *gomock.Call

BumpVersion indicates an expected call of BumpVersion

func (*MockCheckoutMockRecorder) EnsureProject Uses

func (mr *MockCheckoutMockRecorder) EnsureProject(project interface{}) *gomock.Call

EnsureProject indicates an expected call of EnsureProject

func (*MockCheckoutMockRecorder) GitRevision Uses

func (mr *MockCheckoutMockRecorder) GitRevision(project interface{}) *gomock.Call

GitRevision indicates an expected call of GitRevision

func (*MockCheckoutMockRecorder) Initialize Uses

func (mr *MockCheckoutMockRecorder) Initialize(root, manifestUrl interface{}) *gomock.Call

Initialize indicates an expected call of Initialize

func (*MockCheckoutMockRecorder) Manifest Uses

func (mr *MockCheckoutMockRecorder) Manifest() *gomock.Call

Manifest indicates an expected call of Manifest

func (*MockCheckoutMockRecorder) ReadVersion Uses

func (mr *MockCheckoutMockRecorder) ReadVersion() *gomock.Call

ReadVersion indicates an expected call of ReadVersion

func (*MockCheckoutMockRecorder) RunGit Uses

func (mr *MockCheckoutMockRecorder) RunGit(project, cmd interface{}) *gomock.Call

RunGit indicates an expected call of RunGit

func (*MockCheckoutMockRecorder) SetRepoToolPath Uses

func (mr *MockCheckoutMockRecorder) SetRepoToolPath(path interface{}) *gomock.Call

SetRepoToolPath indicates an expected call of SetRepoToolPath

func (*MockCheckoutMockRecorder) SyncToManifest Uses

func (mr *MockCheckoutMockRecorder) SyncToManifest(path interface{}) *gomock.Call

SyncToManifest indicates an expected call of SyncToManifest

Package mock_checkout imports 5 packages (graph). Updated 2019-07-18. Refresh now. Tools for package owners.