luci: Index | Files

package gittest

import ""

Package gittest is a generated GoMock package.


Package Files


type MockClient Uses

type MockClient struct {
    // contains filtered or unexported fields

MockClient is a mock of Client interface

func NewMockClient Uses

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) CLEmail Uses

func (m *MockClient) CLEmail(c context.Context, host string, changeNumber int64) (string, error)

CLEmail mocks base method

func (*MockClient) CombinedLogs Uses

func (m *MockClient) CombinedLogs(c context.Context, host, project, excludeRef string, refs []string, limit int) ([]*git.Commit, error)

CombinedLogs mocks base method

func (*MockClient) EXPECT Uses

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Log Uses

func (m *MockClient) Log(c context.Context, host, project, commitish string, inputOptions *git0.LogOptions) ([]*git.Commit, error)

Log mocks base method

type MockClientMockRecorder Uses

type MockClientMockRecorder struct {
    // contains filtered or unexported fields

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) CLEmail Uses

func (mr *MockClientMockRecorder) CLEmail(c, host, changeNumber interface{}) *gomock.Call

CLEmail indicates an expected call of CLEmail

func (*MockClientMockRecorder) CombinedLogs Uses

func (mr *MockClientMockRecorder) CombinedLogs(c, host, project, excludeRef, refs, limit interface{}) *gomock.Call

CombinedLogs indicates an expected call of CombinedLogs

func (*MockClientMockRecorder) Log Uses

func (mr *MockClientMockRecorder) Log(c, host, project, commitish, inputOptions interface{}) *gomock.Call

Log indicates an expected call of Log

Package gittest imports 5 packages (graph). Updated 2020-02-26. Refresh now. Tools for package owners.