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

mock

package
v0.23.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 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 (*ComputationManager) ComputeBlock

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

func (*ComputationManager) ExecuteScript

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

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

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