Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v0.31.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 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 mockConstructorTestingTNewComplianceCore) *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.

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