Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- 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) GetDenomMetaData(ctx types.Context, denom string) (types1.Metadata, bool)
- func (m *MockBankKeeper) HasBalance(ctx types.Context, addr types.AccAddress, amt types.Coin) bool
- func (m *MockBankKeeper) HasSupply(ctx types.Context, denom string) bool
- func (m *MockBankKeeper) MintCoins(ctx types.Context, moduleName string, amt types.Coins) error
- func (m *MockBankKeeper) SendCoins(ctx types.Context, fromAddr, toAddr types.AccAddress, 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) SetDenomMetaData(ctx types.Context, denomMetaData types1.Metadata)
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) BurnCoins(ctx, moduleName, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) HasBalance(ctx, addr, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) HasSupply(ctx, denom interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, 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) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call
- type MockSubspacesKeeper
- func (m *MockSubspacesKeeper) EXPECT() *MockSubspacesKeeperMockRecorder
- func (m *MockSubspacesKeeper) GetAllSubspaces(ctx types.Context) []types2.Subspace
- func (m *MockSubspacesKeeper) GetSubspace(ctx types.Context, subspaceID uint64) (types2.Subspace, bool)
- func (m *MockSubspacesKeeper) GetUsersWithRootPermissions(ctx types.Context, subspaceID uint64, permission types2.Permissions) []string
- func (m *MockSubspacesKeeper) HasPermission(ctx types.Context, subspaceID uint64, sectionID uint32, user string, ...) bool
- type MockSubspacesKeeperMockRecorder
- func (mr *MockSubspacesKeeperMockRecorder) GetAllSubspaces(ctx interface{}) *gomock.Call
- func (mr *MockSubspacesKeeperMockRecorder) GetSubspace(ctx, subspaceID interface{}) *gomock.Call
- func (mr *MockSubspacesKeeperMockRecorder) GetUsersWithRootPermissions(ctx, subspaceID, permission interface{}) *gomock.Call
- func (mr *MockSubspacesKeeperMockRecorder) HasPermission(ctx, subspaceID, sectionID, user, permission interface{}) *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) GetAccount ¶
func (m *MockAccountKeeper) GetAccount(arg0 types.Context, arg1 types.AccAddress) types0.AccountI
GetAccount mocks base method.
func (*MockAccountKeeper) GetModuleAccount ¶
func (m *MockAccountKeeper) GetModuleAccount(ctx types.Context, moduleName string) types0.ModuleAccountI
GetModuleAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) GetAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, moduleName 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) GetDenomMetaData ¶
GetDenomMetaData mocks base method.
func (*MockBankKeeper) HasBalance ¶
func (m *MockBankKeeper) HasBalance(ctx types.Context, addr types.AccAddress, amt types.Coin) bool
HasBalance mocks base method.
func (*MockBankKeeper) HasSupply ¶
func (m *MockBankKeeper) HasSupply(ctx types.Context, denom string) bool
HasSupply mocks base method.
func (*MockBankKeeper) SendCoins ¶
func (m *MockBankKeeper) SendCoins(ctx types.Context, fromAddr, toAddr types.AccAddress, amt types.Coins) error
SendCoins 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) SetDenomMetaData ¶
func (m *MockBankKeeper) SetDenomMetaData(ctx types.Context, denomMetaData types1.Metadata)
SetDenomMetaData 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) GetDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) GetDenomMetaData(ctx, denom interface{}) *gomock.Call
GetDenomMetaData indicates an expected call of GetDenomMetaData.
func (*MockBankKeeperMockRecorder) HasBalance ¶
func (mr *MockBankKeeperMockRecorder) HasBalance(ctx, addr, amt interface{}) *gomock.Call
HasBalance indicates an expected call of HasBalance.
func (*MockBankKeeperMockRecorder) HasSupply ¶
func (mr *MockBankKeeperMockRecorder) HasSupply(ctx, denom interface{}) *gomock.Call
HasSupply indicates an expected call of HasSupply.
func (*MockBankKeeperMockRecorder) MintCoins ¶
func (mr *MockBankKeeperMockRecorder) MintCoins(ctx, moduleName, amt interface{}) *gomock.Call
MintCoins indicates an expected call of MintCoins.
func (*MockBankKeeperMockRecorder) SendCoins ¶
func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call
SendCoins indicates an expected call of SendCoins.
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) SetDenomMetaData ¶
func (mr *MockBankKeeperMockRecorder) SetDenomMetaData(ctx, denomMetaData interface{}) *gomock.Call
SetDenomMetaData indicates an expected call of SetDenomMetaData.
type MockSubspacesKeeper ¶
type MockSubspacesKeeper struct {
// contains filtered or unexported fields
}
MockSubspacesKeeper is a mock of SubspacesKeeper interface.
func NewMockSubspacesKeeper ¶
func NewMockSubspacesKeeper(ctrl *gomock.Controller) *MockSubspacesKeeper
NewMockSubspacesKeeper creates a new mock instance.
func (*MockSubspacesKeeper) EXPECT ¶
func (m *MockSubspacesKeeper) EXPECT() *MockSubspacesKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubspacesKeeper) GetAllSubspaces ¶
func (m *MockSubspacesKeeper) GetAllSubspaces(ctx types.Context) []types2.Subspace
GetAllSubspaces mocks base method.
func (*MockSubspacesKeeper) GetSubspace ¶
func (m *MockSubspacesKeeper) GetSubspace(ctx types.Context, subspaceID uint64) (types2.Subspace, bool)
GetSubspace mocks base method.
func (*MockSubspacesKeeper) GetUsersWithRootPermissions ¶
func (m *MockSubspacesKeeper) GetUsersWithRootPermissions(ctx types.Context, subspaceID uint64, permission types2.Permissions) []string
GetUsersWithRootPermissions mocks base method.
func (*MockSubspacesKeeper) HasPermission ¶
func (m *MockSubspacesKeeper) HasPermission(ctx types.Context, subspaceID uint64, sectionID uint32, user string, permission types2.Permission) bool
HasPermission mocks base method.
type MockSubspacesKeeperMockRecorder ¶
type MockSubspacesKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockSubspacesKeeperMockRecorder is the mock recorder for MockSubspacesKeeper.
func (*MockSubspacesKeeperMockRecorder) GetAllSubspaces ¶
func (mr *MockSubspacesKeeperMockRecorder) GetAllSubspaces(ctx interface{}) *gomock.Call
GetAllSubspaces indicates an expected call of GetAllSubspaces.
func (*MockSubspacesKeeperMockRecorder) GetSubspace ¶
func (mr *MockSubspacesKeeperMockRecorder) GetSubspace(ctx, subspaceID interface{}) *gomock.Call
GetSubspace indicates an expected call of GetSubspace.
func (*MockSubspacesKeeperMockRecorder) GetUsersWithRootPermissions ¶
func (mr *MockSubspacesKeeperMockRecorder) GetUsersWithRootPermissions(ctx, subspaceID, permission interface{}) *gomock.Call
GetUsersWithRootPermissions indicates an expected call of GetUsersWithRootPermissions.
func (*MockSubspacesKeeperMockRecorder) HasPermission ¶
func (mr *MockSubspacesKeeperMockRecorder) HasPermission(ctx, subspaceID, sectionID, user, permission interface{}) *gomock.Call
HasPermission indicates an expected call of HasPermission.