Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(ctx types.Context, addr types.AccAddress) types0.AccountI
- func (m *MockAccountKeeper) GetModuleAddress(moduleName string) types.AccAddress
- func (m *MockAccountKeeper) HasAccount(ctx types.Context, addr types.AccAddress) bool
- func (m *MockAccountKeeper) NewAccountWithAddress(ctx types.Context, addr types.AccAddress) types0.AccountI
- func (m *MockAccountKeeper) SetAccount(ctx types.Context, acc types0.AccountI)
- type MockAccountKeeperMockRecorder
- type MockBankKeeper
- func (m *MockBankKeeper) BurnCoins(ctx types.Context, moduleName string, amt types.Coins) error
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx types.Context, addr types.AccAddress) types.Coins
- func (m *MockBankKeeper) GetBalance(ctx types.Context, addrr types.AccAddress, denom string) types.Coin
- func (m *MockBankKeeper) MintCoins(ctx types.Context, moduleName string, amt types.Coins) error
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx types.Context, senderAddr types.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule, recipientModule string, amt types.Coins) error
- func (m *MockBankKeeper) SpendableCoins(ctx types.Context, addr types.AccAddress) types.Coins
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addrr, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt 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
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call
- type MockOracleKeeper
- type MockOracleKeeperMockRecorder
- type MockRNSKeeper
- type MockRNSKeeperMockRecorder
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) 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) HasAccount ¶
func (m *MockAccountKeeper) HasAccount(ctx types.Context, addr types.AccAddress) bool
func (*MockAccountKeeper) NewAccountWithAddress ¶
func (m *MockAccountKeeper) NewAccountWithAddress(ctx types.Context, addr types.AccAddress) types0.AccountI
func (*MockAccountKeeper) SetAccount ¶
func (m *MockAccountKeeper) SetAccount(ctx types.Context, acc types0.AccountI)
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.
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 types.Context, addr types.AccAddress) types.Coins
GetAllBalances mocks base method.
func (*MockBankKeeper) GetBalance ¶
func (m *MockBankKeeper) GetBalance(ctx types.Context, addrr types.AccAddress, denom string) types.Coin
GetBalance 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.
func (*MockBankKeeper) SendCoinsFromModuleToAccount ¶
func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error
SendCoinsFromModuleToAccount mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToModule ¶
func (m *MockBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule, recipientModule string, amt types.Coins) error
SendCoinsFromModuleToModule mocks base method.
func (*MockBankKeeper) SpendableCoins ¶
func (m *MockBankKeeper) SpendableCoins(ctx types.Context, addr types.AccAddress) types.Coins
SpendableCoins 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 interface{}) *gomock.Call
BurnCoins indicates an expected call of BurnCoins.
func (*MockBankKeeperMockRecorder) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr interface{}) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) GetBalance ¶
func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addrr, denom interface{}) *gomock.Call
GetBalance indicates an expected call of GetBalance.
func (*MockBankKeeperMockRecorder) MintCoins ¶
func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call
MintCoins indicates an expected call of MintCoins.
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.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToModule(ctx, senderModule, recipientModule, amt interface{}) *gomock.Call
SendCoinsFromModuleToModule indicates an expected call of SendCoinsFromModuleToModule.
func (*MockBankKeeperMockRecorder) SpendableCoins ¶
func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call
SpendableCoins indicates an expected call of SpendableCoins.
type MockOracleKeeper ¶
type MockOracleKeeper struct {
// contains filtered or unexported fields
}
MockOracleKeeper is a mock of OracleKeeper interface.
func NewMockOracleKeeper ¶
func NewMockOracleKeeper(ctrl *gomock.Controller) *MockOracleKeeper
NewMockOracleKeeper creates a new mock instance.
func (*MockOracleKeeper) EXPECT ¶
func (m *MockOracleKeeper) EXPECT() *MockOracleKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOracleKeeperMockRecorder ¶
type MockOracleKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleKeeperMockRecorder is the mock recorder for MockOracleKeeper.
func (*MockOracleKeeperMockRecorder) GetFeed ¶
func (mr *MockOracleKeeperMockRecorder) GetFeed(ctx, index interface{}) *gomock.Call
GetFeed indicates an expected call of GetFeed.
type MockRNSKeeper ¶
type MockRNSKeeper struct {
// contains filtered or unexported fields
}
MockOracleKeeper is a mock of OracleKeeper interface.
func NewMockRNSKeeper ¶
func NewMockRNSKeeper(ctrl *gomock.Controller) *MockRNSKeeper
NewMockOracleKeeper creates a new mock instance.
func (*MockRNSKeeper) EXPECT ¶
func (m *MockRNSKeeper) EXPECT() *MockRNSKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRNSKeeper) Resolve ¶
func (m *MockRNSKeeper) Resolve(ctx types.Context, name string) (types.AccAddress, error)
type MockRNSKeeperMockRecorder ¶
type MockRNSKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleKeeperMockRecorder is the mock recorder for MockOracleKeeper.