mock

package
v0.0.0-...-5fdeb2f Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlockCache

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

MockBlockCache is a mock of BlockCache interface

func NewMockBlockCache

func NewMockBlockCache(ctrl *gomock.Controller) *MockBlockCache

NewMockBlockCache creates a new mock instance

func (*MockBlockCache) Add

Add mocks base method

func (*MockBlockCache) AddGenesis

func (m *MockBlockCache) AddGenesis(arg0 *block.Block)

AddGenesis mocks base method

func (*MockBlockCache) AddNodeToWAL

func (m *MockBlockCache) AddNodeToWAL(arg0 *blockcache.BlockCacheNode)

AddNodeToWAL mocks base method

func (*MockBlockCache) Del

Del mocks base method

func (*MockBlockCache) Draw

func (m *MockBlockCache) Draw() string

Draw mocks base method

func (*MockBlockCache) EXPECT

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

func (*MockBlockCache) GetBlockByHash

func (m *MockBlockCache) GetBlockByHash(arg0 []byte) (*block.Block, error)

GetBlockByHash mocks base method

func (*MockBlockCache) GetBlockByNumber

func (m *MockBlockCache) GetBlockByNumber(arg0 int64) (*block.Block, error)

GetBlockByNumber mocks base method

func (*MockBlockCache) Head

Head mocks base method

func (m *MockBlockCache) Link(arg0 *blockcache.BlockCacheNode)

Link mocks base method

func (*MockBlockCache) LinkedRoot

func (m *MockBlockCache) LinkedRoot() *blockcache.BlockCacheNode

LinkedRoot mocks base method

func (*MockBlockCache) Recover

func (m *MockBlockCache) Recover(arg0 blockcache.ConAlgo) error

Recover mocks base method

func (*MockBlockCache) UpdateLib

func (m *MockBlockCache) UpdateLib(arg0 *blockcache.BlockCacheNode)

UpdateLib mocks base method

type MockBlockCacheMockRecorder

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

MockBlockCacheMockRecorder is the mock recorder for MockBlockCache

func (*MockBlockCacheMockRecorder) Add

func (mr *MockBlockCacheMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockBlockCacheMockRecorder) AddGenesis

func (mr *MockBlockCacheMockRecorder) AddGenesis(arg0 interface{}) *gomock.Call

AddGenesis indicates an expected call of AddGenesis

func (*MockBlockCacheMockRecorder) AddNodeToWAL

func (mr *MockBlockCacheMockRecorder) AddNodeToWAL(arg0 interface{}) *gomock.Call

AddNodeToWAL indicates an expected call of AddNodeToWAL

func (*MockBlockCacheMockRecorder) Del

func (mr *MockBlockCacheMockRecorder) Del(arg0 interface{}) *gomock.Call

Del indicates an expected call of Del

func (*MockBlockCacheMockRecorder) Draw

Draw indicates an expected call of Draw

func (*MockBlockCacheMockRecorder) GetBlockByHash

func (mr *MockBlockCacheMockRecorder) GetBlockByHash(arg0 interface{}) *gomock.Call

GetBlockByHash indicates an expected call of GetBlockByHash

func (*MockBlockCacheMockRecorder) GetBlockByNumber

func (mr *MockBlockCacheMockRecorder) GetBlockByNumber(arg0 interface{}) *gomock.Call

GetBlockByNumber indicates an expected call of GetBlockByNumber

func (*MockBlockCacheMockRecorder) Head

Head indicates an expected call of Head

func (mr *MockBlockCacheMockRecorder) Link(arg0 interface{}) *gomock.Call

Link indicates an expected call of Link

func (*MockBlockCacheMockRecorder) LinkedRoot

func (mr *MockBlockCacheMockRecorder) LinkedRoot() *gomock.Call

LinkedRoot indicates an expected call of LinkedRoot

func (*MockBlockCacheMockRecorder) Recover

func (mr *MockBlockCacheMockRecorder) Recover(arg0 interface{}) *gomock.Call

Recover indicates an expected call of Recover

func (*MockBlockCacheMockRecorder) UpdateLib

func (mr *MockBlockCacheMockRecorder) UpdateLib(arg0 interface{}) *gomock.Call

UpdateLib indicates an expected call of UpdateLib

Jump to

Keyboard shortcuts

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