testutil

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 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 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) GetAccount

func (m *MockAccountKeeper) GetAccount(arg0 context.Context, arg1 types.AccAddress) types.AccountI

GetAccount mocks base method.

func (*MockAccountKeeper) GetModuleAccount

func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, moduleName string) types.ModuleAccountI

GetModuleAccount mocks base method.

type MockAccountKeeperMockRecorder

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

MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.

func (*MockAccountKeeperMockRecorder) GetAccount

func (mr *MockAccountKeeperMockRecorder) GetAccount(arg0, arg1 any) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountKeeperMockRecorder) GetModuleAccount

func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, moduleName any) *gomock.Call

GetModuleAccount indicates an expected call of GetModuleAccount.

type MockBankHooks

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

MockBankHooks is a mock of BankHooks interface.

func NewMockBankHooks

func NewMockBankHooks(ctrl *gomock.Controller) *MockBankHooks

NewMockBankHooks creates a new mock instance.

func (*MockBankHooks) BlockBeforeSend

func (m *MockBankHooks) BlockBeforeSend(ctx context.Context, from, to types.AccAddress, amount types.Coins) error

BlockBeforeSend mocks base method.

func (*MockBankHooks) EXPECT

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

func (*MockBankHooks) TrackBeforeSend

func (m *MockBankHooks) TrackBeforeSend(ctx context.Context, from, to types.AccAddress, amount types.Coins)

TrackBeforeSend mocks base method.

type MockBankHooksMockRecorder

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

MockBankHooksMockRecorder is the mock recorder for MockBankHooks.

func (*MockBankHooksMockRecorder) BlockBeforeSend

func (mr *MockBankHooksMockRecorder) BlockBeforeSend(ctx, from, to, amount any) *gomock.Call

BlockBeforeSend indicates an expected call of BlockBeforeSend.

func (*MockBankHooksMockRecorder) TrackBeforeSend

func (mr *MockBankHooksMockRecorder) TrackBeforeSend(ctx, from, to, amount any) *gomock.Call

TrackBeforeSend indicates an expected call of TrackBeforeSend.

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

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

BurnCoins mocks base method.

func (*MockBankKeeper) EXPECT

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

func (*MockBankKeeper) GetDenomMetaData

func (m *MockBankKeeper) GetDenomMetaData(ctx context.Context, denom string) (types0.Metadata, bool)

GetDenomMetaData mocks base method.

func (*MockBankKeeper) HasBalance

func (m *MockBankKeeper) HasBalance(ctx context.Context, addr types.AccAddress, amt types.Coin) bool

HasBalance mocks base method.

func (*MockBankKeeper) HasSupply

func (m *MockBankKeeper) HasSupply(ctx context.Context, denom string) bool

HasSupply mocks base method.

func (*MockBankKeeper) MintCoins

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

MintCoins mocks base method.

func (*MockBankKeeper) SendCoins

func (m *MockBankKeeper) SendCoins(ctx context.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error

SendCoins mocks base method.

func (*MockBankKeeper) SendCoinsFromAccountToModule

func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error

SendCoinsFromAccountToModule mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToAccount

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

SendCoinsFromModuleToAccount mocks base method.

func (*MockBankKeeper) SetDenomMetaData

func (m *MockBankKeeper) SetDenomMetaData(ctx context.Context, denomMetaData types0.Metadata)

SetDenomMetaData mocks base method.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) BurnCoins

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

BurnCoins indicates an expected call of BurnCoins.

func (*MockBankKeeperMockRecorder) GetDenomMetaData

func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom any) *gomock.Call

GetDenomMetaData indicates an expected call of GetDenomMetaData.

func (*MockBankKeeperMockRecorder) HasBalance

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

HasBalance indicates an expected call of HasBalance.

func (*MockBankKeeperMockRecorder) HasSupply

func (mr *MockBankKeeperMockRecorder) HasSupply(ctx, denom any) *gomock.Call

HasSupply indicates an expected call of HasSupply.

func (*MockBankKeeperMockRecorder) MintCoins

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

MintCoins indicates an expected call of MintCoins.

func (*MockBankKeeperMockRecorder) SendCoins

func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt any) *gomock.Call

SendCoins indicates an expected call of SendCoins.

func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule

func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt any) *gomock.Call

SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount

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

SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.

func (*MockBankKeeperMockRecorder) SetDenomMetaData

func (mr *MockBankKeeperMockRecorder) SetDenomMetaData(ctx, denomMetaData any) *gomock.Call

SetDenomMetaData indicates an expected call of SetDenomMetaData.

type MockCommunityPoolKeeper

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

MockCommunityPoolKeeper is a mock of CommunityPoolKeeper interface.

func NewMockCommunityPoolKeeper

func NewMockCommunityPoolKeeper(ctrl *gomock.Controller) *MockCommunityPoolKeeper

NewMockCommunityPoolKeeper creates a new mock instance.

func (*MockCommunityPoolKeeper) EXPECT

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

func (*MockCommunityPoolKeeper) FundCommunityPool

func (m *MockCommunityPoolKeeper) FundCommunityPool(ctx context.Context, amount types.Coins, sender types.AccAddress) error

FundCommunityPool mocks base method.

type MockCommunityPoolKeeperMockRecorder

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

MockCommunityPoolKeeperMockRecorder is the mock recorder for MockCommunityPoolKeeper.

func (*MockCommunityPoolKeeperMockRecorder) FundCommunityPool

func (mr *MockCommunityPoolKeeperMockRecorder) FundCommunityPool(ctx, amount, sender any) *gomock.Call

FundCommunityPool indicates an expected call of FundCommunityPool.

type MockContractKeeper

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

MockContractKeeper is a mock of ContractKeeper interface.

func NewMockContractKeeper

func NewMockContractKeeper(ctrl *gomock.Controller) *MockContractKeeper

NewMockContractKeeper creates a new mock instance.

func (*MockContractKeeper) EXPECT

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

func (*MockContractKeeper) Sudo

func (m *MockContractKeeper) Sudo(ctx types.Context, contractAddress types.AccAddress, msg []byte) ([]byte, error)

Sudo mocks base method.

type MockContractKeeperMockRecorder

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

MockContractKeeperMockRecorder is the mock recorder for MockContractKeeper.

func (*MockContractKeeperMockRecorder) Sudo

func (mr *MockContractKeeperMockRecorder) Sudo(ctx, contractAddress, msg any) *gomock.Call

Sudo indicates an expected call of Sudo.

Jump to

Keyboard shortcuts

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