Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Package testutil is a generated GoMock package.
Index ¶
- type MockChannelKeeper
- type MockChannelKeeperMockRecorder
- type MockClientKeeper
- type MockClientKeeperMockRecorder
- type MockConnectionKeeper
- type MockConnectionKeeperMockRecorder
- type MockPortKeeper
- type MockPortKeeperMockRecorder
- type MockProfilesHooks
- func (m *MockProfilesHooks) AfterApplicationLinkDeleted(ctx types.Context, link types0.ApplicationLink)
- func (m *MockProfilesHooks) AfterApplicationLinkSaved(ctx types.Context, link types0.ApplicationLink)
- func (m *MockProfilesHooks) AfterChainLinkDeleted(ctx types.Context, link types0.ChainLink)
- func (m *MockProfilesHooks) AfterChainLinkSaved(ctx types.Context, link types0.ChainLink)
- func (m *MockProfilesHooks) AfterDTagTransferRequestAccepted(ctx types.Context, request types0.DTagTransferRequest, newDTag string)
- func (m *MockProfilesHooks) AfterDTagTransferRequestCreated(ctx types.Context, request types0.DTagTransferRequest)
- func (m *MockProfilesHooks) AfterDTagTransferRequestDeleted(ctx types.Context, sender, recipient string)
- func (m *MockProfilesHooks) AfterProfileDeleted(ctx types.Context, profile *types0.Profile)
- func (m *MockProfilesHooks) AfterProfileSaved(ctx types.Context, profile *types0.Profile)
- func (m *MockProfilesHooks) EXPECT() *MockProfilesHooksMockRecorder
- type MockProfilesHooksMockRecorder
- func (mr *MockProfilesHooksMockRecorder) AfterApplicationLinkDeleted(ctx, link interface{}) *gomock.Call
- func (mr *MockProfilesHooksMockRecorder) AfterApplicationLinkSaved(ctx, link interface{}) *gomock.Call
- func (mr *MockProfilesHooksMockRecorder) AfterChainLinkDeleted(ctx, link interface{}) *gomock.Call
- func (mr *MockProfilesHooksMockRecorder) AfterChainLinkSaved(ctx, link interface{}) *gomock.Call
- func (mr *MockProfilesHooksMockRecorder) AfterDTagTransferRequestAccepted(ctx, request, newDTag interface{}) *gomock.Call
- func (mr *MockProfilesHooksMockRecorder) AfterDTagTransferRequestCreated(ctx, request interface{}) *gomock.Call
- func (mr *MockProfilesHooksMockRecorder) AfterDTagTransferRequestDeleted(ctx, sender, recipient interface{}) *gomock.Call
- func (mr *MockProfilesHooksMockRecorder) AfterProfileDeleted(ctx, profile interface{}) *gomock.Call
- func (mr *MockProfilesHooksMockRecorder) AfterProfileSaved(ctx, profile interface{}) *gomock.Call
- type MockRelationshipsKeeper
- type MockRelationshipsKeeperMockRecorder
- type MockScopedKeeper
- func (m *MockScopedKeeper) AuthenticateCapability(ctx types.Context, cap *types0.Capability, name string) bool
- func (m *MockScopedKeeper) ClaimCapability(ctx types.Context, cap *types0.Capability, name string) error
- func (m *MockScopedKeeper) EXPECT() *MockScopedKeeperMockRecorder
- func (m *MockScopedKeeper) GetCapability(ctx types.Context, name string) (*types0.Capability, bool)
- type MockScopedKeeperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChannelKeeper ¶
type MockChannelKeeper struct {
// contains filtered or unexported fields
}
MockChannelKeeper is a mock of ChannelKeeper interface.
func NewMockChannelKeeper ¶
func NewMockChannelKeeper(ctrl *gomock.Controller) *MockChannelKeeper
NewMockChannelKeeper creates a new mock instance.
func (*MockChannelKeeper) EXPECT ¶
func (m *MockChannelKeeper) EXPECT() *MockChannelKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChannelKeeper) GetChannel ¶
func (m *MockChannelKeeper) GetChannel(ctx types.Context, srcPort, srcChan string) (types3.Channel, bool)
GetChannel mocks base method.
func (*MockChannelKeeper) SendPacket ¶
func (m *MockChannelKeeper) SendPacket(ctx types.Context, channelCap *types0.Capability, sourcePort, sourceChannel string, timeoutHeight types1.Height, timeoutTimestamp uint64, data []byte) (uint64, error)
SendPacket mocks base method.
type MockChannelKeeperMockRecorder ¶
type MockChannelKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockChannelKeeperMockRecorder is the mock recorder for MockChannelKeeper.
func (*MockChannelKeeperMockRecorder) GetChannel ¶
func (mr *MockChannelKeeperMockRecorder) GetChannel(ctx, srcPort, srcChan interface{}) *gomock.Call
GetChannel indicates an expected call of GetChannel.
func (*MockChannelKeeperMockRecorder) SendPacket ¶
func (mr *MockChannelKeeperMockRecorder) SendPacket(ctx, channelCap, sourcePort, sourceChannel, timeoutHeight, timeoutTimestamp, data interface{}) *gomock.Call
SendPacket indicates an expected call of SendPacket.
type MockClientKeeper ¶
type MockClientKeeper struct {
// contains filtered or unexported fields
}
MockClientKeeper is a mock of ClientKeeper interface.
func NewMockClientKeeper ¶
func NewMockClientKeeper(ctrl *gomock.Controller) *MockClientKeeper
NewMockClientKeeper creates a new mock instance.
func (*MockClientKeeper) EXPECT ¶
func (m *MockClientKeeper) EXPECT() *MockClientKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientKeeper) GetClientConsensusState ¶
func (m *MockClientKeeper) GetClientConsensusState(ctx types.Context, clientID string) (exported.ConsensusState, bool)
GetClientConsensusState mocks base method.
type MockClientKeeperMockRecorder ¶
type MockClientKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockClientKeeperMockRecorder is the mock recorder for MockClientKeeper.
func (*MockClientKeeperMockRecorder) GetClientConsensusState ¶
func (mr *MockClientKeeperMockRecorder) GetClientConsensusState(ctx, clientID interface{}) *gomock.Call
GetClientConsensusState indicates an expected call of GetClientConsensusState.
type MockConnectionKeeper ¶
type MockConnectionKeeper struct {
// contains filtered or unexported fields
}
MockConnectionKeeper is a mock of ConnectionKeeper interface.
func NewMockConnectionKeeper ¶
func NewMockConnectionKeeper(ctrl *gomock.Controller) *MockConnectionKeeper
NewMockConnectionKeeper creates a new mock instance.
func (*MockConnectionKeeper) EXPECT ¶
func (m *MockConnectionKeeper) EXPECT() *MockConnectionKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnectionKeeper) GetConnection ¶
func (m *MockConnectionKeeper) GetConnection(ctx types.Context, connectionID string) (types2.ConnectionEnd, bool)
GetConnection mocks base method.
type MockConnectionKeeperMockRecorder ¶
type MockConnectionKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionKeeperMockRecorder is the mock recorder for MockConnectionKeeper.
func (*MockConnectionKeeperMockRecorder) GetConnection ¶
func (mr *MockConnectionKeeperMockRecorder) GetConnection(ctx, connectionID interface{}) *gomock.Call
GetConnection indicates an expected call of GetConnection.
type MockPortKeeper ¶
type MockPortKeeper struct {
// contains filtered or unexported fields
}
MockPortKeeper is a mock of PortKeeper interface.
func NewMockPortKeeper ¶
func NewMockPortKeeper(ctrl *gomock.Controller) *MockPortKeeper
NewMockPortKeeper creates a new mock instance.
func (*MockPortKeeper) BindPort ¶
func (m *MockPortKeeper) BindPort(ctx types.Context, portID string) *types0.Capability
BindPort mocks base method.
func (*MockPortKeeper) EXPECT ¶
func (m *MockPortKeeper) EXPECT() *MockPortKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPortKeeperMockRecorder ¶
type MockPortKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockPortKeeperMockRecorder is the mock recorder for MockPortKeeper.
func (*MockPortKeeperMockRecorder) BindPort ¶
func (mr *MockPortKeeperMockRecorder) BindPort(ctx, portID interface{}) *gomock.Call
BindPort indicates an expected call of BindPort.
type MockProfilesHooks ¶ added in v6.2.0
type MockProfilesHooks struct {
// contains filtered or unexported fields
}
MockProfilesHooks is a mock of ProfilesHooks interface.
func NewMockProfilesHooks ¶ added in v6.2.0
func NewMockProfilesHooks(ctrl *gomock.Controller) *MockProfilesHooks
NewMockProfilesHooks creates a new mock instance.
func (*MockProfilesHooks) AfterApplicationLinkDeleted ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterApplicationLinkDeleted(ctx types.Context, link types0.ApplicationLink)
AfterApplicationLinkDeleted mocks base method.
func (*MockProfilesHooks) AfterApplicationLinkSaved ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterApplicationLinkSaved(ctx types.Context, link types0.ApplicationLink)
AfterApplicationLinkSaved mocks base method.
func (*MockProfilesHooks) AfterChainLinkDeleted ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterChainLinkDeleted(ctx types.Context, link types0.ChainLink)
AfterChainLinkDeleted mocks base method.
func (*MockProfilesHooks) AfterChainLinkSaved ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterChainLinkSaved(ctx types.Context, link types0.ChainLink)
AfterChainLinkSaved mocks base method.
func (*MockProfilesHooks) AfterDTagTransferRequestAccepted ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterDTagTransferRequestAccepted(ctx types.Context, request types0.DTagTransferRequest, newDTag string)
AfterDTagTransferRequestAccepted mocks base method.
func (*MockProfilesHooks) AfterDTagTransferRequestCreated ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterDTagTransferRequestCreated(ctx types.Context, request types0.DTagTransferRequest)
AfterDTagTransferRequestCreated mocks base method.
func (*MockProfilesHooks) AfterDTagTransferRequestDeleted ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterDTagTransferRequestDeleted(ctx types.Context, sender, recipient string)
AfterDTagTransferRequestDeleted mocks base method.
func (*MockProfilesHooks) AfterProfileDeleted ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterProfileDeleted(ctx types.Context, profile *types0.Profile)
AfterProfileDeleted mocks base method.
func (*MockProfilesHooks) AfterProfileSaved ¶ added in v6.2.0
func (m *MockProfilesHooks) AfterProfileSaved(ctx types.Context, profile *types0.Profile)
AfterProfileSaved mocks base method.
func (*MockProfilesHooks) EXPECT ¶ added in v6.2.0
func (m *MockProfilesHooks) EXPECT() *MockProfilesHooksMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProfilesHooksMockRecorder ¶ added in v6.2.0
type MockProfilesHooksMockRecorder struct {
// contains filtered or unexported fields
}
MockProfilesHooksMockRecorder is the mock recorder for MockProfilesHooks.
func (*MockProfilesHooksMockRecorder) AfterApplicationLinkDeleted ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterApplicationLinkDeleted(ctx, link interface{}) *gomock.Call
AfterApplicationLinkDeleted indicates an expected call of AfterApplicationLinkDeleted.
func (*MockProfilesHooksMockRecorder) AfterApplicationLinkSaved ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterApplicationLinkSaved(ctx, link interface{}) *gomock.Call
AfterApplicationLinkSaved indicates an expected call of AfterApplicationLinkSaved.
func (*MockProfilesHooksMockRecorder) AfterChainLinkDeleted ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterChainLinkDeleted(ctx, link interface{}) *gomock.Call
AfterChainLinkDeleted indicates an expected call of AfterChainLinkDeleted.
func (*MockProfilesHooksMockRecorder) AfterChainLinkSaved ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterChainLinkSaved(ctx, link interface{}) *gomock.Call
AfterChainLinkSaved indicates an expected call of AfterChainLinkSaved.
func (*MockProfilesHooksMockRecorder) AfterDTagTransferRequestAccepted ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterDTagTransferRequestAccepted(ctx, request, newDTag interface{}) *gomock.Call
AfterDTagTransferRequestAccepted indicates an expected call of AfterDTagTransferRequestAccepted.
func (*MockProfilesHooksMockRecorder) AfterDTagTransferRequestCreated ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterDTagTransferRequestCreated(ctx, request interface{}) *gomock.Call
AfterDTagTransferRequestCreated indicates an expected call of AfterDTagTransferRequestCreated.
func (*MockProfilesHooksMockRecorder) AfterDTagTransferRequestDeleted ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterDTagTransferRequestDeleted(ctx, sender, recipient interface{}) *gomock.Call
AfterDTagTransferRequestDeleted indicates an expected call of AfterDTagTransferRequestDeleted.
func (*MockProfilesHooksMockRecorder) AfterProfileDeleted ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterProfileDeleted(ctx, profile interface{}) *gomock.Call
AfterProfileDeleted indicates an expected call of AfterProfileDeleted.
func (*MockProfilesHooksMockRecorder) AfterProfileSaved ¶ added in v6.2.0
func (mr *MockProfilesHooksMockRecorder) AfterProfileSaved(ctx, profile interface{}) *gomock.Call
AfterProfileSaved indicates an expected call of AfterProfileSaved.
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, user, blocker 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, user, blocker, subspaceID interface{}) *gomock.Call
HasUserBlocked indicates an expected call of HasUserBlocked.
type MockScopedKeeper ¶
type MockScopedKeeper struct {
// contains filtered or unexported fields
}
MockScopedKeeper is a mock of ScopedKeeper interface.
func NewMockScopedKeeper ¶
func NewMockScopedKeeper(ctrl *gomock.Controller) *MockScopedKeeper
NewMockScopedKeeper creates a new mock instance.
func (*MockScopedKeeper) AuthenticateCapability ¶
func (m *MockScopedKeeper) AuthenticateCapability(ctx types.Context, cap *types0.Capability, name string) bool
AuthenticateCapability mocks base method.
func (*MockScopedKeeper) ClaimCapability ¶
func (m *MockScopedKeeper) ClaimCapability(ctx types.Context, cap *types0.Capability, name string) error
ClaimCapability mocks base method.
func (*MockScopedKeeper) EXPECT ¶
func (m *MockScopedKeeper) EXPECT() *MockScopedKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScopedKeeper) GetCapability ¶
func (m *MockScopedKeeper) GetCapability(ctx types.Context, name string) (*types0.Capability, bool)
GetCapability mocks base method.
type MockScopedKeeperMockRecorder ¶
type MockScopedKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockScopedKeeperMockRecorder is the mock recorder for MockScopedKeeper.
func (*MockScopedKeeperMockRecorder) AuthenticateCapability ¶
func (mr *MockScopedKeeperMockRecorder) AuthenticateCapability(ctx, cap, name interface{}) *gomock.Call
AuthenticateCapability indicates an expected call of AuthenticateCapability.
func (*MockScopedKeeperMockRecorder) ClaimCapability ¶
func (mr *MockScopedKeeperMockRecorder) ClaimCapability(ctx, cap, name interface{}) *gomock.Call
ClaimCapability indicates an expected call of ClaimCapability.
func (*MockScopedKeeperMockRecorder) GetCapability ¶
func (mr *MockScopedKeeperMockRecorder) GetCapability(ctx, name interface{}) *gomock.Call
GetCapability indicates an expected call of GetCapability.