mocks

package
v0.0.0-...-9eacc55 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildChromeClient

type BuildChromeClient struct {
	mock.Mock
}

BuildChromeClient is an autogenerated mock type for the BuildChromeClient type

func NewBuildChromeClient

func NewBuildChromeClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *BuildChromeClient

NewBuildChromeClient creates a new instance of BuildChromeClient. 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 (*BuildChromeClient) CancelBuild

func (_m *BuildChromeClient) CancelBuild(_a0 context.Context, _a1 int64, _a2 string) error

CancelBuild provides a mock function with given fields: _a0, _a1, _a2

func (*BuildChromeClient) GetStatus

func (_m *BuildChromeClient) GetStatus(_a0 context.Context, _a1 int64) (buildbucketpb.Status, error)

GetStatus provides a mock function with given fields: _a0, _a1

func (*BuildChromeClient) RetrieveCAS

RetrieveCAS provides a mock function with given fields: _a0, _a1, _a2

func (*BuildChromeClient) SearchOrBuild

func (_m *BuildChromeClient) SearchOrBuild(ctx context.Context, pinpointJobID string, commit string, device string, deps map[string]string, patches []*buildbucketpb.GerritChange) (int64, error)

SearchOrBuild provides a mock function with given fields: ctx, pinpointJobID, commit, device, deps, patches

Jump to

Keyboard shortcuts

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