mock_actpool

package
v0.5.0-rc10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_actpool is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockActPool

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

MockActPool is a mock of ActPool interface

func NewMockActPool

func NewMockActPool(ctrl *gomock.Controller) *MockActPool

NewMockActPool creates a new mock instance

func (*MockActPool) Add added in v0.4.0

func (m *MockActPool) Add(act action.SealedEnvelope) error

Add mocks base method

func (*MockActPool) AddActionEnvelopeValidators added in v0.4.4

func (m *MockActPool) AddActionEnvelopeValidators(arg0 ...protocol.ActionEnvelopeValidator)

AddActionEnvelopeValidators mocks base method

func (*MockActPool) AddActionValidators added in v0.4.0

func (m *MockActPool) AddActionValidators(arg0 ...protocol.ActionValidator)

AddActionValidators mocks base method

func (*MockActPool) EXPECT

func (m *MockActPool) EXPECT() *MockActPoolMockRecorder

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

func (*MockActPool) GetActionByHash

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

GetActionByHash mocks base method

func (*MockActPool) GetCapacity added in v0.4.0

func (m *MockActPool) GetCapacity() uint64

GetCapacity mocks base method

func (*MockActPool) GetGasCapacity added in v0.5.0

func (m *MockActPool) GetGasCapacity() uint64

GetGasCapacity mocks base method

func (*MockActPool) GetGasSize added in v0.5.0

func (m *MockActPool) GetGasSize() uint64

GetGasSize mocks base method

func (*MockActPool) GetPendingNonce

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

GetPendingNonce mocks base method

func (*MockActPool) GetSize added in v0.4.0

func (m *MockActPool) GetSize() uint64

GetSize mocks base method

func (*MockActPool) GetUnconfirmedActs

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

GetUnconfirmedActs mocks base method

func (*MockActPool) PendingActionMap added in v0.4.4

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

PendingActionMap mocks base method

func (*MockActPool) Reset

func (m *MockActPool) Reset()

Reset mocks base method

type MockActPoolMockRecorder

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

MockActPoolMockRecorder is the mock recorder for MockActPool

func (*MockActPoolMockRecorder) Add added in v0.4.0

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

Add indicates an expected call of Add

func (*MockActPoolMockRecorder) AddActionEnvelopeValidators added in v0.4.4

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

AddActionEnvelopeValidators indicates an expected call of AddActionEnvelopeValidators

func (*MockActPoolMockRecorder) AddActionValidators added in v0.4.0

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

AddActionValidators indicates an expected call of AddActionValidators

func (*MockActPoolMockRecorder) GetActionByHash

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

GetActionByHash indicates an expected call of GetActionByHash

func (*MockActPoolMockRecorder) GetCapacity added in v0.4.0

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

GetCapacity indicates an expected call of GetCapacity

func (*MockActPoolMockRecorder) GetGasCapacity added in v0.5.0

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

GetGasCapacity indicates an expected call of GetGasCapacity

func (*MockActPoolMockRecorder) GetGasSize added in v0.5.0

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

GetGasSize indicates an expected call of GetGasSize

func (*MockActPoolMockRecorder) GetPendingNonce

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

GetPendingNonce indicates an expected call of GetPendingNonce

func (*MockActPoolMockRecorder) GetSize added in v0.4.0

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

GetSize indicates an expected call of GetSize

func (*MockActPoolMockRecorder) GetUnconfirmedActs

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

GetUnconfirmedActs indicates an expected call of GetUnconfirmedActs

func (*MockActPoolMockRecorder) PendingActionMap added in v0.4.4

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

PendingActionMap indicates an expected call of PendingActionMap

func (*MockActPoolMockRecorder) Reset

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

Reset indicates an expected call of Reset

Jump to

Keyboard shortcuts

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