mock

package
v0.0.0-...-d62fb46 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContract

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

MockContract is a mock of Contract interface

func NewMockContract

func NewMockContract(ctrl *gomock.Controller) *MockContract

NewMockContract creates a new mock instance

func (*MockContract) EXPECT

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

func (*MockContract) GetComments

func (m *MockContract) GetComments(arg0 []string, arg1, arg2 string) (*services.CommentsResponseContract, error)

GetComments mocks base method

func (*MockContract) GetCommitsRepo

func (m *MockContract) GetCommitsRepo(arg0, arg1, arg2, arg3 string) (*services.CommitsResponseContract, error)

GetCommitsRepo mocks base method

func (*MockContract) GetInfoCodePage

func (m *MockContract) GetInfoCodePage(arg0, arg1, arg2, arg3 string) (*services.CodeResponseContract, error)

GetInfoCodePage mocks base method

func (*MockContract) GetIssues

func (m *MockContract) GetIssues(arg0, arg1, arg2, arg3 string) (*services.IssuesResponseContract, error)

GetIssues mocks base method

func (*MockContract) GetLastRepos

func (m *MockContract) GetLastRepos(arg0, arg1 string) (*services.ReposResponseContract, error)

GetLastRepos mocks base method

func (*MockContract) GetMembers

func (m *MockContract) GetMembers(arg0, arg1, arg2 string) (*services.OrganizationResponseContract, error)

GetMembers mocks base method

func (*MockContract) GetPulls

func (m *MockContract) GetPulls(arg0, arg1, arg2, arg3 string) (*services.PullsResponseContract, error)

GetPulls mocks base method

func (*MockContract) GetUserScore

func (m *MockContract) GetUserScore(arg0, arg1, arg2 string) (*services.UserScoreResponseContract, error)

GetUserScore mocks base method

func (*MockContract) GetUserStats

func (m *MockContract) GetUserStats(arg0, arg1, arg2 string) (*services.UserResponseContract, error)

GetUserStats mocks base method

type MockContractMockRecorder

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

MockContractMockRecorder is the mock recorder for MockContract

func (*MockContractMockRecorder) GetComments

func (mr *MockContractMockRecorder) GetComments(arg0, arg1, arg2 interface{}) *gomock.Call

GetComments indicates an expected call of GetComments

func (*MockContractMockRecorder) GetCommitsRepo

func (mr *MockContractMockRecorder) GetCommitsRepo(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetCommitsRepo indicates an expected call of GetCommitsRepo

func (*MockContractMockRecorder) GetInfoCodePage

func (mr *MockContractMockRecorder) GetInfoCodePage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetInfoCodePage indicates an expected call of GetInfoCodePage

func (*MockContractMockRecorder) GetIssues

func (mr *MockContractMockRecorder) GetIssues(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetIssues indicates an expected call of GetIssues

func (*MockContractMockRecorder) GetLastRepos

func (mr *MockContractMockRecorder) GetLastRepos(arg0, arg1 interface{}) *gomock.Call

GetLastRepos indicates an expected call of GetLastRepos

func (*MockContractMockRecorder) GetMembers

func (mr *MockContractMockRecorder) GetMembers(arg0, arg1, arg2 interface{}) *gomock.Call

GetMembers indicates an expected call of GetMembers

func (*MockContractMockRecorder) GetPulls

func (mr *MockContractMockRecorder) GetPulls(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetPulls indicates an expected call of GetPulls

func (*MockContractMockRecorder) GetUserScore

func (mr *MockContractMockRecorder) GetUserScore(arg0, arg1, arg2 interface{}) *gomock.Call

GetUserScore indicates an expected call of GetUserScore

func (*MockContractMockRecorder) GetUserStats

func (mr *MockContractMockRecorder) GetUserStats(arg0, arg1, arg2 interface{}) *gomock.Call

GetUserStats indicates an expected call of GetUserStats

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL