mocks

package
v0.0.0-...-963fb65 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMonorailService

type IMonorailService struct {
	mock.Mock
}

IMonorailService is an autogenerated mock type for the IMonorailService type

func NewIMonorailService

func NewIMonorailService(t interface {
	mock.TestingT
	Cleanup(func())
}) *IMonorailService

NewIMonorailService creates a new instance of IMonorailService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IMonorailService) GetEmail

func (_m *IMonorailService) GetEmail(userName string) (*monorail.MonorailUser, error)

GetEmail provides a mock function with given fields: userName

func (*IMonorailService) GetIssue

func (_m *IMonorailService) GetIssue(issueName string) (*monorail.MonorailIssue, error)

GetIssue provides a mock function with given fields: issueName

func (_m *IMonorailService) GetIssueLink(instance string, id string) string

GetIssueLink provides a mock function with given fields: instance, id

func (*IMonorailService) MakeIssue

func (_m *IMonorailService) MakeIssue(instance string, owner string, summary string, description string, status string, priority string, issueType string, labels []string, componentDefIDs []string, ccUsers []string) (*monorail.MonorailIssue, error)

MakeIssue provides a mock function with given fields: instance, owner, summary, description, status, priority, issueType, labels, componentDefIDs, ccUsers

func (*IMonorailService) SearchIssuesWithPagination

func (_m *IMonorailService) SearchIssuesWithPagination(instance string, query string) ([]monorail.MonorailIssue, error)

SearchIssuesWithPagination provides a mock function with given fields: instance, query

func (*IMonorailService) SetOwnerAndAddComment

func (_m *IMonorailService) SetOwnerAndAddComment(instance string, owner string, comment string, id string) error

SetOwnerAndAddComment provides a mock function with given fields: instance, owner, comment, id

Jump to

Keyboard shortcuts

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