testutil

package
v5.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRelationshipsKeeper) HasRelationship

func (m *MockRelationshipsKeeper) HasRelationship(ctx types.Context, user, counterparty string, subspaceID uint64) bool

HasRelationship mocks base method.

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) HasRelationship

func (mr *MockRelationshipsKeeperMockRecorder) HasRelationship(ctx, user, counterparty, subspaceID interface{}) *gomock.Call

HasRelationship indicates an expected call of HasRelationship.

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

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 types0.Permission) bool

HasPermission mocks base method.

func (*MockSubspacesKeeper) HasSection

func (m *MockSubspacesKeeper) HasSection(ctx types.Context, subspaceID uint64, sectionID uint32) bool

HasSection mocks base method.

func (*MockSubspacesKeeper) HasSubspace

func (m *MockSubspacesKeeper) HasSubspace(ctx types.Context, subspaceID uint64) bool

HasSubspace mocks base method.

func (*MockSubspacesKeeper) IterateSubspaces

func (m *MockSubspacesKeeper) IterateSubspaces(ctx types.Context, fn func(types0.Subspace) bool)

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) HasSection

func (mr *MockSubspacesKeeperMockRecorder) HasSection(ctx, subspaceID, sectionID interface{}) *gomock.Call

HasSection indicates an expected call of HasSection.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL