iotex-core: github.com/iotexproject/iotex-core/test/mock/mock_actpool Index | Files

package mock_actpool

import "github.com/iotexproject/iotex-core/test/mock/mock_actpool"

Package mock_actpool is a generated GoMock package.

Index

Package Files

mock_actpool.go

type MockActPool Uses

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

MockActPool is a mock of ActPool interface

func NewMockActPool Uses

func NewMockActPool(ctrl *gomock.Controller) *MockActPool

NewMockActPool creates a new mock instance

func (*MockActPool) Add Uses

func (m *MockActPool) Add(ctx context.Context, act action.SealedEnvelope) error

Add mocks base method

func (*MockActPool) AddActionEnvelopeValidators Uses

func (m *MockActPool) AddActionEnvelopeValidators(arg0 ...action.SealedEnvelopeValidator)

AddActionEnvelopeValidators mocks base method

func (*MockActPool) DeleteAction Uses

func (m *MockActPool) DeleteAction(arg0 address.Address)

DeleteAction mocks base method

func (*MockActPool) EXPECT Uses

func (m *MockActPool) EXPECT() *MockActPoolMockRecorder

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

func (*MockActPool) GetActionByHash Uses

func (m *MockActPool) GetActionByHash(hash hash.Hash256) (action.SealedEnvelope, error)

GetActionByHash mocks base method

func (*MockActPool) GetCapacity Uses

func (m *MockActPool) GetCapacity() uint64

GetCapacity mocks base method

func (*MockActPool) GetGasCapacity Uses

func (m *MockActPool) GetGasCapacity() uint64

GetGasCapacity mocks base method

func (*MockActPool) GetGasSize Uses

func (m *MockActPool) GetGasSize() uint64

GetGasSize mocks base method

func (*MockActPool) GetPendingNonce Uses

func (m *MockActPool) GetPendingNonce(addr string) (uint64, error)

GetPendingNonce mocks base method

func (*MockActPool) GetSize Uses

func (m *MockActPool) GetSize() uint64

GetSize mocks base method

func (*MockActPool) GetUnconfirmedActs Uses

func (m *MockActPool) GetUnconfirmedActs(addr string) []action.SealedEnvelope

GetUnconfirmedActs mocks base method

func (*MockActPool) PendingActionMap Uses

func (m *MockActPool) PendingActionMap() map[string][]action.SealedEnvelope

PendingActionMap mocks base method

func (*MockActPool) ReceiveBlock Uses

func (m *MockActPool) ReceiveBlock(arg0 *block.Block) error

ReceiveBlock mocks base method

func (*MockActPool) Reset Uses

func (m *MockActPool) Reset()

Reset mocks base method

func (*MockActPool) Validate Uses

func (m *MockActPool) Validate(arg0 context.Context, arg1 action.SealedEnvelope) error

Validate mocks base method

type MockActPoolMockRecorder Uses

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

MockActPoolMockRecorder is the mock recorder for MockActPool

func (*MockActPoolMockRecorder) Add Uses

func (mr *MockActPoolMockRecorder) Add(ctx, act interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockActPoolMockRecorder) AddActionEnvelopeValidators Uses

func (mr *MockActPoolMockRecorder) AddActionEnvelopeValidators(arg0 ...interface{}) *gomock.Call

AddActionEnvelopeValidators indicates an expected call of AddActionEnvelopeValidators

func (*MockActPoolMockRecorder) DeleteAction Uses

func (mr *MockActPoolMockRecorder) DeleteAction(arg0 interface{}) *gomock.Call

DeleteAction indicates an expected call of DeleteAction

func (*MockActPoolMockRecorder) GetActionByHash Uses

func (mr *MockActPoolMockRecorder) GetActionByHash(hash interface{}) *gomock.Call

GetActionByHash indicates an expected call of GetActionByHash

func (*MockActPoolMockRecorder) GetCapacity Uses

func (mr *MockActPoolMockRecorder) GetCapacity() *gomock.Call

GetCapacity indicates an expected call of GetCapacity

func (*MockActPoolMockRecorder) GetGasCapacity Uses

func (mr *MockActPoolMockRecorder) GetGasCapacity() *gomock.Call

GetGasCapacity indicates an expected call of GetGasCapacity

func (*MockActPoolMockRecorder) GetGasSize Uses

func (mr *MockActPoolMockRecorder) GetGasSize() *gomock.Call

GetGasSize indicates an expected call of GetGasSize

func (*MockActPoolMockRecorder) GetPendingNonce Uses

func (mr *MockActPoolMockRecorder) GetPendingNonce(addr interface{}) *gomock.Call

GetPendingNonce indicates an expected call of GetPendingNonce

func (*MockActPoolMockRecorder) GetSize Uses

func (mr *MockActPoolMockRecorder) GetSize() *gomock.Call

GetSize indicates an expected call of GetSize

func (*MockActPoolMockRecorder) GetUnconfirmedActs Uses

func (mr *MockActPoolMockRecorder) GetUnconfirmedActs(addr interface{}) *gomock.Call

GetUnconfirmedActs indicates an expected call of GetUnconfirmedActs

func (*MockActPoolMockRecorder) PendingActionMap Uses

func (mr *MockActPoolMockRecorder) PendingActionMap() *gomock.Call

PendingActionMap indicates an expected call of PendingActionMap

func (*MockActPoolMockRecorder) ReceiveBlock Uses

func (mr *MockActPoolMockRecorder) ReceiveBlock(arg0 interface{}) *gomock.Call

ReceiveBlock indicates an expected call of ReceiveBlock

func (*MockActPoolMockRecorder) Reset Uses

func (mr *MockActPoolMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset

func (*MockActPoolMockRecorder) Validate Uses

func (mr *MockActPoolMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call

Validate indicates an expected call of Validate

Package mock_actpool imports 7 packages (graph). Updated 2020-09-24. Refresh now. Tools for package owners.