testutil

package
v3.0.0-...-caddde9 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 7 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

GetAccount mocks base method.

func (*MockAccountKeeper) GetModuleAccount

func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, name string) types2.ModuleAccountI

GetModuleAccount mocks base method.

func (*MockAccountKeeper) GetModuleAddress

func (m *MockAccountKeeper) GetModuleAddress(name string) types2.AccAddress

GetModuleAddress mocks base method.

func (*MockAccountKeeper) NewAccount

func (m *MockAccountKeeper) NewAccount(ctx context.Context, account types2.AccountI) types2.AccountI

NewAccount mocks base method.

func (*MockAccountKeeper) SetAccount

func (m *MockAccountKeeper) SetAccount(ctx context.Context, account types2.AccountI)

SetAccount mocks base method.

func (*MockAccountKeeper) SetModuleAccount

func (m *MockAccountKeeper) SetModuleAccount(ctx context.Context, moduleAccount types2.ModuleAccountI)

SetModuleAccount 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(ctx, addr any) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountKeeperMockRecorder) GetModuleAccount

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

GetModuleAccount indicates an expected call of GetModuleAccount.

func (*MockAccountKeeperMockRecorder) GetModuleAddress

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

GetModuleAddress indicates an expected call of GetModuleAddress.

func (*MockAccountKeeperMockRecorder) NewAccount

func (mr *MockAccountKeeperMockRecorder) NewAccount(ctx, account any) *gomock.Call

NewAccount indicates an expected call of NewAccount.

func (*MockAccountKeeperMockRecorder) SetAccount

func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, account any) *gomock.Call

SetAccount indicates an expected call of SetAccount.

func (*MockAccountKeeperMockRecorder) SetModuleAccount

func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(ctx, moduleAccount any) *gomock.Call

SetModuleAccount indicates an expected call of SetModuleAccount.

type MockBandtssKeeper

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

MockBandtssKeeper is a mock of BandtssKeeper interface.

func NewMockBandtssKeeper

func NewMockBandtssKeeper(ctrl *gomock.Controller) *MockBandtssKeeper

NewMockBandtssKeeper creates a new mock instance.

func (*MockBandtssKeeper) CreateTunnelSigningRequest

func (m *MockBandtssKeeper) CreateTunnelSigningRequest(ctx types2.Context, tunnelID uint64, destinationContractAddr, destinationChainID string, content types1.Content, sender types2.AccAddress, feeLimit types2.Coins) (types.SigningID, error)

CreateTunnelSigningRequest mocks base method.

func (*MockBandtssKeeper) EXPECT

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

type MockBandtssKeeperMockRecorder

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

MockBandtssKeeperMockRecorder is the mock recorder for MockBandtssKeeper.

func (*MockBandtssKeeperMockRecorder) CreateTunnelSigningRequest

func (mr *MockBandtssKeeperMockRecorder) CreateTunnelSigningRequest(ctx, tunnelID, destinationContractAddr, destinationChainID, content, sender, feeLimit any) *gomock.Call

CreateTunnelSigningRequest indicates an expected call of CreateTunnelSigningRequest.

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

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

func (*MockBankKeeper) GetAllBalances

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

GetAllBalances mocks base method.

func (*MockBankKeeper) SendCoinsFromAccountToModule

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

SendCoinsFromAccountToModule mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToAccount

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

SendCoinsFromModuleToAccount mocks base method.

func (*MockBankKeeper) SpendableCoins

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

SpendableCoins mocks base method.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) GetAllBalances

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

GetAllBalances indicates an expected call of GetAllBalances.

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

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

SpendableCoins indicates an expected call of SpendableCoins.

type MockFeedsKeeper

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

MockFeedsKeeper is a mock of FeedsKeeper interface.

func NewMockFeedsKeeper

func NewMockFeedsKeeper(ctrl *gomock.Controller) *MockFeedsKeeper

NewMockFeedsKeeper creates a new mock instance.

func (*MockFeedsKeeper) EXPECT

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

func (*MockFeedsKeeper) GetAllPrices

func (m *MockFeedsKeeper) GetAllPrices(ctx types2.Context) []types0.Price

GetAllPrices mocks base method.

func (*MockFeedsKeeper) GetPrices

func (m *MockFeedsKeeper) GetPrices(ctx types2.Context, signalIDs []string) []types0.Price

GetPrices mocks base method.

type MockFeedsKeeperMockRecorder

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

MockFeedsKeeperMockRecorder is the mock recorder for MockFeedsKeeper.

func (*MockFeedsKeeperMockRecorder) GetAllPrices

func (mr *MockFeedsKeeperMockRecorder) GetAllPrices(ctx any) *gomock.Call

GetAllPrices indicates an expected call of GetAllPrices.

func (*MockFeedsKeeperMockRecorder) GetPrices

func (mr *MockFeedsKeeperMockRecorder) GetPrices(ctx, signalIDs any) *gomock.Call

GetPrices indicates an expected call of GetPrices.

Jump to

Keyboard shortcuts

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