mocks

package
v1.12.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	mock.Mock
}

Processor is an autogenerated mock type for the Processor type

func NewProcessor

func NewProcessor(t interface {
	mock.TestingT
	Cleanup(func())
}) *Processor

NewProcessor creates a new instance of Processor. 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 (*Processor) ExternalAccount

func (_m *Processor) ExternalAccount() chain.ExternalAccount

ExternalAccount provides a mock function with given fields:

func (*Processor) GetChainReferenceID added in v1.5.5

func (_m *Processor) GetChainReferenceID() string

GetChainReferenceID provides a mock function with given fields:

func (*Processor) GetSkywayEvents added in v1.12.4

func (_m *Processor) GetSkywayEvents(_a0 context.Context, _a1 string) ([]chain.SkywayEventer, error)

GetSkywayEvents provides a mock function with given fields: _a0, _a1

func (*Processor) HealthCheck added in v0.7.0

func (_m *Processor) HealthCheck(ctx context.Context) error

HealthCheck provides a mock function with given fields: ctx

func (*Processor) IsRightChain

func (_m *Processor) IsRightChain(ctx context.Context) error

IsRightChain provides a mock function with given fields: ctx

func (*Processor) ProcessMessages

func (_m *Processor) ProcessMessages(_a0 context.Context, _a1 queue.TypeName, _a2 []chain.MessageWithSignatures) error

ProcessMessages provides a mock function with given fields: _a0, _a1, _a2

func (*Processor) ProvideEvidence added in v0.4.0

func (_m *Processor) ProvideEvidence(_a0 context.Context, _a1 queue.TypeName, _a2 []chain.MessageWithSignatures) error

ProvideEvidence provides a mock function with given fields: _a0, _a1, _a2

func (*Processor) SignMessages

func (_m *Processor) SignMessages(ctx context.Context, messages ...chain.QueuedMessage) ([]chain.SignedQueuedMessage, error)

SignMessages provides a mock function with given fields: ctx, messages

func (*Processor) SkywayRelayBatches added in v1.12.2

func (_m *Processor) SkywayRelayBatches(_a0 context.Context, _a1 []chain.SkywayBatchWithSignatures) error

SkywayRelayBatches provides a mock function with given fields: _a0, _a1

func (*Processor) SkywaySignBatches added in v1.12.2

func (_m *Processor) SkywaySignBatches(_a0 context.Context, _a1 ...types.OutgoingTxBatch) ([]chain.SignedSkywayOutgoingTxBatch, error)

SkywaySignBatches provides a mock function with given fields: _a0, _a1

func (*Processor) SubmitEventClaims added in v1.12.4

func (_m *Processor) SubmitEventClaims(_a0 context.Context, _a1 []chain.SkywayEventer, _a2 string) error

SubmitEventClaims provides a mock function with given fields: _a0, _a1, _a2

func (*Processor) SupportedQueues

func (_m *Processor) SupportedQueues() []string

SupportedQueues provides a mock function with given fields:

Jump to

Keyboard shortcuts

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