mocks

package
v0.2.13-beta.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 MockactivationDB

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

MockactivationDB is a mock of activationDB interface.

func NewMockactivationDB

func NewMockactivationDB(ctrl *gomock.Controller) *MockactivationDB

NewMockactivationDB creates a new mock instance.

func (*MockactivationDB) EXPECT

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

func (*MockactivationDB) GetAtxHeader

func (m *MockactivationDB) GetAtxHeader(arg0 types.ATXID) (*types.ActivationTxHeader, error)

GetAtxHeader mocks base method.

func (*MockactivationDB) GetEpochWeight

func (m *MockactivationDB) GetEpochWeight(arg0 types.EpochID) (uint64, []types.ATXID, error)

GetEpochWeight mocks base method.

func (*MockactivationDB) GetNodeAtxIDForEpoch

func (m *MockactivationDB) GetNodeAtxIDForEpoch(nodeID types.NodeID, targetEpoch types.EpochID) (types.ATXID, error)

GetNodeAtxIDForEpoch mocks base method.

type MockactivationDBMockRecorder

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

MockactivationDBMockRecorder is the mock recorder for MockactivationDB.

func (*MockactivationDBMockRecorder) GetAtxHeader

func (mr *MockactivationDBMockRecorder) GetAtxHeader(arg0 interface{}) *gomock.Call

GetAtxHeader indicates an expected call of GetAtxHeader.

func (*MockactivationDBMockRecorder) GetEpochWeight

func (mr *MockactivationDBMockRecorder) GetEpochWeight(arg0 interface{}) *gomock.Call

GetEpochWeight indicates an expected call of GetEpochWeight.

func (*MockactivationDBMockRecorder) GetNodeAtxIDForEpoch

func (mr *MockactivationDBMockRecorder) GetNodeAtxIDForEpoch(nodeID, targetEpoch interface{}) *gomock.Call

GetNodeAtxIDForEpoch indicates an expected call of GetNodeAtxIDForEpoch.

type MockbaseBallotProvider

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

MockbaseBallotProvider is a mock of baseBallotProvider interface.

func NewMockbaseBallotProvider

func NewMockbaseBallotProvider(ctrl *gomock.Controller) *MockbaseBallotProvider

NewMockbaseBallotProvider creates a new mock instance.

func (*MockbaseBallotProvider) BaseBallot

func (m *MockbaseBallotProvider) BaseBallot(arg0 context.Context) (*types.Votes, error)

BaseBallot mocks base method.

func (*MockbaseBallotProvider) EXPECT

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

type MockbaseBallotProviderMockRecorder

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

MockbaseBallotProviderMockRecorder is the mock recorder for MockbaseBallotProvider.

func (*MockbaseBallotProviderMockRecorder) BaseBallot

func (mr *MockbaseBallotProviderMockRecorder) BaseBallot(arg0 interface{}) *gomock.Call

BaseBallot indicates an expected call of BaseBallot.

type Mockprojector

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

Mockprojector is a mock of projector interface.

func NewMockprojector

func NewMockprojector(ctrl *gomock.Controller) *Mockprojector

NewMockprojector creates a new mock instance.

func (*Mockprojector) EXPECT

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

func (*Mockprojector) GetProjection

func (m *Mockprojector) GetProjection(arg0 types.Address) (uint64, uint64, error)

GetProjection mocks base method.

type MockprojectorMockRecorder

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

MockprojectorMockRecorder is the mock recorder for Mockprojector.

func (*MockprojectorMockRecorder) GetProjection

func (mr *MockprojectorMockRecorder) GetProjection(arg0 interface{}) *gomock.Call

GetProjection indicates an expected call of GetProjection.

type MockproposalDB

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

MockproposalDB is a mock of proposalDB interface.

func NewMockproposalDB

func NewMockproposalDB(ctrl *gomock.Controller) *MockproposalDB

NewMockproposalDB creates a new mock instance.

func (*MockproposalDB) AddProposal

func (m *MockproposalDB) AddProposal(arg0 context.Context, arg1 *types.Proposal) error

AddProposal mocks base method.

func (*MockproposalDB) EXPECT

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

type MockproposalDBMockRecorder

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

MockproposalDBMockRecorder is the mock recorder for MockproposalDB.

func (*MockproposalDBMockRecorder) AddProposal

func (mr *MockproposalDBMockRecorder) AddProposal(arg0, arg1 interface{}) *gomock.Call

AddProposal indicates an expected call of AddProposal.

type MockproposalOracle

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

MockproposalOracle is a mock of proposalOracle interface.

func NewMockproposalOracle

func NewMockproposalOracle(ctrl *gomock.Controller) *MockproposalOracle

NewMockproposalOracle creates a new mock instance.

func (*MockproposalOracle) EXPECT

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

func (*MockproposalOracle) GetProposalEligibility

func (m *MockproposalOracle) GetProposalEligibility(arg0 types.LayerID, arg1 types.Beacon) (types.ATXID, []types.ATXID, []types.VotingEligibilityProof, error)

GetProposalEligibility mocks base method.

type MockproposalOracleMockRecorder

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

MockproposalOracleMockRecorder is the mock recorder for MockproposalOracle.

func (*MockproposalOracleMockRecorder) GetProposalEligibility

func (mr *MockproposalOracleMockRecorder) GetProposalEligibility(arg0, arg1 interface{}) *gomock.Call

GetProposalEligibility indicates an expected call of GetProposalEligibility.

type MocktxPool

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

MocktxPool is a mock of txPool interface.

func NewMocktxPool

func NewMocktxPool(ctrl *gomock.Controller) *MocktxPool

NewMocktxPool creates a new mock instance.

func (*MocktxPool) EXPECT

func (m *MocktxPool) EXPECT() *MocktxPoolMockRecorder

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

func (*MocktxPool) SelectTopNTransactions

func (m *MocktxPool) SelectTopNTransactions(numOfTxs int, getState func(types.Address) (uint64, uint64, error)) ([]types.TransactionID, []*types.Transaction, error)

SelectTopNTransactions mocks base method.

type MocktxPoolMockRecorder

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

MocktxPoolMockRecorder is the mock recorder for MocktxPool.

func (*MocktxPoolMockRecorder) SelectTopNTransactions

func (mr *MocktxPoolMockRecorder) SelectTopNTransactions(numOfTxs, getState interface{}) *gomock.Call

SelectTopNTransactions indicates an expected call of SelectTopNTransactions.

Jump to

Keyboard shortcuts

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