mock

package
v0.37.0-crescendo-RC6-... Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: AGPL-3.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 ComplianceCore

type ComplianceCore struct {
	mock.Mock
}

ComplianceCore is an autogenerated mock type for the complianceCore type

func NewComplianceCore

func NewComplianceCore(t interface {
	mock.TestingT
	Cleanup(func())
}) *ComplianceCore

NewComplianceCore creates a new instance of ComplianceCore. 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 (*ComplianceCore) Done

func (_m *ComplianceCore) Done() <-chan struct{}

Done provides a mock function with given fields:

func (*ComplianceCore) OnBlockRange

func (_m *ComplianceCore) OnBlockRange(originID flow.Identifier, connectedRange []*flow.Block) error

OnBlockRange provides a mock function with given fields: originID, connectedRange

func (*ComplianceCore) OnFinalizedBlock

func (_m *ComplianceCore) OnFinalizedBlock(finalized *flow.Header)

OnFinalizedBlock provides a mock function with given fields: finalized

func (*ComplianceCore) Ready

func (_m *ComplianceCore) Ready() <-chan struct{}

Ready provides a mock function with given fields:

func (*ComplianceCore) Start

Start provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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