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 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

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

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) AddBallot

func (m *MockmeshProvider) AddBallot(arg0 context.Context, arg1 *types.Ballot) error

AddBallot mocks base method.

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

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.

Jump to

Keyboard shortcuts

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