mock

package
v0.43.1-rc.1.access-me... Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: AGPL-3.0 Imports: 4 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) ErrorMessageByBlockIDFromAnyEN

ErrorMessageByBlockIDFromAnyEN provides a mock function with given fields: ctx, execNodes, req

func (*Provider) ErrorMessageByIndex

func (_m *Provider) ErrorMessageByIndex(ctx context.Context, blockID flow.Identifier, height uint64, index uint32) (string, error)

ErrorMessageByIndex provides a mock function with given fields: ctx, blockID, height, index

func (*Provider) ErrorMessageByIndexFromAnyEN

ErrorMessageByIndexFromAnyEN provides a mock function with given fields: ctx, execNodes, req

func (*Provider) ErrorMessageByTransactionID

func (_m *Provider) ErrorMessageByTransactionID(ctx context.Context, blockID flow.Identifier, height uint64, transactionID flow.Identifier) (string, error)

ErrorMessageByTransactionID provides a mock function with given fields: ctx, blockID, height, transactionID

func (*Provider) ErrorMessageFromAnyEN

ErrorMessageFromAnyEN provides a mock function with given fields: ctx, execNodes, req

func (*Provider) ErrorMessagesByBlockID

func (_m *Provider) ErrorMessagesByBlockID(ctx context.Context, blockID flow.Identifier, height uint64) (map[flow.Identifier]string, error)

ErrorMessagesByBlockID provides a mock function with given fields: ctx, blockID, height

Jump to

Keyboard shortcuts

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