mocks

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 4 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 mockConstructorTestingTNewQueuer) *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.

func (*Queuer) AddEvidence

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

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

func (*Queuer) AddSignature

func (_m *Queuer) AddSignature(ctx types.Context, id uint64, signData *consensustypes.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

GetAll provides a mock function with given fields: _a0

func (*Queuer) GetMsgByID

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

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

func (*Queuer) GetPublicAccessData

func (_m *Queuer) GetPublicAccessData(ctx types.Context, id uint64) (*consensustypes.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) Remove

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

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

func (*Queuer) SetPublicAccessData

func (_m *Queuer) SetPublicAccessData(ctx types.Context, id uint64, data *consensustypes.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