testutil

package
v0.0.0-...-36a846c Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 5 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 BankKeeper

type BankKeeper interface {
	banktypes.MsgServer

	SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins
	MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper extends bank `MsgServer` to mock `Send` and to register handlers in MsgServiceRouter

type MockBankKeeper

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

MockBankKeeper is a mock of BankKeeper interface.

func NewMockBankKeeper

func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper

NewMockBankKeeper creates a new mock instance.

func (*MockBankKeeper) Burn

Burn mocks base method.

func (*MockBankKeeper) EXPECT

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

func (*MockBankKeeper) GetAllBalances

func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types0.AccAddress) types0.Coins

GetAllBalances mocks base method.

func (*MockBankKeeper) MintCoins

func (m *MockBankKeeper) MintCoins(ctx context.Context, moduleName string, amt types0.Coins) error

MintCoins mocks base method.

func (*MockBankKeeper) MultiSend

MultiSend mocks base method.

func (*MockBankKeeper) Send

Send mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToAccount

func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types0.AccAddress, amt types0.Coins) error

SendCoinsFromModuleToAccount mocks base method.

func (*MockBankKeeper) SetSendEnabled

SetSendEnabled mocks base method.

func (*MockBankKeeper) SpendableCoins

func (m *MockBankKeeper) SpendableCoins(ctx context.Context, addr types0.AccAddress) types0.Coins

SpendableCoins mocks base method.

func (*MockBankKeeper) UpdateParams

UpdateParams mocks base method.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) Burn

func (mr *MockBankKeeperMockRecorder) Burn(arg0, arg1 any) *gomock.Call

Burn indicates an expected call of Burn.

func (*MockBankKeeperMockRecorder) GetAllBalances

func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call

GetAllBalances indicates an expected call of GetAllBalances.

func (*MockBankKeeperMockRecorder) MintCoins

func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt any) *gomock.Call

MintCoins indicates an expected call of MintCoins.

func (*MockBankKeeperMockRecorder) MultiSend

func (mr *MockBankKeeperMockRecorder) MultiSend(arg0, arg1 any) *gomock.Call

MultiSend indicates an expected call of MultiSend.

func (*MockBankKeeperMockRecorder) Send

func (mr *MockBankKeeperMockRecorder) Send(arg0, arg1 any) *gomock.Call

Send indicates an expected call of Send.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount

func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt any) *gomock.Call

SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.

func (*MockBankKeeperMockRecorder) SetSendEnabled

func (mr *MockBankKeeperMockRecorder) SetSendEnabled(arg0, arg1 any) *gomock.Call

SetSendEnabled indicates an expected call of SetSendEnabled.

func (*MockBankKeeperMockRecorder) SpendableCoins

func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr any) *gomock.Call

SpendableCoins indicates an expected call of SpendableCoins.

func (*MockBankKeeperMockRecorder) UpdateParams

func (mr *MockBankKeeperMockRecorder) UpdateParams(arg0, arg1 any) *gomock.Call

UpdateParams indicates an expected call of UpdateParams.

Jump to

Keyboard shortcuts

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