mocks

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountKeeper

type AccountKeeper struct {
	mock.Mock
}

AccountKeeper is an autogenerated mock type for the AccountKeeper type

func NewAccountKeeper

func NewAccountKeeper(t mockConstructorTestingTNewAccountKeeper) *AccountKeeper

NewAccountKeeper creates a new instance of AccountKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AccountKeeper) GetAccount

func (_m *AccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI

GetAccount provides a mock function with given fields: ctx, addr

type BankKeeper

type BankKeeper struct {
	mock.Mock
}

BankKeeper is an autogenerated mock type for the BankKeeper type

func NewBankKeeper

func NewBankKeeper(t mockConstructorTestingTNewBankKeeper) *BankKeeper

NewBankKeeper creates a new instance of BankKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BankKeeper) SpendableCoins

func (_m *BankKeeper) SpendableCoins(ctx context.Context, addr types.AccAddress) types.Coins

SpendableCoins provides a mock function with given fields: ctx, addr

type RegistryHooks

type RegistryHooks struct {
	mock.Mock
}

RegistryHooks is an autogenerated mock type for the RegistryHooks type

func NewRegistryHooks

func NewRegistryHooks(t mockConstructorTestingTNewRegistryHooks) *RegistryHooks

NewRegistryHooks creates a new instance of RegistryHooks. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*RegistryHooks) AfterDataSpecUpdated

func (_m *RegistryHooks) AfterDataSpecUpdated(ctx context.Context, querytype string, dataspec types.DataSpec) error

AfterDataSpecUpdated provides a mock function with given fields: ctx, querytype, dataspec

Jump to

Keyboard shortcuts

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