Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAuthKeeper
- type MockAuthKeeperMockRecorder
- type MockBankKeeper
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins
- 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) GetAllBalances(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthKeeper ¶
type MockAuthKeeper struct {
// contains filtered or unexported fields
}
MockAuthKeeper is a mock of AuthKeeper interface.
func NewMockAuthKeeper ¶
func NewMockAuthKeeper(ctrl *gomock.Controller) *MockAuthKeeper
NewMockAuthKeeper creates a new mock instance.
func (*MockAuthKeeper) EXPECT ¶
func (m *MockAuthKeeper) EXPECT() *MockAuthKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthKeeper) GetModuleAccount ¶
func (m *MockAuthKeeper) GetModuleAccount(ctx context.Context, name string) types.ModuleAccountI
GetModuleAccount mocks base method.
type MockAuthKeeperMockRecorder ¶
type MockAuthKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthKeeperMockRecorder is the mock recorder for MockAuthKeeper.
func (*MockAuthKeeperMockRecorder) GetModuleAccount ¶
func (mr *MockAuthKeeperMockRecorder) GetModuleAccount(ctx, name interface{}) *gomock.Call
GetModuleAccount indicates an expected call of GetModuleAccount.
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) GetAllBalances ¶
func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types.AccAddress) types.Coins
GetAllBalances mocks base method.
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) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt interface{}) *gomock.Call
SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.