mock

package
v0.22.8-patch-3-fix-co... Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: AGPL-3.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 AssignmentCollector

type AssignmentCollector struct {
	mock.Mock
}

AssignmentCollector is an autogenerated mock type for the AssignmentCollector type

func (*AssignmentCollector) Block

func (_m *AssignmentCollector) Block() *flow.Header

Block provides a mock function with given fields:

func (*AssignmentCollector) BlockID

func (_m *AssignmentCollector) BlockID() flow.Identifier

BlockID provides a mock function with given fields:

func (*AssignmentCollector) ChangeProcessingStatus

func (_m *AssignmentCollector) ChangeProcessingStatus(expectedValue approvals.ProcessingStatus, newValue approvals.ProcessingStatus) error

ChangeProcessingStatus provides a mock function with given fields: expectedValue, newValue

func (*AssignmentCollector) CheckEmergencySealing

func (_m *AssignmentCollector) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error

CheckEmergencySealing provides a mock function with given fields: observer, finalizedBlockHeight

func (*AssignmentCollector) ProcessApproval

func (_m *AssignmentCollector) ProcessApproval(approval *flow.ResultApproval) error

ProcessApproval provides a mock function with given fields: approval

func (*AssignmentCollector) ProcessIncorporatedResult

func (_m *AssignmentCollector) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error

ProcessIncorporatedResult provides a mock function with given fields: incorporatedResult

func (*AssignmentCollector) ProcessingStatus

func (_m *AssignmentCollector) ProcessingStatus() approvals.ProcessingStatus

ProcessingStatus provides a mock function with given fields:

func (*AssignmentCollector) RequestMissingApprovals

func (_m *AssignmentCollector) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)

RequestMissingApprovals provides a mock function with given fields: observer, maxHeightForRequesting

func (*AssignmentCollector) Result

Result provides a mock function with given fields:

func (*AssignmentCollector) ResultID

func (_m *AssignmentCollector) ResultID() flow.Identifier

ResultID provides a mock function with given fields:

type AssignmentCollectorState

type AssignmentCollectorState struct {
	mock.Mock
}

AssignmentCollectorState is an autogenerated mock type for the AssignmentCollectorState type

func (*AssignmentCollectorState) Block

func (_m *AssignmentCollectorState) Block() *flow.Header

Block provides a mock function with given fields:

func (*AssignmentCollectorState) BlockID

BlockID provides a mock function with given fields:

func (*AssignmentCollectorState) CheckEmergencySealing

func (_m *AssignmentCollectorState) CheckEmergencySealing(observer consensus.SealingObservation, finalizedBlockHeight uint64) error

CheckEmergencySealing provides a mock function with given fields: observer, finalizedBlockHeight

func (*AssignmentCollectorState) ProcessApproval

func (_m *AssignmentCollectorState) ProcessApproval(approval *flow.ResultApproval) error

ProcessApproval provides a mock function with given fields: approval

func (*AssignmentCollectorState) ProcessIncorporatedResult

func (_m *AssignmentCollectorState) ProcessIncorporatedResult(incorporatedResult *flow.IncorporatedResult) error

ProcessIncorporatedResult provides a mock function with given fields: incorporatedResult

func (*AssignmentCollectorState) ProcessingStatus

func (_m *AssignmentCollectorState) ProcessingStatus() approvals.ProcessingStatus

ProcessingStatus provides a mock function with given fields:

func (*AssignmentCollectorState) RequestMissingApprovals

func (_m *AssignmentCollectorState) RequestMissingApprovals(observer consensus.SealingObservation, maxHeightForRequesting uint64) (uint, error)

RequestMissingApprovals provides a mock function with given fields: observer, maxHeightForRequesting

func (*AssignmentCollectorState) Result

Result provides a mock function with given fields:

func (*AssignmentCollectorState) ResultID

func (_m *AssignmentCollectorState) ResultID() flow.Identifier

ResultID 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