testutil

package
v0.55.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 14 Imported by: 10 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

Functions

func AssertError added in v0.50.1

func AssertError(t *testing.T, err, expectedErr error, expectedErrMsg string)

Types

type MockBankKeeper added in v0.47.0

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

MockBankKeeper is a mock of BankKeeper interface.

func NewMockBankKeeper added in v0.47.0

func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper

NewMockBankKeeper creates a new mock instance.

func (*MockBankKeeper) EXPECT added in v0.47.0

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

func (*MockBankKeeper) IsSendEnabledCoins added in v0.47.0

func (m *MockBankKeeper) IsSendEnabledCoins(ctx context.Context, coins ...types.Coin) error

IsSendEnabledCoins mocks base method.

func (*MockBankKeeper) SendCoins added in v0.47.0

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

SendCoins mocks base method.

func (*MockBankKeeper) SendCoinsFromAccountToModule added in v0.47.0

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

SendCoinsFromAccountToModule mocks base method.

type MockBankKeeperMockRecorder added in v0.47.0

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) IsSendEnabledCoins added in v0.47.0

func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx any, coins ...any) *gomock.Call

IsSendEnabledCoins indicates an expected call of IsSendEnabledCoins.

func (*MockBankKeeperMockRecorder) SendCoins added in v0.47.0

func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, from, to, amt any) *gomock.Call

SendCoins indicates an expected call of SendCoins.

func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule added in v0.47.0

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

SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.

Jump to

Keyboard shortcuts

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