mock

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ledger

type Ledger struct {
	mock.Mock
}

Ledger is an autogenerated mock type for the Ledger type

func (*Ledger) Delete

func (_m *Ledger) Delete(owner string, controller string, key string) error

Delete provides a mock function with given fields: owner, controller, key

func (*Ledger) Get

func (_m *Ledger) Get(owner string, controller string, key string) ([]byte, error)

Get provides a mock function with given fields: owner, controller, key

func (*Ledger) Set

func (_m *Ledger) Set(owner string, controller string, key string, value []byte) error

Set provides a mock function with given fields: owner, controller, key, value

func (*Ledger) Touch

func (_m *Ledger) Touch(owner string, controller string, key string) error

Touch provides a mock function with given fields: owner, controller, key

type View

type View struct {
	mock.Mock
}

View is an autogenerated mock type for the View type

func (*View) AllRegisters

func (_m *View) AllRegisters() []flow.RegisterID

AllRegisters provides a mock function with given fields:

func (*View) Delete

func (_m *View) Delete(owner string, controller string, key string) error

Delete provides a mock function with given fields: owner, controller, key

func (*View) DropDelta

func (_m *View) DropDelta()

DropDelta provides a mock function with given fields:

func (*View) Get

func (_m *View) Get(owner string, controller string, key string) ([]byte, error)

Get provides a mock function with given fields: owner, controller, key

func (*View) MergeView

func (_m *View) MergeView(child state.View) error

MergeView provides a mock function with given fields: child

func (*View) NewChild

func (_m *View) NewChild() state.View

NewChild provides a mock function with given fields:

func (*View) RegisterUpdates

func (_m *View) RegisterUpdates() ([]flow.RegisterID, [][]byte)

RegisterUpdates provides a mock function with given fields:

func (*View) Set

func (_m *View) Set(owner string, controller string, key string, value []byte) error

Set provides a mock function with given fields: owner, controller, key, value

func (*View) Touch

func (_m *View) Touch(owner string, controller string, key string) error

Touch provides a mock function with given fields: owner, controller, key

Jump to

Keyboard shortcuts

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