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 29, 2025 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 Retrier

type Retrier struct {
	mock.Mock
}

Retrier is an autogenerated mock type for the Retrier type

func NewRetrier

func NewRetrier(t interface {
	mock.TestingT
	Cleanup(func())
}) *Retrier

NewRetrier creates a new instance of Retrier. 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 (*Retrier) RegisterTransaction

func (_m *Retrier) RegisterTransaction(height uint64, tx *flow.TransactionBody)

RegisterTransaction provides a mock function with given fields: height, tx

func (*Retrier) Retry

func (_m *Retrier) Retry(height uint64) error

Retry provides a mock function with given fields: height

type TransactionSender

type TransactionSender struct {
	mock.Mock
}

TransactionSender is an autogenerated mock type for the TransactionSender type

func NewTransactionSender

func NewTransactionSender(t interface {
	mock.TestingT
	Cleanup(func())
}) *TransactionSender

NewTransactionSender creates a new instance of TransactionSender. 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 (*TransactionSender) SendRawTransaction

func (_m *TransactionSender) SendRawTransaction(ctx context.Context, tx *flow.TransactionBody) error

SendRawTransaction provides a mock function with given fields: ctx, tx

Jump to

Keyboard shortcuts

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