Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type KeeperTestData
- type MockCommunityPoolKeeper
- type MockCommunityPoolKeeperMockRecorder
- type MockHooks
- func (m MockHooks) AfterServiceAccreditationModified(_ context.Context, _ uint32) error
- func (m MockHooks) AfterServiceActivated(_ context.Context, _ uint32) error
- func (m MockHooks) AfterServiceCreated(_ context.Context, _ uint32) error
- func (m MockHooks) AfterServiceDeactivated(_ context.Context, _ uint32) error
- func (m MockHooks) BeforeServiceDeleted(_ context.Context, _ uint32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeeperTestData ¶
type KeeperTestData struct { storetesting.BaseKeeperTestData StoreKey storetypes.StoreKey MockCtrl *gomock.Controller PoolKeeper *MockCommunityPoolKeeper PoolsKeeper *poolskeeper.Keeper Keeper *keeper.Keeper Hooks *MockHooks }
func NewKeeperTestData ¶
func NewKeeperTestData(t *testing.T) KeeperTestData
type MockCommunityPoolKeeper ¶
type MockCommunityPoolKeeper struct {
// contains filtered or unexported fields
}
MockCommunityPoolKeeper is a mock of CommunityPoolKeeper interface.
func NewMockCommunityPoolKeeper ¶
func NewMockCommunityPoolKeeper(ctrl *gomock.Controller) *MockCommunityPoolKeeper
NewMockCommunityPoolKeeper creates a new mock instance.
func (*MockCommunityPoolKeeper) EXPECT ¶
func (m *MockCommunityPoolKeeper) EXPECT() *MockCommunityPoolKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommunityPoolKeeper) FundCommunityPool ¶
func (m *MockCommunityPoolKeeper) FundCommunityPool(ctx context.Context, amount types.Coins, sender types.AccAddress) error
FundCommunityPool mocks base method.
type MockCommunityPoolKeeperMockRecorder ¶
type MockCommunityPoolKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockCommunityPoolKeeperMockRecorder is the mock recorder for MockCommunityPoolKeeper.
func (*MockCommunityPoolKeeperMockRecorder) FundCommunityPool ¶
func (mr *MockCommunityPoolKeeperMockRecorder) FundCommunityPool(ctx, amount, sender any) *gomock.Call
FundCommunityPool indicates an expected call of FundCommunityPool.
type MockHooks ¶
func NewMockHooks ¶
func NewMockHooks() *MockHooks
func (MockHooks) AfterServiceAccreditationModified ¶
func (MockHooks) AfterServiceActivated ¶
func (MockHooks) AfterServiceCreated ¶
func (MockHooks) AfterServiceDeactivated ¶
Click to show internal directories.
Click to hide internal directories.