Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAuthzKeeper
- type MockAuthzKeeperMockRecorder
- type MockOracleKeeper
- type MockOracleKeeperMockRecorder
- type MockRestakeKeeper
- type MockRestakeKeeperMockRecorder
- type MockStakingKeeper
- func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
- func (m *MockStakingKeeper) GetValidator(ctx context.Context, addr types0.ValAddress) (types1.Validator, error)
- func (m *MockStakingKeeper) IterateBondedValidatorsByPower(arg0 context.Context, arg1 func(int64, types1.ValidatorI) bool) error
- func (m *MockStakingKeeper) TotalBondedTokens(arg0 context.Context) (math.Int, error)
- type MockStakingKeeperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthzKeeper ¶
type MockAuthzKeeper struct {
// contains filtered or unexported fields
}
MockAuthzKeeper is a mock of AuthzKeeper interface.
func NewMockAuthzKeeper ¶
func NewMockAuthzKeeper(ctrl *gomock.Controller) *MockAuthzKeeper
NewMockAuthzKeeper creates a new mock instance.
func (*MockAuthzKeeper) EXPECT ¶
func (m *MockAuthzKeeper) EXPECT() *MockAuthzKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthzKeeper) GetAuthorization ¶
func (m *MockAuthzKeeper) GetAuthorization(ctx context.Context, feeder, granter types0.AccAddress, msgType string) (authz.Authorization, *time.Time)
GetAuthorization mocks base method.
type MockAuthzKeeperMockRecorder ¶
type MockAuthzKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthzKeeperMockRecorder is the mock recorder for MockAuthzKeeper.
func (*MockAuthzKeeperMockRecorder) GetAuthorization ¶
func (mr *MockAuthzKeeperMockRecorder) GetAuthorization(ctx, feeder, granter, msgType any) *gomock.Call
GetAuthorization indicates an expected call of GetAuthorization.
type MockOracleKeeper ¶
type MockOracleKeeper struct {
// contains filtered or unexported fields
}
MockOracleKeeper is a mock of OracleKeeper interface.
func NewMockOracleKeeper ¶
func NewMockOracleKeeper(ctrl *gomock.Controller) *MockOracleKeeper
NewMockOracleKeeper creates a new mock instance.
func (*MockOracleKeeper) EXPECT ¶
func (m *MockOracleKeeper) EXPECT() *MockOracleKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOracleKeeper) GetValidatorStatus ¶
func (m *MockOracleKeeper) GetValidatorStatus(ctx types0.Context, val types0.ValAddress) types.ValidatorStatus
GetValidatorStatus mocks base method.
func (*MockOracleKeeper) MissReport ¶
func (m *MockOracleKeeper) MissReport(ctx types0.Context, val types0.ValAddress, requestTime time.Time)
MissReport mocks base method.
type MockOracleKeeperMockRecorder ¶
type MockOracleKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleKeeperMockRecorder is the mock recorder for MockOracleKeeper.
func (*MockOracleKeeperMockRecorder) GetValidatorStatus ¶
func (mr *MockOracleKeeperMockRecorder) GetValidatorStatus(ctx, val any) *gomock.Call
GetValidatorStatus indicates an expected call of GetValidatorStatus.
func (*MockOracleKeeperMockRecorder) MissReport ¶
func (mr *MockOracleKeeperMockRecorder) MissReport(ctx, val, requestTime any) *gomock.Call
MissReport indicates an expected call of MissReport.
type MockRestakeKeeper ¶
type MockRestakeKeeper struct {
// contains filtered or unexported fields
}
MockRestakeKeeper is a mock of RestakeKeeper interface.
func NewMockRestakeKeeper ¶
func NewMockRestakeKeeper(ctrl *gomock.Controller) *MockRestakeKeeper
NewMockRestakeKeeper creates a new mock instance.
func (*MockRestakeKeeper) EXPECT ¶
func (m *MockRestakeKeeper) EXPECT() *MockRestakeKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRestakeKeeper) SetLockedPower ¶
func (m *MockRestakeKeeper) SetLockedPower(ctx types0.Context, addr types0.AccAddress, key string, amount math.Int) error
SetLockedPower mocks base method.
type MockRestakeKeeperMockRecorder ¶
type MockRestakeKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockRestakeKeeperMockRecorder is the mock recorder for MockRestakeKeeper.
func (*MockRestakeKeeperMockRecorder) SetLockedPower ¶
func (mr *MockRestakeKeeperMockRecorder) SetLockedPower(ctx, addr, key, amount any) *gomock.Call
SetLockedPower indicates an expected call of SetLockedPower.
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) EXPECT ¶
func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStakingKeeper) GetValidator ¶
func (m *MockStakingKeeper) GetValidator(ctx context.Context, addr types0.ValAddress) (types1.Validator, error)
GetValidator mocks base method.
func (*MockStakingKeeper) IterateBondedValidatorsByPower ¶
func (m *MockStakingKeeper) IterateBondedValidatorsByPower(arg0 context.Context, arg1 func(int64, types1.ValidatorI) bool) error
IterateBondedValidatorsByPower mocks base method.
func (*MockStakingKeeper) TotalBondedTokens ¶
TotalBondedTokens mocks base method.
type MockStakingKeeperMockRecorder ¶
type MockStakingKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockStakingKeeperMockRecorder is the mock recorder for MockStakingKeeper.
func (*MockStakingKeeperMockRecorder) GetValidator ¶
func (mr *MockStakingKeeperMockRecorder) GetValidator(ctx, addr any) *gomock.Call
GetValidator indicates an expected call of GetValidator.
func (*MockStakingKeeperMockRecorder) IterateBondedValidatorsByPower ¶
func (mr *MockStakingKeeperMockRecorder) IterateBondedValidatorsByPower(arg0, arg1 any) *gomock.Call
IterateBondedValidatorsByPower indicates an expected call of IterateBondedValidatorsByPower.
func (*MockStakingKeeperMockRecorder) TotalBondedTokens ¶
func (mr *MockStakingKeeperMockRecorder) TotalBondedTokens(arg0 any) *gomock.Call
TotalBondedTokens indicates an expected call of TotalBondedTokens.