testutil

package
v6.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 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(ctx types.Context, addr types.AccAddress) types0.AccountI

GetAccount mocks base method.

func (*MockAccountKeeper) GetModuleAddress

func (m *MockAccountKeeper) GetModuleAddress(moduleName string) types.AccAddress

GetModuleAddress mocks base method.

func (*MockAccountKeeper) GetParams

func (m *MockAccountKeeper) GetParams(ctx types.Context) types0.Params

GetParams mocks base method.

func (*MockAccountKeeper) SetAccount

func (m *MockAccountKeeper) SetAccount(ctx types.Context, acc types0.AccountI)

SetAccount 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 interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccountKeeperMockRecorder) GetModuleAddress

func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(moduleName interface{}) *gomock.Call

GetModuleAddress indicates an expected call of GetModuleAddress.

func (*MockAccountKeeperMockRecorder) GetParams

func (mr *MockAccountKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call

GetParams indicates an expected call of GetParams.

func (*MockAccountKeeperMockRecorder) SetAccount

func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc interface{}) *gomock.Call

SetAccount indicates an expected call of SetAccount.

type MockAuthDeductFeeDecorator

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

MockAuthDeductFeeDecorator is a mock of AuthDeductFeeDecorator interface.

func NewMockAuthDeductFeeDecorator

func NewMockAuthDeductFeeDecorator(ctrl *gomock.Controller) *MockAuthDeductFeeDecorator

NewMockAuthDeductFeeDecorator creates a new mock instance.

func (*MockAuthDeductFeeDecorator) AnteHandle

func (m *MockAuthDeductFeeDecorator) AnteHandle(ctx types.Context, tx types.Tx, simulate bool, next types.AnteHandler) (types.Context, error)

AnteHandle mocks base method.

func (*MockAuthDeductFeeDecorator) EXPECT

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

type MockAuthDeductFeeDecoratorMockRecorder

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

MockAuthDeductFeeDecoratorMockRecorder is the mock recorder for MockAuthDeductFeeDecorator.

func (*MockAuthDeductFeeDecoratorMockRecorder) AnteHandle

func (mr *MockAuthDeductFeeDecoratorMockRecorder) AnteHandle(ctx, tx, simulate, next interface{}) *gomock.Call

AnteHandle indicates an expected call of AnteHandle.

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

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

IsSendEnabledCoins mocks base method.

func (*MockBankKeeper) SendCoins

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

SendCoins mocks base method.

func (*MockBankKeeper) SendCoinsFromAccountToModule

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

SendCoinsFromAccountToModule mocks base method.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

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, from, to, amt interface{}) *gomock.Call

SendCoins indicates an expected call of SendCoins.

func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule

func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call

SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.

type MockSubspacesKeeper

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

MockSubspacesKeeper is a mock of SubspacesKeeper interface.

func NewMockSubspacesKeeper

func NewMockSubspacesKeeper(ctrl *gomock.Controller) *MockSubspacesKeeper

NewMockSubspacesKeeper creates a new mock instance.

func (*MockSubspacesKeeper) EXPECT

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

func (*MockSubspacesKeeper) GetSubspace

func (m *MockSubspacesKeeper) GetSubspace(ctx types.Context, subspaceID uint64) (types1.Subspace, bool)

GetSubspace mocks base method.

func (*MockSubspacesKeeper) UseGrantedFees

func (m *MockSubspacesKeeper) UseGrantedFees(ctx types.Context, subspaceID uint64, grantee types.AccAddress, fees types.Coins, msgs []types.Msg) bool

UseGrantedFees mocks base method.

type MockSubspacesKeeperMockRecorder

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

MockSubspacesKeeperMockRecorder is the mock recorder for MockSubspacesKeeper.

func (*MockSubspacesKeeperMockRecorder) GetSubspace

func (mr *MockSubspacesKeeperMockRecorder) GetSubspace(ctx, subspaceID interface{}) *gomock.Call

GetSubspace indicates an expected call of GetSubspace.

func (*MockSubspacesKeeperMockRecorder) UseGrantedFees

func (mr *MockSubspacesKeeperMockRecorder) UseGrantedFees(ctx, subspaceID, grantee, fees, msgs interface{}) *gomock.Call

UseGrantedFees indicates an expected call of UseGrantedFees.

Jump to

Keyboard shortcuts

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