core_mock

package
v0.0.0-...-376a440 Latest Latest
Warning

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

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

Documentation

Overview

Package core_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChain

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

MockChain is a mock of Chain interface

func NewMockChain

func NewMockChain(ctrl *gomock.Controller) *MockChain

NewMockChain creates a new mock instance

func (*MockChain) AllDelaytx

func (m *MockChain) AllDelaytx() ([]*tx.Tx, error)

AllDelaytx mocks base method

func (*MockChain) CheckLength

func (m *MockChain) CheckLength()

CheckLength mocks base method

func (*MockChain) Close

func (m *MockChain) Close()

Close mocks base method

func (*MockChain) Draw

func (m *MockChain) Draw(arg0, arg1 int64) string

Draw mocks base method

func (*MockChain) EXPECT

func (m *MockChain) EXPECT() *MockChainMockRecorder

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

func (*MockChain) GetBlockByHash

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

GetBlockByHash mocks base method

func (*MockChain) GetBlockByNumber

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

GetBlockByNumber mocks base method

func (*MockChain) GetBlockNumberByTxHash

func (m *MockChain) GetBlockNumberByTxHash(arg0 []byte) (int64, error)

GetBlockNumberByTxHash mocks base method

func (*MockChain) GetHashByNumber

func (m *MockChain) GetHashByNumber(arg0 int64) ([]byte, error)

GetHashByNumber mocks base method

func (*MockChain) GetReceipt

func (m *MockChain) GetReceipt(arg0 []byte) (*tx.TxReceipt, error)

GetReceipt mocks base method

func (*MockChain) GetReceiptByTxHash

func (m *MockChain) GetReceiptByTxHash(arg0 []byte) (*tx.TxReceipt, error)

GetReceiptByTxHash mocks base method

func (*MockChain) GetTx

func (m *MockChain) GetTx(arg0 []byte) (*tx.Tx, error)

GetTx mocks base method

func (*MockChain) HasReceipt

func (m *MockChain) HasReceipt(arg0 []byte) (bool, error)

HasReceipt mocks base method

func (*MockChain) HasTx

func (m *MockChain) HasTx(arg0 []byte) (bool, error)

HasTx mocks base method

func (*MockChain) Length

func (m *MockChain) Length() int64

Length mocks base method

func (*MockChain) Push

func (m *MockChain) Push(arg0 *block.Block) error

Push mocks base method

func (*MockChain) SetLength

func (m *MockChain) SetLength(arg0 int64)

SetLength mocks base method

func (*MockChain) Size

func (m *MockChain) Size() (int64, error)

Size mocks base method

func (*MockChain) Top

func (m *MockChain) Top() (*block.Block, error)

Top mocks base method

func (*MockChain) TxTotal

func (m *MockChain) TxTotal() int64

TxTotal mocks base method

type MockChainMockRecorder

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

MockChainMockRecorder is the mock recorder for MockChain

func (*MockChainMockRecorder) AllDelaytx

func (mr *MockChainMockRecorder) AllDelaytx() *gomock.Call

AllDelaytx indicates an expected call of AllDelaytx

func (*MockChainMockRecorder) CheckLength

func (mr *MockChainMockRecorder) CheckLength() *gomock.Call

CheckLength indicates an expected call of CheckLength

func (*MockChainMockRecorder) Close

func (mr *MockChainMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockChainMockRecorder) Draw

func (mr *MockChainMockRecorder) Draw(arg0, arg1 interface{}) *gomock.Call

Draw indicates an expected call of Draw

func (*MockChainMockRecorder) GetBlockByHash

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

GetBlockByHash indicates an expected call of GetBlockByHash

func (*MockChainMockRecorder) GetBlockByNumber

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

GetBlockByNumber indicates an expected call of GetBlockByNumber

func (*MockChainMockRecorder) GetBlockNumberByTxHash

func (mr *MockChainMockRecorder) GetBlockNumberByTxHash(arg0 interface{}) *gomock.Call

GetBlockNumberByTxHash indicates an expected call of GetBlockNumberByTxHash

func (*MockChainMockRecorder) GetHashByNumber

func (mr *MockChainMockRecorder) GetHashByNumber(arg0 interface{}) *gomock.Call

GetHashByNumber indicates an expected call of GetHashByNumber

func (*MockChainMockRecorder) GetReceipt

func (mr *MockChainMockRecorder) GetReceipt(arg0 interface{}) *gomock.Call

GetReceipt indicates an expected call of GetReceipt

func (*MockChainMockRecorder) GetReceiptByTxHash

func (mr *MockChainMockRecorder) GetReceiptByTxHash(arg0 interface{}) *gomock.Call

GetReceiptByTxHash indicates an expected call of GetReceiptByTxHash

func (*MockChainMockRecorder) GetTx

func (mr *MockChainMockRecorder) GetTx(arg0 interface{}) *gomock.Call

GetTx indicates an expected call of GetTx

func (*MockChainMockRecorder) HasReceipt

func (mr *MockChainMockRecorder) HasReceipt(arg0 interface{}) *gomock.Call

HasReceipt indicates an expected call of HasReceipt

func (*MockChainMockRecorder) HasTx

func (mr *MockChainMockRecorder) HasTx(arg0 interface{}) *gomock.Call

HasTx indicates an expected call of HasTx

func (*MockChainMockRecorder) Length

func (mr *MockChainMockRecorder) Length() *gomock.Call

Length indicates an expected call of Length

func (*MockChainMockRecorder) Push

func (mr *MockChainMockRecorder) Push(arg0 interface{}) *gomock.Call

Push indicates an expected call of Push

func (*MockChainMockRecorder) SetLength

func (mr *MockChainMockRecorder) SetLength(arg0 interface{}) *gomock.Call

SetLength indicates an expected call of SetLength

func (*MockChainMockRecorder) Size

func (mr *MockChainMockRecorder) Size() *gomock.Call

Size indicates an expected call of Size

func (*MockChainMockRecorder) Top

func (mr *MockChainMockRecorder) Top() *gomock.Call

Top indicates an expected call of Top

func (*MockChainMockRecorder) TxTotal

func (mr *MockChainMockRecorder) TxTotal() *gomock.Call

TxTotal indicates an expected call of TxTotal

Jump to

Keyboard shortcuts

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