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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockComputer

type BlockComputer struct {
	mock.Mock
}

BlockComputer is an autogenerated mock type for the BlockComputer type

func NewBlockComputer added in v0.26.1

func NewBlockComputer(t NewBlockComputerT) *BlockComputer

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

func (*BlockComputer) ExecuteBlock

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

type NewBlockComputerT added in v0.27.0

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

type NewViewCommitterT added in v0.27.0

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

type NewVirtualMachineT added in v0.27.0

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

type ViewCommitter added in v0.16.0

type ViewCommitter struct {
	mock.Mock
}

ViewCommitter is an autogenerated mock type for the ViewCommitter type

func NewViewCommitter added in v0.26.1

func NewViewCommitter(t NewViewCommitterT) *ViewCommitter

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

func (*ViewCommitter) CommitView added in v0.16.0

CommitView provides a mock function with given fields: _a0, _a1

type VirtualMachine

type VirtualMachine struct {
	mock.Mock
}

VirtualMachine is an autogenerated mock type for the VirtualMachine type

func NewVirtualMachine added in v0.26.1

func NewVirtualMachine(t NewVirtualMachineT) *VirtualMachine

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

func (*VirtualMachine) Run

func (_m *VirtualMachine) Run(_a0 fvm.Context, _a1 fvm.Procedure, _a2 state.View, _a3 *programs.Programs) error

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

Jump to

Keyboard shortcuts

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