txcommonmocks

package
v1.1.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: Apache-2.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 Helper

type Helper struct {
	mock.Mock
}

Helper is an autogenerated mock type for the Helper type

func (*Helper) AddBlockchainTX added in v0.12.0

func (_m *Helper) AddBlockchainTX(ctx context.Context, tx *core.Transaction, blockchainTXID string) error

AddBlockchainTX provides a mock function with given fields: ctx, tx, blockchainTXID

func (*Helper) GetBlockchainEventByIDCached added in v1.0.0

func (_m *Helper) GetBlockchainEventByIDCached(ctx context.Context, id *fftypes.UUID) (*core.BlockchainEvent, error)

GetBlockchainEventByIDCached provides a mock function with given fields: ctx, id

func (*Helper) GetTransactionByIDCached added in v0.14.0

func (_m *Helper) GetTransactionByIDCached(ctx context.Context, id *fftypes.UUID) (*core.Transaction, error)

GetTransactionByIDCached provides a mock function with given fields: ctx, id

func (*Helper) InsertOrGetBlockchainEvent added in v1.1.0

func (_m *Helper) InsertOrGetBlockchainEvent(ctx context.Context, event *core.BlockchainEvent) (*core.BlockchainEvent, error)

InsertOrGetBlockchainEvent provides a mock function with given fields: ctx, event

func (*Helper) PersistTransaction

func (_m *Helper) PersistTransaction(ctx context.Context, id *fftypes.UUID, txType fftypes.FFEnum, blockchainTXID string) (bool, error)

PersistTransaction provides a mock function with given fields: ctx, id, txType, blockchainTXID

func (*Helper) SubmitNewTransaction added in v0.12.0

func (_m *Helper) SubmitNewTransaction(ctx context.Context, txType fftypes.FFEnum) (*fftypes.UUID, error)

SubmitNewTransaction provides a mock function with given fields: ctx, txType

Jump to

Keyboard shortcuts

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