Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(arg0 context.Context, arg1 types.AccAddress) types.AccountI
- func (m *MockAccountKeeper) HasAccount(arg0 context.Context, arg1 types.AccAddress) bool
- func (m *MockAccountKeeper) NewAccountWithAddress(ctx context.Context, addr types.AccAddress) types.AccountI
- func (m *MockAccountKeeper) SetAccount(arg0 context.Context, arg1 types.AccountI)
- type MockAccountKeeperMockRecorder
- func (mr *MockAccountKeeperMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) HasAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(ctx, addr interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetAccount(arg0, arg1 interface{}) *gomock.Call
- type MockINonVoteMsg
- type MockINonVoteMsgMockRecorder
- type MockIRelayer
- type MockIRelayerMockRecorder
- type MockIVoteMsg
- type MockIVoteMsgMockRecorder
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 ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
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 ¶
func (m *MockINonVoteMsg) EXPECT() *MockINonVoteMsgMockRecorder
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 ¶
func (m *MockIRelayer) EXPECT() *MockIRelayerMockRecorder
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 ¶
func (m *MockIVoteMsg) EXPECT() *MockIVoteMsgMockRecorder
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.