testutil

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package testutil 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) GetModuleAddress

func (m *MockAccountKeeper) GetModuleAddress(moduleName string) types0.AccAddress

GetModuleAddress mocks base method.

type MockAccountKeeperMockRecorder

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

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) GetModuleAddress

func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(moduleName any) *gomock.Call

GetModuleAddress indicates an expected call of GetModuleAddress.

type MockDistrKeeper added in v0.12.0

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

MockDistrKeeper is a mock of DistrKeeper interface.

func NewMockDistrKeeper added in v0.12.0

func NewMockDistrKeeper(ctrl *gomock.Controller) *MockDistrKeeper

NewMockDistrKeeper creates a new mock instance.

func (*MockDistrKeeper) EXPECT added in v0.12.0

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

func (*MockDistrKeeper) SetUbi added in v0.12.0

func (m *MockDistrKeeper) SetUbi(ctx context.Context, newUbi math.LegacyDec) error

SetUbi mocks base method.

type MockDistrKeeperMockRecorder added in v0.12.0

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

MockDistrKeeperMockRecorder is the mock recorder for MockDistrKeeper.

func (*MockDistrKeeperMockRecorder) SetUbi added in v0.12.0

func (mr *MockDistrKeeperMockRecorder) SetUbi(ctx, newUbi any) *gomock.Call

SetUbi indicates an expected call of SetUbi.

type MockEvmStakingKeeper

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

MockEvmStakingKeeper is a mock of EvmStakingKeeper interface.

func NewMockEvmStakingKeeper

func NewMockEvmStakingKeeper(ctrl *gomock.Controller) *MockEvmStakingKeeper

NewMockEvmStakingKeeper creates a new mock instance.

func (*MockEvmStakingKeeper) DequeueEligibleRewardWithdrawals added in v0.12.0

func (m *MockEvmStakingKeeper) DequeueEligibleRewardWithdrawals(ctx context.Context, maxDequeue uint32) (types1.Withdrawals, error)

DequeueEligibleRewardWithdrawals mocks base method.

func (*MockEvmStakingKeeper) DequeueEligibleWithdrawals

func (m *MockEvmStakingKeeper) DequeueEligibleWithdrawals(ctx context.Context, maxDequeue uint32) (types1.Withdrawals, error)

DequeueEligibleWithdrawals mocks base method.

func (*MockEvmStakingKeeper) EXPECT

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

func (*MockEvmStakingKeeper) MaxWithdrawalPerBlock added in v0.12.0

func (m *MockEvmStakingKeeper) MaxWithdrawalPerBlock(ctx context.Context) (uint32, error)

MaxWithdrawalPerBlock mocks base method.

func (*MockEvmStakingKeeper) ParseDepositLog

func (m *MockEvmStakingKeeper) ParseDepositLog(ethlog types1.Log) (*bindings.IPTokenStakingDeposit, error)

ParseDepositLog mocks base method.

func (*MockEvmStakingKeeper) ParseWithdrawLog

func (m *MockEvmStakingKeeper) ParseWithdrawLog(ethlog types1.Log) (*bindings.IPTokenStakingWithdraw, error)

ParseWithdrawLog mocks base method.

func (*MockEvmStakingKeeper) PeekEligibleRewardWithdrawals added in v0.12.0

func (m *MockEvmStakingKeeper) PeekEligibleRewardWithdrawals(ctx context.Context, maxPeek uint32) (types1.Withdrawals, error)

PeekEligibleRewardWithdrawals mocks base method.

func (*MockEvmStakingKeeper) PeekEligibleWithdrawals

func (m *MockEvmStakingKeeper) PeekEligibleWithdrawals(ctx context.Context, maxPeek uint32) (types1.Withdrawals, error)

PeekEligibleWithdrawals mocks base method.

func (*MockEvmStakingKeeper) ProcessStakingEvents

func (m *MockEvmStakingKeeper) ProcessStakingEvents(ctx context.Context, height uint64, logs []*types2.EVMEvent) error

ProcessStakingEvents mocks base method.

type MockEvmStakingKeeperMockRecorder

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

MockEvmStakingKeeperMockRecorder is the mock recorder for MockEvmStakingKeeper.

func (*MockEvmStakingKeeperMockRecorder) DequeueEligibleRewardWithdrawals added in v0.12.0

func (mr *MockEvmStakingKeeperMockRecorder) DequeueEligibleRewardWithdrawals(ctx, maxDequeue any) *gomock.Call

DequeueEligibleRewardWithdrawals indicates an expected call of DequeueEligibleRewardWithdrawals.

func (*MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals

func (mr *MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals(ctx, maxDequeue any) *gomock.Call

DequeueEligibleWithdrawals indicates an expected call of DequeueEligibleWithdrawals.

func (*MockEvmStakingKeeperMockRecorder) MaxWithdrawalPerBlock added in v0.12.0

func (mr *MockEvmStakingKeeperMockRecorder) MaxWithdrawalPerBlock(ctx any) *gomock.Call

MaxWithdrawalPerBlock indicates an expected call of MaxWithdrawalPerBlock.

func (*MockEvmStakingKeeperMockRecorder) ParseDepositLog

func (mr *MockEvmStakingKeeperMockRecorder) ParseDepositLog(ethlog any) *gomock.Call

ParseDepositLog indicates an expected call of ParseDepositLog.

func (*MockEvmStakingKeeperMockRecorder) ParseWithdrawLog

func (mr *MockEvmStakingKeeperMockRecorder) ParseWithdrawLog(ethlog any) *gomock.Call

ParseWithdrawLog indicates an expected call of ParseWithdrawLog.

func (*MockEvmStakingKeeperMockRecorder) PeekEligibleRewardWithdrawals added in v0.12.0

func (mr *MockEvmStakingKeeperMockRecorder) PeekEligibleRewardWithdrawals(ctx, maxPeek any) *gomock.Call

PeekEligibleRewardWithdrawals indicates an expected call of PeekEligibleRewardWithdrawals.

func (*MockEvmStakingKeeperMockRecorder) PeekEligibleWithdrawals

func (mr *MockEvmStakingKeeperMockRecorder) PeekEligibleWithdrawals(ctx, maxPeek any) *gomock.Call

PeekEligibleWithdrawals indicates an expected call of PeekEligibleWithdrawals.

func (*MockEvmStakingKeeperMockRecorder) ProcessStakingEvents

func (mr *MockEvmStakingKeeperMockRecorder) ProcessStakingEvents(ctx, height, logs any) *gomock.Call

ProcessStakingEvents indicates an expected call of ProcessStakingEvents.

type MockUpgradeKeeper

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

MockUpgradeKeeper is a mock of UpgradeKeeper interface.

func NewMockUpgradeKeeper

func NewMockUpgradeKeeper(ctrl *gomock.Controller) *MockUpgradeKeeper

NewMockUpgradeKeeper creates a new mock instance.

func (*MockUpgradeKeeper) EXPECT

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

func (*MockUpgradeKeeper) ScheduleUpgrade

func (m *MockUpgradeKeeper) ScheduleUpgrade(ctx context.Context, plan types.Plan) error

ScheduleUpgrade mocks base method.

type MockUpgradeKeeperMockRecorder

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

MockUpgradeKeeperMockRecorder is the mock recorder for MockUpgradeKeeper.

func (*MockUpgradeKeeperMockRecorder) ScheduleUpgrade

func (mr *MockUpgradeKeeperMockRecorder) ScheduleUpgrade(ctx, plan any) *gomock.Call

ScheduleUpgrade indicates an expected call of ScheduleUpgrade.

Jump to

Keyboard shortcuts

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