Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) IterateAccounts(ctx context.Context, process func(types0.AccountI) bool)
- func (m *MockAccountKeeper) NewAccount(arg0 context.Context, arg1 types0.AccountI) types0.AccountI
- func (m *MockAccountKeeper) SetAccount(arg0 context.Context, arg1 types0.AccountI)
- type MockAccountKeeperMockRecorder
- type MockGenesisAccountsIterator
- type MockGenesisAccountsIteratorMockRecorder
- type MockGenesisBalancesIterator
- type MockGenesisBalancesIteratorMockRecorder
- type MockStakingKeeper
- type MockStakingKeeperMockRecorder
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) IterateAccounts ¶
func (m *MockAccountKeeper) IterateAccounts(ctx context.Context, process func(types0.AccountI) bool)
IterateAccounts mocks base method.
func (*MockAccountKeeper) NewAccount ¶
NewAccount mocks base method.
func (*MockAccountKeeper) SetAccount ¶
func (m *MockAccountKeeper) SetAccount(arg0 context.Context, arg1 types0.AccountI)
SetAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) IterateAccounts ¶
func (mr *MockAccountKeeperMockRecorder) IterateAccounts(ctx, process interface{}) *gomock.Call
IterateAccounts indicates an expected call of IterateAccounts.
func (*MockAccountKeeperMockRecorder) NewAccount ¶
func (mr *MockAccountKeeperMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call
NewAccount indicates an expected call of NewAccount.
func (*MockAccountKeeperMockRecorder) SetAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetAccount(arg0, arg1 interface{}) *gomock.Call
SetAccount indicates an expected call of SetAccount.
type MockGenesisAccountsIterator ¶
type MockGenesisAccountsIterator struct {
// contains filtered or unexported fields
}
MockGenesisAccountsIterator is a mock of GenesisAccountsIterator interface.
func NewMockGenesisAccountsIterator ¶
func NewMockGenesisAccountsIterator(ctrl *gomock.Controller) *MockGenesisAccountsIterator
NewMockGenesisAccountsIterator creates a new mock instance.
func (*MockGenesisAccountsIterator) EXPECT ¶
func (m *MockGenesisAccountsIterator) EXPECT() *MockGenesisAccountsIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGenesisAccountsIterator) IterateGenesisAccounts ¶
func (m *MockGenesisAccountsIterator) IterateGenesisAccounts(cdc *codec.LegacyAmino, appGenesis map[string]json.RawMessage, cb func(types0.AccountI) bool)
IterateGenesisAccounts mocks base method.
type MockGenesisAccountsIteratorMockRecorder ¶
type MockGenesisAccountsIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockGenesisAccountsIteratorMockRecorder is the mock recorder for MockGenesisAccountsIterator.
func (*MockGenesisAccountsIteratorMockRecorder) IterateGenesisAccounts ¶
func (mr *MockGenesisAccountsIteratorMockRecorder) IterateGenesisAccounts(cdc, appGenesis, cb interface{}) *gomock.Call
IterateGenesisAccounts indicates an expected call of IterateGenesisAccounts.
type MockGenesisBalancesIterator ¶
type MockGenesisBalancesIterator struct {
// contains filtered or unexported fields
}
MockGenesisBalancesIterator is a mock of GenesisBalancesIterator interface.
func NewMockGenesisBalancesIterator ¶
func NewMockGenesisBalancesIterator(ctrl *gomock.Controller) *MockGenesisBalancesIterator
NewMockGenesisBalancesIterator creates a new mock instance.
func (*MockGenesisBalancesIterator) EXPECT ¶
func (m *MockGenesisBalancesIterator) EXPECT() *MockGenesisBalancesIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGenesisBalancesIterator) IterateGenesisBalances ¶
func (m *MockGenesisBalancesIterator) IterateGenesisBalances(cdc codec.JSONCodec, appGenesis map[string]json.RawMessage, cb func(exported.GenesisBalance) bool)
IterateGenesisBalances mocks base method.
type MockGenesisBalancesIteratorMockRecorder ¶
type MockGenesisBalancesIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockGenesisBalancesIteratorMockRecorder is the mock recorder for MockGenesisBalancesIterator.
func (*MockGenesisBalancesIteratorMockRecorder) IterateGenesisBalances ¶
func (mr *MockGenesisBalancesIteratorMockRecorder) IterateGenesisBalances(cdc, appGenesis, cb interface{}) *gomock.Call
IterateGenesisBalances indicates an expected call of IterateGenesisBalances.
type MockStakingKeeper ¶
type MockStakingKeeper struct {
// contains filtered or unexported fields
}
MockStakingKeeper is a mock of StakingKeeper interface.
func NewMockStakingKeeper ¶
func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper
NewMockStakingKeeper creates a new mock instance.
func (*MockStakingKeeper) ApplyAndReturnValidatorSetUpdates ¶
func (m *MockStakingKeeper) ApplyAndReturnValidatorSetUpdates(arg0 context.Context) ([]types.ValidatorUpdate, error)
ApplyAndReturnValidatorSetUpdates mocks base method.
func (*MockStakingKeeper) EXPECT ¶
func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStakingKeeperMockRecorder ¶
type MockStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.
func (*MockStakingKeeperMockRecorder) ApplyAndReturnValidatorSetUpdates ¶
func (mr *MockStakingKeeperMockRecorder) ApplyAndReturnValidatorSetUpdates(arg0 interface{}) *gomock.Call
ApplyAndReturnValidatorSetUpdates indicates an expected call of ApplyAndReturnValidatorSetUpdates.