mocks

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 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 Bridge

type Bridge struct {
	mock.Mock
}

Bridge is an autogenerated mock type for the Bridge type

func NewBridge

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) ExecuteJob

func (_m *Bridge) ExecuteJob(ctx types.Context, jcfg *xchain.JobConfiguration) error

ExecuteJob provides a mock function with given fields: ctx, jcfg

func (*Bridge) VerifyJob

func (_m *Bridge) VerifyJob(ctx types.Context, definition []byte, payload []byte, refID string) error

VerifyJob provides a mock function with given fields: ctx, definition, payload, refID

func (*Bridge) XChainReferenceIDs

func (_m *Bridge) XChainReferenceIDs(_a0 types.Context) []string

XChainReferenceIDs provides a mock function with given fields: _a0

func (*Bridge) XChainType

func (_m *Bridge) XChainType() string

XChainType provides a mock function with given fields:

type FundCollecter added in v0.10.2

type FundCollecter struct {
	mock.Mock
}

FundCollecter is an autogenerated mock type for the FundCollecter type

func NewFundCollecter added in v0.10.2

func NewFundCollecter(t interface {
	mock.TestingT
	Cleanup(func())
}) *FundCollecter

NewFundCollecter creates a new instance of FundCollecter. 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 (*FundCollecter) CollectJobFundEvents added in v0.10.2

func (_m *FundCollecter) CollectJobFundEvents(ctx types.Context) error

CollectJobFundEvents 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