mock

package
v0.37.13 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: AGPL-3.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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