mocks

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queuer

type Queuer struct {
	mock.Mock
}

Queuer is an autogenerated mock type for the Queuer type

func NewQueuer

func NewQueuer(t interface {
	mock.TestingT
	Cleanup(func())
}) *Queuer

NewQueuer creates a new instance of Queuer. 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 (*Queuer) AddEvidence

func (_m *Queuer) AddEvidence(ctx context.Context, id uint64, evidence *types.Evidence) error

AddEvidence provides a mock function with given fields: ctx, id, evidence

func (*Queuer) AddGasEstimate

func (_m *Queuer) AddGasEstimate(ctx context.Context, id uint64, estimate *types.GasEstimate) error

AddGasEstimate provides a mock function with given fields: ctx, id, estimate

func (*Queuer) AddSignature

func (_m *Queuer) AddSignature(ctx context.Context, id uint64, signData *types.SignData) error

AddSignature provides a mock function with given fields: ctx, id, signData

func (*Queuer) ChainInfo

func (_m *Queuer) ChainInfo() (string, string)

ChainInfo provides a mock function with given fields:

func (*Queuer) GetAll

func (_m *Queuer) GetAll(_a0 context.Context) ([]types.QueuedSignedMessageI, error)

GetAll provides a mock function with given fields: _a0

func (*Queuer) GetErrorData

func (_m *Queuer) GetErrorData(ctx context.Context, id uint64) (*types.ErrorData, error)

GetErrorData provides a mock function with given fields: ctx, id

func (*Queuer) GetMsgByID

func (_m *Queuer) GetMsgByID(ctx context.Context, id uint64) (types.QueuedSignedMessageI, error)

GetMsgByID provides a mock function with given fields: ctx, id

func (*Queuer) GetPublicAccessData

func (_m *Queuer) GetPublicAccessData(ctx context.Context, id uint64) (*types.PublicAccessData, error)

GetPublicAccessData provides a mock function with given fields: ctx, id

func (*Queuer) Put

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

func (*Queuer) ReassignValidator

func (_m *Queuer) ReassignValidator(ctx cosmos_sdktypes.Context, id uint64, val string, remoteAddr string) error

ReassignValidator provides a mock function with given fields: ctx, id, val, remoteAddr

func (*Queuer) Remove

func (_m *Queuer) Remove(_a0 context.Context, _a1 uint64) error

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

func (*Queuer) SetElectedGasEstimate

func (_m *Queuer) SetElectedGasEstimate(ctx context.Context, id uint64, estimate uint64) error

SetElectedGasEstimate provides a mock function with given fields: ctx, id, estimate

func (*Queuer) SetErrorData

func (_m *Queuer) SetErrorData(ctx context.Context, id uint64, data *types.ErrorData) error

SetErrorData provides a mock function with given fields: ctx, id, data

func (*Queuer) SetPublicAccessData

func (_m *Queuer) SetPublicAccessData(ctx context.Context, id uint64, data *types.PublicAccessData) error

SetPublicAccessData provides a mock function with given fields: ctx, id, data

Jump to

Keyboard shortcuts

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