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 MockballotDecoder ¶
type MockballotDecoder struct {
// contains filtered or unexported fields
}
MockballotDecoder is a mock of ballotDecoder interface.
func NewMockballotDecoder ¶
func NewMockballotDecoder(ctrl *gomock.Controller) *MockballotDecoder
NewMockballotDecoder creates a new mock instance.
func (*MockballotDecoder) DecodeBallot ¶
func (m *MockballotDecoder) DecodeBallot(arg0 *types.Ballot) (*tortoise.DecodedBallot, error)
DecodeBallot mocks base method.
func (*MockballotDecoder) EXPECT ¶
func (m *MockballotDecoder) EXPECT() *MockballotDecoderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockballotDecoder) StoreBallot ¶
func (m *MockballotDecoder) StoreBallot(arg0 *tortoise.DecodedBallot) error
StoreBallot mocks base method.
type MockballotDecoderMockRecorder ¶
type MockballotDecoderMockRecorder struct {
// contains filtered or unexported fields
}
MockballotDecoderMockRecorder is the mock recorder for MockballotDecoder.
func (*MockballotDecoderMockRecorder) DecodeBallot ¶
func (mr *MockballotDecoderMockRecorder) DecodeBallot(arg0 interface{}) *gomock.Call
DecodeBallot indicates an expected call of DecodeBallot.
func (*MockballotDecoderMockRecorder) StoreBallot ¶
func (mr *MockballotDecoderMockRecorder) StoreBallot(arg0 interface{}) *gomock.Call
StoreBallot indicates an expected call of StoreBallot.
type MockeligibilityValidator ¶
type MockeligibilityValidator struct {
// contains filtered or unexported fields
}
MockeligibilityValidator is a mock of eligibilityValidator interface.
func NewMockeligibilityValidator ¶
func NewMockeligibilityValidator(ctrl *gomock.Controller) *MockeligibilityValidator
NewMockeligibilityValidator creates a new mock instance.
func (*MockeligibilityValidator) CheckEligibility ¶
func (m *MockeligibilityValidator) CheckEligibility(arg0 context.Context, arg1 *types.Ballot) (bool, error)
CheckEligibility mocks base method.
func (*MockeligibilityValidator) EXPECT ¶
func (m *MockeligibilityValidator) EXPECT() *MockeligibilityValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockeligibilityValidatorMockRecorder ¶
type MockeligibilityValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockeligibilityValidatorMockRecorder is the mock recorder for MockeligibilityValidator.
func (*MockeligibilityValidatorMockRecorder) CheckEligibility ¶
func (mr *MockeligibilityValidatorMockRecorder) CheckEligibility(arg0, arg1 interface{}) *gomock.Call
CheckEligibility indicates an expected call of CheckEligibility.
type MockmeshProvider ¶
type MockmeshProvider struct {
// contains filtered or unexported fields
}
MockmeshProvider is a mock of meshProvider interface.
func NewMockmeshProvider ¶
func NewMockmeshProvider(ctrl *gomock.Controller) *MockmeshProvider
NewMockmeshProvider creates a new mock instance.
func (*MockmeshProvider) AddTXsFromProposal ¶
func (m *MockmeshProvider) AddTXsFromProposal(arg0 context.Context, arg1 types.LayerID, arg2 types.ProposalID, arg3 []types.TransactionID) error
AddTXsFromProposal mocks base method.
func (*MockmeshProvider) EXPECT ¶
func (m *MockmeshProvider) EXPECT() *MockmeshProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockmeshProviderMockRecorder ¶
type MockmeshProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.
func (*MockmeshProviderMockRecorder) AddBallot ¶
func (mr *MockmeshProviderMockRecorder) AddBallot(arg0, arg1 interface{}) *gomock.Call
AddBallot indicates an expected call of AddBallot.
func (*MockmeshProviderMockRecorder) AddTXsFromProposal ¶
func (mr *MockmeshProviderMockRecorder) AddTXsFromProposal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddTXsFromProposal indicates an expected call of AddTXsFromProposal.