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 ¶
func (m *MockconservativeState) EXPECT() *MockconservativeStateMockRecorder
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 ¶
func (m *MockproposalOracle) EXPECT() *MockproposalOracleMockRecorder
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 ¶
func (m *MockvotesEncoder) EXPECT() *MockvotesEncoderMockRecorder
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.Votes, error)
EncodeVotes 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.