mocks

package
v0.2.20-beta.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 5 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 MockconservativeState

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

MockconservativeState is a mock of conservativeState interface.

func NewMockconservativeState

func NewMockconservativeState(ctrl *gomock.Controller) *MockconservativeState

NewMockconservativeState creates a new mock instance.

func (*MockconservativeState) EXPECT

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

func (*MockconservativeState) SelectProposalTXs

func (m *MockconservativeState) SelectProposalTXs(arg0 types.LayerID, arg1 int) []types.TransactionID

SelectProposalTXs mocks base method.

type MockconservativeStateMockRecorder

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

MockconservativeStateMockRecorder is the mock recorder for MockconservativeState.

func (*MockconservativeStateMockRecorder) SelectProposalTXs

func (mr *MockconservativeStateMockRecorder) SelectProposalTXs(arg0, arg1 interface{}) *gomock.Call

SelectProposalTXs indicates an expected call of SelectProposalTXs.

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 MockvotesEncoder

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

MockvotesEncoder is a mock of votesEncoder interface.

func NewMockvotesEncoder

func NewMockvotesEncoder(ctrl *gomock.Controller) *MockvotesEncoder

NewMockvotesEncoder creates a new mock instance.

func (*MockvotesEncoder) EXPECT

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

func (*MockvotesEncoder) EncodeVotes

func (m *MockvotesEncoder) EncodeVotes(arg0 context.Context, arg1 ...tortoise.EncodeVotesOpts) (*types.Opinion, error)

EncodeVotes mocks base method.

func (*MockvotesEncoder) LatestComplete

func (m *MockvotesEncoder) LatestComplete() types.LayerID

LatestComplete mocks base method.

func (*MockvotesEncoder) TallyVotes

func (m *MockvotesEncoder) TallyVotes(arg0 context.Context, arg1 types.LayerID)

TallyVotes mocks base method.

type MockvotesEncoderMockRecorder

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

MockvotesEncoderMockRecorder is the mock recorder for MockvotesEncoder.

func (*MockvotesEncoderMockRecorder) EncodeVotes

func (mr *MockvotesEncoderMockRecorder) EncodeVotes(arg0 interface{}, arg1 ...interface{}) *gomock.Call

EncodeVotes indicates an expected call of EncodeVotes.

func (*MockvotesEncoderMockRecorder) LatestComplete

func (mr *MockvotesEncoderMockRecorder) LatestComplete() *gomock.Call

LatestComplete indicates an expected call of LatestComplete.

func (*MockvotesEncoderMockRecorder) TallyVotes

func (mr *MockvotesEncoderMockRecorder) TallyVotes(arg0, arg1 interface{}) *gomock.Call

TallyVotes indicates an expected call of TallyVotes.

Jump to

Keyboard shortcuts

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