mocks

package
v0.38.7 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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 BlockIndexer

type BlockIndexer struct {
	mock.Mock
}

BlockIndexer is an autogenerated mock type for the BlockIndexer type

func NewBlockIndexer

func NewBlockIndexer(t mockConstructorTestingTNewBlockIndexer) *BlockIndexer

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

func (*BlockIndexer) Has

func (_m *BlockIndexer) Has(height int64) (bool, error)

Has provides a mock function with given fields: height

func (*BlockIndexer) Index

Index provides a mock function with given fields: _a0

func (*BlockIndexer) Search

func (_m *BlockIndexer) Search(ctx context.Context, q *query.Query) ([]int64, error)

Search provides a mock function with given fields: ctx, q

func (*BlockIndexer) SetLogger added in v0.38.0

func (_m *BlockIndexer) SetLogger(l log.Logger)

SetLogger provides a mock function with given fields: l

Jump to

Keyboard shortcuts

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