fakes

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation ¶

Overview ¶

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type FakeGit ¶

type FakeGit struct {
	AddStub func(string) error

	CheckoutStub func(string) error

	CloneStub func(string, string, string) error

	CommitStub func() error

	CreateBranchStub func(string) error

	GetDirectoryStub func() string

	HasChangesStub func() (bool, error)

	InitStub func() error

	IsRepositoryStub func() error

	MergeStub func(string) ([]string, error)

	PushStub func() error

	RemoveAllStub func() error
	// contains filtered or unexported fields
}

func (*FakeGit) Add ¶

func (fake *FakeGit) Add(arg1 string) error

func (*FakeGit) AddArgsForCall ¶ added in v0.7.0

func (fake *FakeGit) AddArgsForCall(i int) string

func (*FakeGit) AddCallCount ¶

func (fake *FakeGit) AddCallCount() int

func (*FakeGit) AddCalls ¶

func (fake *FakeGit) AddCalls(stub func(string) error)

func (*FakeGit) AddReturns ¶

func (fake *FakeGit) AddReturns(result1 error)

func (*FakeGit) AddReturnsOnCall ¶

func (fake *FakeGit) AddReturnsOnCall(i int, result1 error)

func (*FakeGit) Checkout ¶ added in v0.2.0

func (fake *FakeGit) Checkout(arg1 string) error

func (*FakeGit) CheckoutArgsForCall ¶ added in v0.2.0

func (fake *FakeGit) CheckoutArgsForCall(i int) string

func (*FakeGit) CheckoutCallCount ¶ added in v0.2.0

func (fake *FakeGit) CheckoutCallCount() int

func (*FakeGit) CheckoutCalls ¶ added in v0.2.0

func (fake *FakeGit) CheckoutCalls(stub func(string) error)

func (*FakeGit) CheckoutReturns ¶ added in v0.2.0

func (fake *FakeGit) CheckoutReturns(result1 error)

func (*FakeGit) CheckoutReturnsOnCall ¶ added in v0.2.0

func (fake *FakeGit) CheckoutReturnsOnCall(i int, result1 error)

func (*FakeGit) Clone ¶ added in v0.0.3

func (fake *FakeGit) Clone(arg1 string, arg2 string, arg3 string) error

func (*FakeGit) CloneArgsForCall ¶ added in v0.0.3

func (fake *FakeGit) CloneArgsForCall(i int) (string, string, string)

func (*FakeGit) CloneCallCount ¶ added in v0.0.3

func (fake *FakeGit) CloneCallCount() int

func (*FakeGit) CloneCalls ¶ added in v0.0.3

func (fake *FakeGit) CloneCalls(stub func(string, string, string) error)

func (*FakeGit) CloneReturns ¶ added in v0.0.3

func (fake *FakeGit) CloneReturns(result1 error)

func (*FakeGit) CloneReturnsOnCall ¶ added in v0.0.3

func (fake *FakeGit) CloneReturnsOnCall(i int, result1 error)

func (*FakeGit) Commit ¶

func (fake *FakeGit) Commit() error

func (*FakeGit) CommitCallCount ¶

func (fake *FakeGit) CommitCallCount() int

func (*FakeGit) CommitCalls ¶

func (fake *FakeGit) CommitCalls(stub func() error)

func (*FakeGit) CommitReturns ¶

func (fake *FakeGit) CommitReturns(result1 error)

func (*FakeGit) CommitReturnsOnCall ¶

func (fake *FakeGit) CommitReturnsOnCall(i int, result1 error)

func (*FakeGit) CreateBranch ¶

func (fake *FakeGit) CreateBranch(arg1 string) error

func (*FakeGit) CreateBranchArgsForCall ¶ added in v0.2.0

func (fake *FakeGit) CreateBranchArgsForCall(i int) string

func (*FakeGit) CreateBranchCallCount ¶

func (fake *FakeGit) CreateBranchCallCount() int

func (*FakeGit) CreateBranchCalls ¶

func (fake *FakeGit) CreateBranchCalls(stub func(string) error)

func (*FakeGit) CreateBranchReturns ¶

func (fake *FakeGit) CreateBranchReturns(result1 error)

func (*FakeGit) CreateBranchReturnsOnCall ¶

func (fake *FakeGit) CreateBranchReturnsOnCall(i int, result1 error)

func (*FakeGit) GetDirectory ¶ added in v0.2.0

func (fake *FakeGit) GetDirectory() string

func (*FakeGit) GetDirectoryCallCount ¶ added in v0.2.0

func (fake *FakeGit) GetDirectoryCallCount() int

func (*FakeGit) GetDirectoryCalls ¶ added in v0.2.0

func (fake *FakeGit) GetDirectoryCalls(stub func() string)

func (*FakeGit) GetDirectoryReturns ¶ added in v0.2.0

func (fake *FakeGit) GetDirectoryReturns(result1 string)

func (*FakeGit) GetDirectoryReturnsOnCall ¶ added in v0.2.0

func (fake *FakeGit) GetDirectoryReturnsOnCall(i int, result1 string)

func (*FakeGit) HasChanges ¶

func (fake *FakeGit) HasChanges() (bool, error)

func (*FakeGit) HasChangesCallCount ¶

func (fake *FakeGit) HasChangesCallCount() int

func (*FakeGit) HasChangesCalls ¶

func (fake *FakeGit) HasChangesCalls(stub func() (bool, error))

func (*FakeGit) HasChangesReturns ¶

func (fake *FakeGit) HasChangesReturns(result1 bool, result2 error)

func (*FakeGit) HasChangesReturnsOnCall ¶

func (fake *FakeGit) HasChangesReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeGit) Init ¶ added in v0.2.0

func (fake *FakeGit) Init() error

func (*FakeGit) InitCallCount ¶ added in v0.2.0

func (fake *FakeGit) InitCallCount() int

func (*FakeGit) InitCalls ¶ added in v0.2.0

func (fake *FakeGit) InitCalls(stub func() error)

func (*FakeGit) InitReturns ¶ added in v0.2.0

func (fake *FakeGit) InitReturns(result1 error)

func (*FakeGit) InitReturnsOnCall ¶ added in v0.2.0

func (fake *FakeGit) InitReturnsOnCall(i int, result1 error)

func (*FakeGit) Invocations ¶

func (fake *FakeGit) Invocations() map[string][][]interface{}

func (*FakeGit) IsRepository ¶

func (fake *FakeGit) IsRepository() error

func (*FakeGit) IsRepositoryCallCount ¶

func (fake *FakeGit) IsRepositoryCallCount() int

func (*FakeGit) IsRepositoryCalls ¶

func (fake *FakeGit) IsRepositoryCalls(stub func() error)

func (*FakeGit) IsRepositoryReturns ¶

func (fake *FakeGit) IsRepositoryReturns(result1 error)

func (*FakeGit) IsRepositoryReturnsOnCall ¶

func (fake *FakeGit) IsRepositoryReturnsOnCall(i int, result1 error)

func (*FakeGit) Merge ¶ added in v0.2.0

func (fake *FakeGit) Merge(arg1 string) ([]string, error)

func (*FakeGit) MergeArgsForCall ¶ added in v0.2.0

func (fake *FakeGit) MergeArgsForCall(i int) string

func (*FakeGit) MergeCallCount ¶ added in v0.2.0

func (fake *FakeGit) MergeCallCount() int

func (*FakeGit) MergeCalls ¶ added in v0.2.0

func (fake *FakeGit) MergeCalls(stub func(string) ([]string, error))

func (*FakeGit) MergeReturns ¶ added in v0.2.0

func (fake *FakeGit) MergeReturns(result1 []string, result2 error)

func (*FakeGit) MergeReturnsOnCall ¶ added in v0.2.0

func (fake *FakeGit) MergeReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeGit) Push ¶

func (fake *FakeGit) Push() error

func (*FakeGit) PushCallCount ¶

func (fake *FakeGit) PushCallCount() int

func (*FakeGit) PushCalls ¶

func (fake *FakeGit) PushCalls(stub func() error)

func (*FakeGit) PushReturns ¶

func (fake *FakeGit) PushReturns(result1 error)

func (*FakeGit) PushReturnsOnCall ¶

func (fake *FakeGit) PushReturnsOnCall(i int, result1 error)

func (*FakeGit) RemoveAll ¶ added in v0.2.0

func (fake *FakeGit) RemoveAll() error

func (*FakeGit) RemoveAllCallCount ¶ added in v0.2.0

func (fake *FakeGit) RemoveAllCallCount() int

func (*FakeGit) RemoveAllCalls ¶ added in v0.2.0

func (fake *FakeGit) RemoveAllCalls(stub func() error)

func (*FakeGit) RemoveAllReturns ¶ added in v0.2.0

func (fake *FakeGit) RemoveAllReturns(result1 error)

func (*FakeGit) RemoveAllReturnsOnCall ¶ added in v0.2.0

func (fake *FakeGit) RemoveAllReturnsOnCall(i int, result1 error)

type FakeSCMClient ¶

type FakeSCMClient struct {
	CreatePullRequestStub func() error
	// contains filtered or unexported fields
}

func (*FakeSCMClient) CreatePullRequest ¶

func (fake *FakeSCMClient) CreatePullRequest() error

func (*FakeSCMClient) CreatePullRequestCallCount ¶

func (fake *FakeSCMClient) CreatePullRequestCallCount() int

func (*FakeSCMClient) CreatePullRequestCalls ¶

func (fake *FakeSCMClient) CreatePullRequestCalls(stub func() error)

func (*FakeSCMClient) CreatePullRequestReturns ¶

func (fake *FakeSCMClient) CreatePullRequestReturns(result1 error)

func (*FakeSCMClient) CreatePullRequestReturnsOnCall ¶

func (fake *FakeSCMClient) CreatePullRequestReturnsOnCall(i int, result1 error)

func (*FakeSCMClient) Invocations ¶

func (fake *FakeSCMClient) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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