mock_statedb

package
v1.10.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_statedb is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTrieNodeCache

type MockTrieNodeCache struct {
	// contains filtered or unexported fields
}

MockTrieNodeCache is a mock of TrieNodeCache interface

func NewMockTrieNodeCache

func NewMockTrieNodeCache(ctrl *gomock.Controller) *MockTrieNodeCache

NewMockTrieNodeCache creates a new mock instance

func (*MockTrieNodeCache) Close

func (m *MockTrieNodeCache) Close() error

Close mocks base method

func (*MockTrieNodeCache) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTrieNodeCache) Get

func (m *MockTrieNodeCache) Get(arg0 []byte) []byte

Get mocks base method

func (*MockTrieNodeCache) Has

func (m *MockTrieNodeCache) Has(arg0 []byte) ([]byte, bool)

Has mocks base method

func (*MockTrieNodeCache) SaveToFile

func (m *MockTrieNodeCache) SaveToFile(arg0 string, arg1 int) error

SaveToFile mocks base method

func (*MockTrieNodeCache) Set

func (m *MockTrieNodeCache) Set(arg0, arg1 []byte)

Set mocks base method

func (*MockTrieNodeCache) UpdateStats

func (m *MockTrieNodeCache) UpdateStats() interface{}

UpdateStats mocks base method

type MockTrieNodeCacheMockRecorder

type MockTrieNodeCacheMockRecorder struct {
	// contains filtered or unexported fields
}

MockTrieNodeCacheMockRecorder is the mock recorder for MockTrieNodeCache

func (*MockTrieNodeCacheMockRecorder) Close

Close indicates an expected call of Close

func (*MockTrieNodeCacheMockRecorder) Get

func (mr *MockTrieNodeCacheMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTrieNodeCacheMockRecorder) Has

func (mr *MockTrieNodeCacheMockRecorder) Has(arg0 interface{}) *gomock.Call

Has indicates an expected call of Has

func (*MockTrieNodeCacheMockRecorder) SaveToFile

func (mr *MockTrieNodeCacheMockRecorder) SaveToFile(arg0, arg1 interface{}) *gomock.Call

SaveToFile indicates an expected call of SaveToFile

func (*MockTrieNodeCacheMockRecorder) Set

func (mr *MockTrieNodeCacheMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockTrieNodeCacheMockRecorder) UpdateStats

func (mr *MockTrieNodeCacheMockRecorder) UpdateStats() *gomock.Call

UpdateStats indicates an expected call of UpdateStats

Jump to

Keyboard shortcuts

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