Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- func AssertError(t *testing.T, err, expectedErr error, expectedErrMsg string)
- type MockAccountsModKeeper
- func (m *MockAccountsModKeeper) EXPECT() *MockAccountsModKeeperMockRecorder
- func (m *MockAccountsModKeeper) InitAccountNumberSeqUnsafe(ctx context.Context, currentAccNum uint64) error
- func (m *MockAccountsModKeeper) IsAccountsModuleAccount(ctx context.Context, accountAddr []byte) bool
- func (m *MockAccountsModKeeper) MigrateLegacyAccount(ctx context.Context, addr []byte, accNum uint64, accType string, ...) (transaction.Msg, error)
- func (m *MockAccountsModKeeper) NextAccountNumber(ctx context.Context) (uint64, error)
- func (m *MockAccountsModKeeper) Query(ctx context.Context, accountAddr []byte, queryRequest transaction.Msg) (transaction.Msg, error)
- func (m *MockAccountsModKeeper) SendModuleMessage(ctx context.Context, sender []byte, msg transaction.Msg) (transaction.Msg, error)
- type MockAccountsModKeeperMockRecorder
- func (mr *MockAccountsModKeeperMockRecorder) InitAccountNumberSeqUnsafe(ctx, currentAccNum interface{}) *gomock.Call
- func (mr *MockAccountsModKeeperMockRecorder) IsAccountsModuleAccount(ctx, accountAddr interface{}) *gomock.Call
- func (mr *MockAccountsModKeeperMockRecorder) MigrateLegacyAccount(ctx, addr, accNum, accType, msg interface{}) *gomock.Call
- func (mr *MockAccountsModKeeperMockRecorder) NextAccountNumber(ctx interface{}) *gomock.Call
- func (mr *MockAccountsModKeeperMockRecorder) Query(ctx, accountAddr, queryRequest interface{}) *gomock.Call
- func (mr *MockAccountsModKeeperMockRecorder) SendModuleMessage(ctx, sender, msg interface{}) *gomock.Call
- type MockBankKeeper
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) IsSendEnabledCoins(ctx context.Context, coins ...types.Coin) error
- func (m *MockBankKeeper) SendCoins(ctx context.Context, from, to types.AccAddress, amt types.Coins) error
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, from, to, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (m *MockAccountsModKeeper) EXPECT() *MockAccountsModKeeperMockRecorder
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) MigrateLegacyAccount ¶
func (m *MockAccountsModKeeper) MigrateLegacyAccount(ctx context.Context, addr []byte, accNum uint64, accType string, msg transaction.Msg) (transaction.Msg, error)
MigrateLegacyAccount mocks base method.
func (*MockAccountsModKeeper) NextAccountNumber ¶
func (m *MockAccountsModKeeper) NextAccountNumber(ctx context.Context) (uint64, error)
NextAccountNumber mocks base method.
func (*MockAccountsModKeeper) Query ¶
func (m *MockAccountsModKeeper) Query(ctx context.Context, accountAddr []byte, queryRequest transaction.Msg) (transaction.Msg, error)
Query 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) MigrateLegacyAccount ¶
func (mr *MockAccountsModKeeperMockRecorder) MigrateLegacyAccount(ctx, addr, accNum, accType, msg interface{}) *gomock.Call
MigrateLegacyAccount indicates an expected call of MigrateLegacyAccount.
func (*MockAccountsModKeeperMockRecorder) NextAccountNumber ¶
func (mr *MockAccountsModKeeperMockRecorder) NextAccountNumber(ctx interface{}) *gomock.Call
NextAccountNumber indicates an expected call of NextAccountNumber.
func (*MockAccountsModKeeperMockRecorder) Query ¶
func (mr *MockAccountsModKeeperMockRecorder) Query(ctx, accountAddr, queryRequest interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockAccountsModKeeperMockRecorder) SendModuleMessage ¶
func (mr *MockAccountsModKeeperMockRecorder) SendModuleMessage(ctx, sender, msg interface{}) *gomock.Call
SendModuleMessage indicates an expected call of SendModuleMessage.
type MockBankKeeper ¶ added in v0.47.0
type MockBankKeeper struct {
// contains filtered or unexported fields
}
MockBankKeeper is a mock of BankKeeper interface.
func NewMockBankKeeper ¶ added in v0.47.0
func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper
NewMockBankKeeper creates a new mock instance.
func (*MockBankKeeper) EXPECT ¶ added in v0.47.0
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankKeeper) IsSendEnabledCoins ¶ added in v0.47.0
IsSendEnabledCoins mocks base method.
func (*MockBankKeeper) SendCoins ¶ added in v0.47.0
func (m *MockBankKeeper) SendCoins(ctx context.Context, from, to types.AccAddress, amt types.Coins) error
SendCoins mocks base method.
func (*MockBankKeeper) SendCoinsFromAccountToModule ¶ added in v0.47.0
func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types.AccAddress, recipientModule string, amt types.Coins) error
SendCoinsFromAccountToModule mocks base method.
type MockBankKeeperMockRecorder ¶ added in v0.47.0
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) IsSendEnabledCoins ¶ added in v0.47.0
func (mr *MockBankKeeperMockRecorder) IsSendEnabledCoins(ctx interface{}, coins ...interface{}) *gomock.Call
IsSendEnabledCoins indicates an expected call of IsSendEnabledCoins.
func (*MockBankKeeperMockRecorder) SendCoins ¶ added in v0.47.0
func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, from, to, amt interface{}) *gomock.Call
SendCoins indicates an expected call of SendCoins.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶ added in v0.47.0
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.