mocks

package
v2.2.0-mercury-20230614 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 7 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) 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) GetActiveUpkeepIDsByType

func (_m *Registry) GetActiveUpkeepIDsByType(opts *bind.CallOpts, startIndex *big.Int, endIndex *big.Int, trigger uint8) ([]*big.Int, error)

GetActiveUpkeepIDsByType provides a mock function with given fields: opts, startIndex, endIndex, trigger

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) GetUpkeepAdminOffchainConfig

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

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

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) MercuryCallback

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

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

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