mock

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewVertexT added in v0.27.0

type NewVertexT interface {
	mock.TestingT
	Cleanup(func())
}

type Vertex

type Vertex struct {
	mock.Mock
}

Vertex is an autogenerated mock type for the Vertex type

func NewVertex added in v0.26.1

func NewVertex(t NewVertexT) *Vertex

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

func (*Vertex) Level

func (_m *Vertex) Level() uint64

Level provides a mock function with given fields:

func (*Vertex) Parent

func (_m *Vertex) Parent() (flow.Identifier, uint64)

Parent provides a mock function with given fields:

func (*Vertex) VertexID

func (_m *Vertex) VertexID() flow.Identifier

VertexID 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