Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- type MockAccountKeeperMockRecorder
- type MockBankKeeper
- func (m *MockBankKeeper) BurnCoins(ctx context.Context, moduleName string, amt types.Coins) error
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) MintCoins(ctx context.Context, name string, amt types.Coins) error
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, name, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt any) *gomock.Call
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 ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountKeeper) NewAccountWithAddress ¶
func (m *MockAccountKeeper) NewAccountWithAddress(arg0 context.Context, arg1 types.AccAddress) types.AccountI
NewAccountWithAddress mocks base method.
func (*MockAccountKeeper) SetAccount ¶
func (m *MockAccountKeeper) SetAccount(arg0 context.Context, arg1 types.AccountI)
SetAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) NewAccountWithAddress ¶
func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(arg0, arg1 any) *gomock.Call
NewAccountWithAddress indicates an expected call of NewAccountWithAddress.
func (*MockAccountKeeperMockRecorder) SetAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetAccount(arg0, arg1 any) *gomock.Call
SetAccount indicates an expected call of SetAccount.
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 ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankKeeper) SendCoinsFromAccountToModule ¶
func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
SendCoinsFromAccountToModule mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToAccount ¶
func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount mocks base method.
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) BurnCoins ¶
func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt any) *gomock.Call
BurnCoins indicates an expected call of BurnCoins.
func (*MockBankKeeperMockRecorder) MintCoins ¶
func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, name, amt any) *gomock.Call
MintCoins indicates an expected call of MintCoins.
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.