Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockPostsKeeper
- type MockPostsKeeperMockRecorder
- type MockProfilesKeeper
- type MockProfilesKeeperMockRecorder
- type MockRelationshipsKeeper
- type MockRelationshipsKeeperMockRecorder
- type MockSubspacesKeeper
- func (m *MockSubspacesKeeper) EXPECT() *MockSubspacesKeeperMockRecorder
- func (m *MockSubspacesKeeper) HasPermission(ctx types.Context, subspaceID uint64, sectionID uint32, user string, ...) bool
- func (m *MockSubspacesKeeper) HasSubspace(ctx types.Context, subspaceID uint64) bool
- func (m *MockSubspacesKeeper) IterateSubspaces(ctx types.Context, fn func(types1.Subspace) bool)
- type MockSubspacesKeeperMockRecorder
- func (mr *MockSubspacesKeeperMockRecorder) HasPermission(ctx, subspaceID, sectionID, user, permission interface{}) *gomock.Call
- func (mr *MockSubspacesKeeperMockRecorder) HasSubspace(ctx, subspaceID interface{}) *gomock.Call
- func (mr *MockSubspacesKeeperMockRecorder) IterateSubspaces(ctx, fn interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPostsKeeper ¶
type MockPostsKeeper struct {
// contains filtered or unexported fields
}
MockPostsKeeper is a mock of PostsKeeper interface.
func NewMockPostsKeeper ¶
func NewMockPostsKeeper(ctrl *gomock.Controller) *MockPostsKeeper
NewMockPostsKeeper creates a new mock instance.
func (*MockPostsKeeper) EXPECT ¶
func (m *MockPostsKeeper) EXPECT() *MockPostsKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPostsKeeperMockRecorder ¶
type MockPostsKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockPostsKeeperMockRecorder is the mock recorder for MockPostsKeeper.
func (*MockPostsKeeperMockRecorder) GetPost ¶
func (mr *MockPostsKeeperMockRecorder) GetPost(ctx, subspaceID, postID interface{}) *gomock.Call
GetPost indicates an expected call of GetPost.
func (*MockPostsKeeperMockRecorder) HasPost ¶
func (mr *MockPostsKeeperMockRecorder) HasPost(ctx, subspaceID, postID interface{}) *gomock.Call
HasPost indicates an expected call of HasPost.
type MockProfilesKeeper ¶
type MockProfilesKeeper struct {
// contains filtered or unexported fields
}
MockProfilesKeeper is a mock of ProfilesKeeper interface.
func NewMockProfilesKeeper ¶
func NewMockProfilesKeeper(ctrl *gomock.Controller) *MockProfilesKeeper
NewMockProfilesKeeper creates a new mock instance.
func (*MockProfilesKeeper) EXPECT ¶
func (m *MockProfilesKeeper) EXPECT() *MockProfilesKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfilesKeeper) HasProfile ¶
func (m *MockProfilesKeeper) HasProfile(ctx types.Context, user string) bool
HasProfile mocks base method.
type MockProfilesKeeperMockRecorder ¶
type MockProfilesKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockProfilesKeeperMockRecorder is the mock recorder for MockProfilesKeeper.
func (*MockProfilesKeeperMockRecorder) HasProfile ¶
func (mr *MockProfilesKeeperMockRecorder) HasProfile(ctx, user interface{}) *gomock.Call
HasProfile indicates an expected call of HasProfile.
type MockRelationshipsKeeper ¶
type MockRelationshipsKeeper struct {
// contains filtered or unexported fields
}
MockRelationshipsKeeper is a mock of RelationshipsKeeper interface.
func NewMockRelationshipsKeeper ¶
func NewMockRelationshipsKeeper(ctrl *gomock.Controller) *MockRelationshipsKeeper
NewMockRelationshipsKeeper creates a new mock instance.
func (*MockRelationshipsKeeper) EXPECT ¶
func (m *MockRelationshipsKeeper) EXPECT() *MockRelationshipsKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelationshipsKeeper) HasUserBlocked ¶
func (m *MockRelationshipsKeeper) HasUserBlocked(ctx types.Context, blocker, user string, subspaceID uint64) bool
HasUserBlocked mocks base method.
type MockRelationshipsKeeperMockRecorder ¶
type MockRelationshipsKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockRelationshipsKeeperMockRecorder is the mock recorder for MockRelationshipsKeeper.
func (*MockRelationshipsKeeperMockRecorder) HasUserBlocked ¶
func (mr *MockRelationshipsKeeperMockRecorder) HasUserBlocked(ctx, blocker, user, subspaceID interface{}) *gomock.Call
HasUserBlocked indicates an expected call of HasUserBlocked.
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) HasPermission ¶
func (m *MockSubspacesKeeper) HasPermission(ctx types.Context, subspaceID uint64, sectionID uint32, user string, permission types1.Permission) bool
HasPermission mocks base method.
func (*MockSubspacesKeeper) HasSubspace ¶
func (m *MockSubspacesKeeper) HasSubspace(ctx types.Context, subspaceID uint64) bool
HasSubspace mocks base method.
func (*MockSubspacesKeeper) IterateSubspaces ¶
IterateSubspaces mocks base method.
type MockSubspacesKeeperMockRecorder ¶
type MockSubspacesKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockSubspacesKeeperMockRecorder is the mock recorder for MockSubspacesKeeper.
func (*MockSubspacesKeeperMockRecorder) HasPermission ¶
func (mr *MockSubspacesKeeperMockRecorder) HasPermission(ctx, subspaceID, sectionID, user, permission interface{}) *gomock.Call
HasPermission indicates an expected call of HasPermission.
func (*MockSubspacesKeeperMockRecorder) HasSubspace ¶
func (mr *MockSubspacesKeeperMockRecorder) HasSubspace(ctx, subspaceID interface{}) *gomock.Call
HasSubspace indicates an expected call of HasSubspace.
func (*MockSubspacesKeeperMockRecorder) IterateSubspaces ¶
func (mr *MockSubspacesKeeperMockRecorder) IterateSubspaces(ctx, fn interface{}) *gomock.Call
IterateSubspaces indicates an expected call of IterateSubspaces.