syncasyncmocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	mock.Mock
}

Bridge is an autogenerated mock type for the Bridge type

func NewBridge added in v1.1.2

func NewBridge(t interface {
	mock.TestingT
	Cleanup(func())
}) *Bridge

NewBridge creates a new instance of Bridge. 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 (*Bridge) Init

func (_m *Bridge) Init(sysevents system.EventInterface)

Init provides a mock function with given fields: sysevents

func (*Bridge) WaitForDeployOperation added in v1.1.2

func (_m *Bridge) WaitForDeployOperation(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Operation, error)

WaitForDeployOperation provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForIdentity added in v0.14.0

func (_m *Bridge) WaitForIdentity(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Identity, error)

WaitForIdentity provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForInvokeOperation added in v1.0.0

func (_m *Bridge) WaitForInvokeOperation(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Operation, error)

WaitForInvokeOperation provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForMessage added in v0.11.0

func (_m *Bridge) WaitForMessage(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.Message, error)

WaitForMessage provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForReply added in v0.11.0

func (_m *Bridge) WaitForReply(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.MessageInOut, error)

WaitForReply provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForTokenApproval added in v0.13.1

func (_m *Bridge) WaitForTokenApproval(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenApproval, error)

WaitForTokenApproval provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForTokenPool added in v0.11.0

func (_m *Bridge) WaitForTokenPool(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenPool, error)

WaitForTokenPool provides a mock function with given fields: ctx, id, send

func (*Bridge) WaitForTokenTransfer added in v0.11.0

func (_m *Bridge) WaitForTokenTransfer(ctx context.Context, id *fftypes.UUID, send syncasync.SendFunction) (*core.TokenTransfer, error)

WaitForTokenTransfer provides a mock function with given fields: ctx, id, send

type Sender added in v1.1.0

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func NewSender added in v1.1.2

func NewSender(t interface {
	mock.TestingT
	Cleanup(func())
}) *Sender

NewSender creates a new instance of Sender. 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 (*Sender) Prepare added in v1.1.0

func (_m *Sender) Prepare(ctx context.Context) error

Prepare provides a mock function with given fields: ctx

func (*Sender) Send added in v1.1.0

func (_m *Sender) Send(ctx context.Context) error

Send provides a mock function with given fields: ctx

func (*Sender) SendAndWait added in v1.1.0

func (_m *Sender) SendAndWait(ctx context.Context) error

SendAndWait provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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