fakes

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 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() error

	CommitStub func() error

	CreateBranchStub func() error

	CreateRepositoryStub func() error

	HasChangesStub func() (bool, error)

	IsRepositoryStub func() error

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

func (*FakeGit) Add

func (fake *FakeGit) Add() error

func (*FakeGit) AddCallCount

func (fake *FakeGit) AddCallCount() int

func (*FakeGit) AddCalls

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

func (*FakeGit) AddReturns

func (fake *FakeGit) AddReturns(result1 error)

func (*FakeGit) AddReturnsOnCall

func (fake *FakeGit) AddReturnsOnCall(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() error

func (*FakeGit) CreateBranchCallCount

func (fake *FakeGit) CreateBranchCallCount() int

func (*FakeGit) CreateBranchCalls

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

func (*FakeGit) CreateBranchReturns

func (fake *FakeGit) CreateBranchReturns(result1 error)

func (*FakeGit) CreateBranchReturnsOnCall

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

func (*FakeGit) CreateRepository

func (fake *FakeGit) CreateRepository() error

func (*FakeGit) CreateRepositoryCallCount

func (fake *FakeGit) CreateRepositoryCallCount() int

func (*FakeGit) CreateRepositoryCalls

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

func (*FakeGit) CreateRepositoryReturns

func (fake *FakeGit) CreateRepositoryReturns(result1 error)

func (*FakeGit) CreateRepositoryReturnsOnCall

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

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) 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) 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)

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 🇻🇳