mocks

package
v1.2.1-dev.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.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 Provider

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func NewProvider

func NewProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *Provider

NewProvider creates a new instance of Provider. 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 (*Provider) ID

func (_m *Provider) ID() string

ID provides a mock function with given fields:

func (*Provider) LightBlock

func (_m *Provider) LightBlock(ctx context.Context, height int64) (*types.LightBlock, error)

LightBlock provides a mock function with given fields: ctx, height

func (*Provider) ReportEvidence

func (_m *Provider) ReportEvidence(_a0 context.Context, _a1 types.Evidence) error

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

Jump to

Keyboard shortcuts

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