testutil

package
v0.0.0-...-54b49d4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 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 MockAccountsModKeeper

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

MockAccountsModKeeper is a mock of AccountsModKeeper interface.

func NewMockAccountsModKeeper

func NewMockAccountsModKeeper(ctrl *gomock.Controller) *MockAccountsModKeeper

NewMockAccountsModKeeper creates a new mock instance.

func (*MockAccountsModKeeper) EXPECT

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

func (*MockAccountsModKeeper) InitAccountNumberSeqUnsafe

func (m *MockAccountsModKeeper) InitAccountNumberSeqUnsafe(ctx context.Context, currentAccNum uint64) error

InitAccountNumberSeqUnsafe mocks base method.

func (*MockAccountsModKeeper) IsAccountsModuleAccount

func (m *MockAccountsModKeeper) IsAccountsModuleAccount(ctx context.Context, accountAddr []byte) bool

IsAccountsModuleAccount mocks base method.

func (*MockAccountsModKeeper) NextAccountNumber

func (m *MockAccountsModKeeper) NextAccountNumber(ctx context.Context) (uint64, error)

NextAccountNumber mocks base method.

func (*MockAccountsModKeeper) SendModuleMessage

func (m *MockAccountsModKeeper) SendModuleMessage(ctx context.Context, sender []byte, msg transaction.Msg) (transaction.Msg, error)

SendModuleMessage mocks base method.

type MockAccountsModKeeperMockRecorder

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

MockAccountsModKeeperMockRecorder is the mock recorder for MockAccountsModKeeper.

func (*MockAccountsModKeeperMockRecorder) InitAccountNumberSeqUnsafe

func (mr *MockAccountsModKeeperMockRecorder) InitAccountNumberSeqUnsafe(ctx, currentAccNum interface{}) *gomock.Call

InitAccountNumberSeqUnsafe indicates an expected call of InitAccountNumberSeqUnsafe.

func (*MockAccountsModKeeperMockRecorder) IsAccountsModuleAccount

func (mr *MockAccountsModKeeperMockRecorder) IsAccountsModuleAccount(ctx, accountAddr interface{}) *gomock.Call

IsAccountsModuleAccount indicates an expected call of IsAccountsModuleAccount.

func (*MockAccountsModKeeperMockRecorder) NextAccountNumber

func (mr *MockAccountsModKeeperMockRecorder) NextAccountNumber(ctx interface{}) *gomock.Call

NextAccountNumber indicates an expected call of NextAccountNumber.

func (*MockAccountsModKeeperMockRecorder) SendModuleMessage

func (mr *MockAccountsModKeeperMockRecorder) SendModuleMessage(ctx, sender, msg interface{}) *gomock.Call

SendModuleMessage indicates an expected call of SendModuleMessage.

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

func (m *MockBankKeeper) BlockedAddr(addr types.AccAddress) bool

BlockedAddr mocks base method.

func (*MockBankKeeper) EXPECT

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

func (*MockBankKeeper) IsSendEnabledCoins

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

IsSendEnabledCoins 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.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) BlockedAddr

func (mr *MockBankKeeperMockRecorder) BlockedAddr(addr interface{}) *gomock.Call

BlockedAddr indicates an expected call of BlockedAddr.

func (*MockBankKeeperMockRecorder) IsSendEnabledCoins

func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *gomock.Call

IsSendEnabledCoins indicates an expected call of IsSendEnabledCoins.

func (*MockBankKeeperMockRecorder) SendCoins

func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call

SendCoins indicates an expected call of SendCoins.

Jump to

Keyboard shortcuts

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