mock

package
v0.29.16-height-coordi... Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputationManager

type ComputationManager struct {
	mock.Mock
}

ComputationManager is an autogenerated mock type for the ComputationManager type

func NewComputationManager added in v0.26.1

func NewComputationManager(t mockConstructorTestingTNewComputationManager) *ComputationManager

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

func (*ComputationManager) ComputeBlock

ComputeBlock provides a mock function with given fields: ctx, block, view

func (*ComputationManager) ExecuteScript

func (_m *ComputationManager) ExecuteScript(_a0 context.Context, _a1 []byte, _a2 [][]byte, _a3 *flow.Header, _a4 state.View) ([]byte, error)

ExecuteScript provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4

func (*ComputationManager) GetAccount

func (_m *ComputationManager) GetAccount(addr flow.Address, header *flow.Header, view state.View) (*flow.Account, error)

GetAccount provides a mock function with given fields: addr, header, view

Jump to

Keyboard shortcuts

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