mocks

package
v1.5.2-rc.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

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 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) InsertContracts

func (m *MockRepository) InsertContracts(arg0 blockchain.ChainEvent) error

InsertContracts mocks base method

func (*MockRepository) InsertTokenTransfers

func (m *MockRepository) InsertTokenTransfers(arg0 blockchain.ChainEvent) error

InsertTokenTransfers mocks base method

func (*MockRepository) InsertTraceResults

func (m *MockRepository) InsertTraceResults(arg0 blockchain.ChainEvent) error

InsertTraceResults mocks base method

func (*MockRepository) InsertTransactions

func (m *MockRepository) InsertTransactions(arg0 blockchain.ChainEvent) error

InsertTransactions mocks base method

func (*MockRepository) ReadCheckpoint

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

ReadCheckpoint mocks base method

func (*MockRepository) SetComponent

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

SetComponent mocks base method

func (*MockRepository) WriteCheckpoint

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

WriteCheckpoint mocks base method

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository

func (*MockRepositoryMockRecorder) InsertContracts

func (mr *MockRepositoryMockRecorder) InsertContracts(arg0 interface{}) *gomock.Call

InsertContracts indicates an expected call of InsertContracts

func (*MockRepositoryMockRecorder) InsertTokenTransfers

func (mr *MockRepositoryMockRecorder) InsertTokenTransfers(arg0 interface{}) *gomock.Call

InsertTokenTransfers indicates an expected call of InsertTokenTransfers

func (*MockRepositoryMockRecorder) InsertTraceResults

func (mr *MockRepositoryMockRecorder) InsertTraceResults(arg0 interface{}) *gomock.Call

InsertTraceResults indicates an expected call of InsertTraceResults

func (*MockRepositoryMockRecorder) InsertTransactions

func (mr *MockRepositoryMockRecorder) InsertTransactions(arg0 interface{}) *gomock.Call

InsertTransactions indicates an expected call of InsertTransactions

func (*MockRepositoryMockRecorder) ReadCheckpoint

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

ReadCheckpoint indicates an expected call of ReadCheckpoint

func (*MockRepositoryMockRecorder) SetComponent

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

SetComponent indicates an expected call of SetComponent

func (*MockRepositoryMockRecorder) WriteCheckpoint

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

WriteCheckpoint indicates an expected call of WriteCheckpoint

Jump to

Keyboard shortcuts

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