Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v0.43.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: AGPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutionDataRequester added in v0.26.2

type ExecutionDataRequester struct {
	mock.Mock
}

ExecutionDataRequester is an autogenerated mock type for the ExecutionDataRequester type

func NewExecutionDataRequester added in v0.26.2

func NewExecutionDataRequester(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExecutionDataRequester

NewExecutionDataRequester creates a new instance of ExecutionDataRequester. 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 (*ExecutionDataRequester) Done added in v0.26.2

func (_m *ExecutionDataRequester) Done() <-chan struct{}

Done provides a mock function with no fields

func (*ExecutionDataRequester) HighestConsecutiveHeight added in v0.31.0

func (_m *ExecutionDataRequester) HighestConsecutiveHeight() (uint64, error)

HighestConsecutiveHeight provides a mock function with no fields

func (*ExecutionDataRequester) OnBlockFinalized added in v0.26.2

func (_m *ExecutionDataRequester) OnBlockFinalized(_a0 *model.Block)

OnBlockFinalized provides a mock function with given fields: _a0

func (*ExecutionDataRequester) Ready added in v0.26.2

func (_m *ExecutionDataRequester) Ready() <-chan struct{}

Ready provides a mock function with no fields

func (*ExecutionDataRequester) Start added in v0.26.2

Start provides a mock function with given fields: _a0

type IndexReporter added in v0.32.10

type IndexReporter struct {
	mock.Mock
}

IndexReporter is an autogenerated mock type for the IndexReporter type

func NewIndexReporter added in v0.32.10

func NewIndexReporter(t interface {
	mock.TestingT
	Cleanup(func())
}) *IndexReporter

NewIndexReporter creates a new instance of IndexReporter. 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 (*IndexReporter) HighestIndexedHeight added in v0.32.10

func (_m *IndexReporter) HighestIndexedHeight() (uint64, error)

HighestIndexedHeight provides a mock function with no fields

func (*IndexReporter) LowestIndexedHeight added in v0.32.10

func (_m *IndexReporter) LowestIndexedHeight() (uint64, error)

LowestIndexedHeight provides a mock function with no fields

Jump to

Keyboard shortcuts

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