mocks

package
v0.2.17-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 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 MockatxProvider

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

MockatxProvider is a mock of atxProvider interface.

func NewMockatxProvider

func NewMockatxProvider(ctrl *gomock.Controller) *MockatxProvider

NewMockatxProvider creates a new mock instance.

func (*MockatxProvider) EXPECT

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

func (*MockatxProvider) GetAtxHeader

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

GetAtxHeader mocks base method.

type MockatxProviderMockRecorder

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

MockatxProviderMockRecorder is the mock recorder for MockatxProvider.

func (*MockatxProviderMockRecorder) GetAtxHeader

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

GetAtxHeader indicates an expected call of GetAtxHeader.

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

func (m *MockconservativeState) SelectBlockTXs(arg0 types.LayerID, arg1 []*types.Proposal) ([]types.TransactionID, error)

SelectBlockTXs mocks base method.

type MockconservativeStateMockRecorder

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

MockconservativeStateMockRecorder is the mock recorder for MockconservativeState.

func (*MockconservativeStateMockRecorder) SelectBlockTXs

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

SelectBlockTXs indicates an expected call of SelectBlockTXs.

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

func (m *MockmeshProvider) AddBlockWithTXs(arg0 context.Context, arg1 *types.Block) error

AddBlockWithTXs mocks base method.

func (*MockmeshProvider) EXPECT

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

func (*MockmeshProvider) GetBallot

func (m *MockmeshProvider) GetBallot(arg0 types.BallotID) (*types.Ballot, error)

GetBallot mocks base method.

func (*MockmeshProvider) HasBlock

func (m *MockmeshProvider) HasBlock(arg0 types.BlockID) bool

HasBlock mocks base method.

type MockmeshProviderMockRecorder

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

MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.

func (*MockmeshProviderMockRecorder) AddBlockWithTXs

func (mr *MockmeshProviderMockRecorder) AddBlockWithTXs(arg0, arg1 interface{}) *gomock.Call

AddBlockWithTXs indicates an expected call of AddBlockWithTXs.

func (*MockmeshProviderMockRecorder) GetBallot

func (mr *MockmeshProviderMockRecorder) GetBallot(arg0 interface{}) *gomock.Call

GetBallot indicates an expected call of GetBallot.

func (*MockmeshProviderMockRecorder) HasBlock

func (mr *MockmeshProviderMockRecorder) HasBlock(arg0 interface{}) *gomock.Call

HasBlock indicates an expected call of HasBlock.

Jump to

Keyboard shortcuts

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