mock

package
v0.29.4-with-stacktrace Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: AGPL-3.0 Imports: 4 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 Compliance

type Compliance struct {
	mock.Mock
}

Compliance is an autogenerated mock type for the Compliance type

func NewCompliance

func NewCompliance(t mockConstructorTestingTNewCompliance) *Compliance

NewCompliance creates a new instance of Compliance. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Compliance) Done

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

Done provides a mock function with given fields:

func (*Compliance) OnClusterBlockProposal

func (_m *Compliance) OnClusterBlockProposal(proposal flow.Slashable[messages.ClusterBlockProposal])

OnClusterBlockProposal provides a mock function with given fields: proposal

func (*Compliance) OnSyncedClusterBlock

func (_m *Compliance) OnSyncedClusterBlock(block flow.Slashable[messages.ClusterBlockProposal])

OnSyncedClusterBlock provides a mock function with given fields: block

func (*Compliance) Ready

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

Ready provides a mock function with given fields:

func (*Compliance) Start

func (_m *Compliance) Start(_a0 irrecoverable.SignalerContext)

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