mock

package
v0.33.35-find-trie-root Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heights

type Heights struct {
	mock.Mock
}

Heights is an autogenerated mock type for the Heights type

func NewHeights added in v0.26.1

func NewHeights(t mockConstructorTestingTNewHeights) *Heights

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

func (*Heights) OnHeight

func (_m *Heights) OnHeight(height uint64, callback func())

OnHeight provides a mock function with given fields: height, callback

type OnViewCallback added in v0.26.1

type OnViewCallback struct {
	mock.Mock
}

OnViewCallback is an autogenerated mock type for the OnViewCallback type

func NewOnViewCallback added in v0.26.1

func NewOnViewCallback(t mockConstructorTestingTNewOnViewCallback) *OnViewCallback

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

func (*OnViewCallback) Execute added in v0.26.1

func (_m *OnViewCallback) Execute(_a0 *flow.Header)

Execute provides a mock function with given fields: _a0

type Views added in v0.20.0

type Views struct {
	mock.Mock
}

Views is an autogenerated mock type for the Views type

func NewViews added in v0.26.1

func NewViews(t mockConstructorTestingTNewViews) *Views

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

func (*Views) OnView added in v0.20.0

func (_m *Views) OnView(view uint64, callback events.OnViewCallback)

OnView provides a mock function with given fields: view, callback

Jump to

Keyboard shortcuts

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