testutil

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 8 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 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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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