mocks

package
v0.0.0-...-be384fd Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockStore

type BlockStore struct {
	mock.Mock
}

BlockStore is an autogenerated mock type for the BlockStore type

func NewBlockStore

func NewBlockStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *BlockStore

NewBlockStore creates a new instance of BlockStore. 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 (*BlockStore) Height

func (_m *BlockStore) Height() int64

Height provides a mock function with given fields:

func (*BlockStore) LoadBlockCommit

func (_m *BlockStore) LoadBlockCommit(height int64) *types.Commit

LoadBlockCommit provides a mock function with given fields: height

func (*BlockStore) LoadBlockMeta

func (_m *BlockStore) LoadBlockMeta(height int64) *types.BlockMeta

LoadBlockMeta provides a mock function with given fields: height

Jump to

Keyboard shortcuts

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