Documentation ¶
Index ¶
- type KeeperTestData
- type MockHooks
- func (m MockHooks) AfterOperatorInactivatingCompleted(ctx context.Context, operatorID uint32) error
- func (m MockHooks) AfterOperatorInactivatingStarted(ctx context.Context, operatorID uint32) error
- func (m MockHooks) AfterOperatorReactivated(ctx context.Context, operatorID uint32) error
- func (m MockHooks) AfterOperatorRegistered(ctx context.Context, operatorID uint32) error
- func (m MockHooks) BeforeOperatorDeleted(ctx context.Context, operatorID 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 StoreService corestoretypes.KVStoreService Keeper *keeper.Keeper Hooks *MockHooks }
func NewKeeperTestData ¶
func NewKeeperTestData(t *testing.T) KeeperTestData
type MockHooks ¶
func NewMockHooks ¶
func NewMockHooks() *MockHooks
func (MockHooks) AfterOperatorInactivatingCompleted ¶
func (MockHooks) AfterOperatorInactivatingStarted ¶
func (MockHooks) AfterOperatorReactivated ¶
func (MockHooks) AfterOperatorRegistered ¶
Click to show internal directories.
Click to hide internal directories.