mock

package
v0.0.1-testnet-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountKeeper

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

MockAccountKeeper is a mock of AccountKeeper interface.

func NewMockAccountKeeper

func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper

NewMockAccountKeeper creates a new mock instance.

func (*MockAccountKeeper) EXPECT

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

func (*MockAccountKeeper) GetAccount

func (m *MockAccountKeeper) GetAccount(arg0 context.Context, arg1 types.AccAddress) types.AccountI

GetAccount mocks base method.

func (*MockAccountKeeper) HasAccount

func (m *MockAccountKeeper) HasAccount(arg0 context.Context, arg1 types.AccAddress) bool

HasAccount mocks base method.

func (*MockAccountKeeper) NewAccountWithAddress

func (m *MockAccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI

NewAccountWithAddress mocks base method.

func (*MockAccountKeeper) SetAccount

func (m *MockAccountKeeper) SetAccount(arg0 context.Context, arg1 types.AccountI)

SetAccount mocks base method.

type MockAccountKeeperMockRecorder

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

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) GetAccount

func (mr *MockAccountKeeperMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountKeeperMockRecorder) HasAccount

func (mr *MockAccountKeeperMockRecorder) HasAccount(arg0, arg1 interface{}) *gomock.Call

HasAccount indicates an expected call of HasAccount.

func (*MockAccountKeeperMockRecorder) NewAccountWithAddress

func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(ctx, addr interface{}) *gomock.Call

NewAccountWithAddress indicates an expected call of NewAccountWithAddress.

func (*MockAccountKeeperMockRecorder) SetAccount

func (mr *MockAccountKeeperMockRecorder) SetAccount(arg0, arg1 interface{}) *gomock.Call

SetAccount indicates an expected call of SetAccount.

type MockINonVoteMsg

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

MockINonVoteMsg is a mock of INonVoteMsg interface.

func NewMockINonVoteMsg

func NewMockINonVoteMsg(ctrl *gomock.Controller) *MockINonVoteMsg

NewMockINonVoteMsg creates a new mock instance.

func (*MockINonVoteMsg) EXPECT

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

func (*MockINonVoteMsg) GetProposer

func (m *MockINonVoteMsg) GetProposer() string

GetProposer mocks base method.

type MockINonVoteMsgMockRecorder

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

MockINonVoteMsgMockRecorder is the mock recorder for MockINonVoteMsg.

func (*MockINonVoteMsgMockRecorder) GetProposer

func (mr *MockINonVoteMsgMockRecorder) GetProposer() *gomock.Call

GetProposer indicates an expected call of GetProposer.

type MockIRelayer

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

MockIRelayer is a mock of IRelayer interface.

func NewMockIRelayer

func NewMockIRelayer(ctrl *gomock.Controller) *MockIRelayer

NewMockIRelayer creates a new mock instance.

func (*MockIRelayer) EXPECT

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

func (*MockIRelayer) GetEpoch

func (m *MockIRelayer) GetEpoch() uint64

GetEpoch mocks base method.

func (*MockIRelayer) GetLastElected

func (m *MockIRelayer) GetLastElected() time.Time

GetLastElected mocks base method.

func (*MockIRelayer) GetProposer

func (m *MockIRelayer) GetProposer() string

GetProposer mocks base method.

func (*MockIRelayer) GetVoters

func (m *MockIRelayer) GetVoters() []string

GetVoters mocks base method.

type MockIRelayerMockRecorder

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

MockIRelayerMockRecorder is the mock recorder for MockIRelayer.

func (*MockIRelayerMockRecorder) GetEpoch

func (mr *MockIRelayerMockRecorder) GetEpoch() *gomock.Call

GetEpoch indicates an expected call of GetEpoch.

func (*MockIRelayerMockRecorder) GetLastElected

func (mr *MockIRelayerMockRecorder) GetLastElected() *gomock.Call

GetLastElected indicates an expected call of GetLastElected.

func (*MockIRelayerMockRecorder) GetProposer

func (mr *MockIRelayerMockRecorder) GetProposer() *gomock.Call

GetProposer indicates an expected call of GetProposer.

func (*MockIRelayerMockRecorder) GetVoters

func (mr *MockIRelayerMockRecorder) GetVoters() *gomock.Call

GetVoters indicates an expected call of GetVoters.

type MockIVoteMsg

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

MockIVoteMsg is a mock of IVoteMsg interface.

func NewMockIVoteMsg

func NewMockIVoteMsg(ctrl *gomock.Controller) *MockIVoteMsg

NewMockIVoteMsg creates a new mock instance.

func (*MockIVoteMsg) EXPECT

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

func (*MockIVoteMsg) GetProposer

func (m *MockIVoteMsg) GetProposer() string

GetProposer mocks base method.

func (*MockIVoteMsg) GetVote

func (m *MockIVoteMsg) GetVote() *types.Votes

GetVote mocks base method.

func (*MockIVoteMsg) MethodName

func (m *MockIVoteMsg) MethodName() string

MethodName mocks base method.

func (*MockIVoteMsg) VoteSigDoc

func (m *MockIVoteMsg) VoteSigDoc() []byte

VoteSigDoc mocks base method.

type MockIVoteMsgMockRecorder

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

MockIVoteMsgMockRecorder is the mock recorder for MockIVoteMsg.

func (*MockIVoteMsgMockRecorder) GetProposer

func (mr *MockIVoteMsgMockRecorder) GetProposer() *gomock.Call

GetProposer indicates an expected call of GetProposer.

func (*MockIVoteMsgMockRecorder) GetVote

func (mr *MockIVoteMsgMockRecorder) GetVote() *gomock.Call

GetVote indicates an expected call of GetVote.

func (*MockIVoteMsgMockRecorder) MethodName

func (mr *MockIVoteMsgMockRecorder) MethodName() *gomock.Call

MethodName indicates an expected call of MethodName.

func (*MockIVoteMsgMockRecorder) VoteSigDoc

func (mr *MockIVoteMsgMockRecorder) VoteSigDoc() *gomock.Call

VoteSigDoc indicates an expected call of VoteSigDoc.

Jump to

Keyboard shortcuts

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