mocks

package
v2.4.0-beta0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient struct {
	mock.Mock
}

HttpClient is an autogenerated mock type for the HttpClient type

func NewHttpClient

func NewHttpClient(t mockConstructorTestingTNewHttpClient) *HttpClient

NewHttpClient creates a new instance of HttpClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*HttpClient) Do

func (_m *HttpClient) Do(req *http.Request) (*http.Response, error)

Do provides a mock function with given fields: req

type Registry

type Registry struct {
	mock.Mock
}

Registry is an autogenerated mock type for the Registry type

func NewRegistry

func NewRegistry(t mockConstructorTestingTNewRegistry) *Registry

NewRegistry creates a new instance of Registry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Registry) CheckCallback

func (_m *Registry) CheckCallback(opts *bind.TransactOpts, id *big.Int, values [][]byte, extraData []byte) (*types.Transaction, error)

CheckCallback provides a mock function with given fields: opts, id, values, extraData

func (*Registry) GetActiveUpkeepIDs

func (_m *Registry) GetActiveUpkeepIDs(opts *bind.CallOpts, startIndex *big.Int, maxCount *big.Int) ([]*big.Int, error)

GetActiveUpkeepIDs provides a mock function with given fields: opts, startIndex, maxCount

func (*Registry) GetAdminPrivilegeConfig added in v2.4.0

func (_m *Registry) GetAdminPrivilegeConfig(opts *bind.CallOpts, admin common.Address) ([]byte, error)

GetAdminPrivilegeConfig provides a mock function with given fields: opts, admin

func (*Registry) GetState

GetState provides a mock function with given fields: opts

func (*Registry) GetUpkeep

GetUpkeep provides a mock function with given fields: opts, id

func (*Registry) GetUpkeepTriggerConfig

func (_m *Registry) GetUpkeepTriggerConfig(opts *bind.CallOpts, upkeepId *big.Int) ([]byte, error)

GetUpkeepTriggerConfig provides a mock function with given fields: opts, upkeepId

func (*Registry) ParseLog

func (_m *Registry) ParseLog(log types.Log) (generated.AbigenLog, error)

ParseLog provides a mock function with given fields: log

Jump to

Keyboard shortcuts

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