testutil

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: GPL-3.0 Imports: 8 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 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) DequeueEligibleWithdrawals

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

DequeueEligibleWithdrawals mocks base method.

func (*MockEvmStakingKeeper) EXPECT

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

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) PeekEligibleWithdrawals

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

PeekEligibleWithdrawals mocks base method.

func (*MockEvmStakingKeeper) ProcessDeposit

ProcessDeposit mocks base method.

func (*MockEvmStakingKeeper) ProcessStakingEvents

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

ProcessStakingEvents mocks base method.

func (*MockEvmStakingKeeper) ProcessWithdraw

ProcessWithdraw mocks base method.

type MockEvmStakingKeeperMockRecorder

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

MockEvmStakingKeeperMockRecorder is the mock recorder for MockEvmStakingKeeper.

func (*MockEvmStakingKeeperMockRecorder) DequeueEligibleWithdrawals

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

DequeueEligibleWithdrawals indicates an expected call of DequeueEligibleWithdrawals.

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) PeekEligibleWithdrawals

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

PeekEligibleWithdrawals indicates an expected call of PeekEligibleWithdrawals.

func (*MockEvmStakingKeeperMockRecorder) ProcessDeposit

func (mr *MockEvmStakingKeeperMockRecorder) ProcessDeposit(ctx, ev any) *gomock.Call

ProcessDeposit indicates an expected call of ProcessDeposit.

func (*MockEvmStakingKeeperMockRecorder) ProcessStakingEvents

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

ProcessStakingEvents indicates an expected call of ProcessStakingEvents.

func (*MockEvmStakingKeeperMockRecorder) ProcessWithdraw

func (mr *MockEvmStakingKeeperMockRecorder) ProcessWithdraw(ctx, ev any) *gomock.Call

ProcessWithdraw indicates an expected call of ProcessWithdraw.

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