mocks

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlockChain

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

MockBlockChain is a mock of BlockChain interface

func NewMockBlockChain

func NewMockBlockChain(ctrl *gomock.Controller) *MockBlockChain

NewMockBlockChain creates a new mock instance

func (*MockBlockChain) CurrentHeader

func (m *MockBlockChain) CurrentHeader() *types.Header

CurrentHeader mocks base method

func (*MockBlockChain) EXPECT

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

func (*MockBlockChain) GetBlockByNumber

func (m *MockBlockChain) GetBlockByNumber(arg0 uint64) *types.Block

GetBlockByNumber mocks base method

func (*MockBlockChain) GetReceiptsByBlockHash

func (m *MockBlockChain) GetReceiptsByBlockHash(arg0 common.Hash) types.Receipts

GetReceiptsByBlockHash mocks base method

func (*MockBlockChain) SubscribeChainEvent

func (m *MockBlockChain) SubscribeChainEvent(arg0 chan<- blockchain.ChainEvent) event.Subscription

SubscribeChainEvent mocks base method

type MockBlockChainMockRecorder

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

MockBlockChainMockRecorder is the mock recorder for MockBlockChain

func (*MockBlockChainMockRecorder) CurrentHeader

func (mr *MockBlockChainMockRecorder) CurrentHeader() *gomock.Call

CurrentHeader indicates an expected call of CurrentHeader

func (*MockBlockChainMockRecorder) GetBlockByNumber

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

GetBlockByNumber indicates an expected call of GetBlockByNumber

func (*MockBlockChainMockRecorder) GetReceiptsByBlockHash

func (mr *MockBlockChainMockRecorder) GetReceiptsByBlockHash(arg0 interface{}) *gomock.Call

GetReceiptsByBlockHash indicates an expected call of GetReceiptsByBlockHash

func (*MockBlockChainMockRecorder) SubscribeChainEvent

func (mr *MockBlockChainMockRecorder) SubscribeChainEvent(arg0 interface{}) *gomock.Call

SubscribeChainEvent indicates an expected call of SubscribeChainEvent

type MockCheckpointDB added in v1.5.3

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

MockCheckpointDB is a mock of CheckpointDB interface

func NewMockCheckpointDB added in v1.5.3

func NewMockCheckpointDB(ctrl *gomock.Controller) *MockCheckpointDB

NewMockCheckpointDB creates a new mock instance

func (*MockCheckpointDB) EXPECT added in v1.5.3

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

func (*MockCheckpointDB) ReadCheckpoint added in v1.5.3

func (m *MockCheckpointDB) ReadCheckpoint() (int64, error)

ReadCheckpoint mocks base method

func (*MockCheckpointDB) WriteCheckpoint added in v1.5.3

func (m *MockCheckpointDB) WriteCheckpoint(arg0 int64) error

WriteCheckpoint mocks base method

type MockCheckpointDBMockRecorder added in v1.5.3

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

MockCheckpointDBMockRecorder is the mock recorder for MockCheckpointDB

func (*MockCheckpointDBMockRecorder) ReadCheckpoint added in v1.5.3

func (mr *MockCheckpointDBMockRecorder) ReadCheckpoint() *gomock.Call

ReadCheckpoint indicates an expected call of ReadCheckpoint

func (*MockCheckpointDBMockRecorder) WriteCheckpoint added in v1.5.3

func (mr *MockCheckpointDBMockRecorder) WriteCheckpoint(arg0 interface{}) *gomock.Call

WriteCheckpoint indicates an expected call of WriteCheckpoint

type MockComponentSetter added in v1.5.3

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

MockComponentSetter is a mock of ComponentSetter interface

func NewMockComponentSetter added in v1.5.3

func NewMockComponentSetter(ctrl *gomock.Controller) *MockComponentSetter

NewMockComponentSetter creates a new mock instance

func (*MockComponentSetter) EXPECT added in v1.5.3

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

func (*MockComponentSetter) SetComponent added in v1.5.3

func (m *MockComponentSetter) SetComponent(arg0 interface{})

SetComponent mocks base method

type MockComponentSetterMockRecorder added in v1.5.3

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

MockComponentSetterMockRecorder is the mock recorder for MockComponentSetter

func (*MockComponentSetterMockRecorder) SetComponent added in v1.5.3

func (mr *MockComponentSetterMockRecorder) SetComponent(arg0 interface{}) *gomock.Call

SetComponent indicates an expected call of SetComponent

type MockRepository

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

MockRepository is a mock of Repository interface

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance

func (*MockRepository) EXPECT

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

func (*MockRepository) HandleChainEvent added in v1.5.3

func (m *MockRepository) HandleChainEvent(arg0 blockchain.ChainEvent, arg1 types.RequestType) error

HandleChainEvent mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) HandleChainEvent added in v1.5.3

func (mr *MockRepositoryMockRecorder) HandleChainEvent(arg0, arg1 interface{}) *gomock.Call

HandleChainEvent indicates an expected call of HandleChainEvent

Jump to

Keyboard shortcuts

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