Documentation
¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types2.AccAddress) types2.AccountI
- func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, name string) types2.ModuleAccountI
- func (m *MockAccountKeeper) GetModuleAddress(name string) types2.AccAddress
- func (m *MockAccountKeeper) NewAccount(ctx context.Context, account types2.AccountI) types2.AccountI
- func (m *MockAccountKeeper) SetAccount(ctx context.Context, account types2.AccountI)
- func (m *MockAccountKeeper) SetModuleAccount(ctx context.Context, moduleAccount types2.ModuleAccountI)
- type MockAccountKeeperMockRecorder
- func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) NewAccount(ctx, account any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, account any) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(ctx, moduleAccount any) *gomock.Call
- type MockBandtssKeeper
- type MockBandtssKeeperMockRecorder
- type MockBankKeeper
- func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
- func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types2.AccAddress) types2.Coins
- func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types2.AccAddress, recipientModule string, ...) error
- func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types2.AccAddress, ...) error
- func (m *MockBankKeeper) SpendableCoins(ctx context.Context, addr types2.AccAddress) types2.Coins
- type MockBankKeeperMockRecorder
- func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt any) *gomock.Call
- func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr any) *gomock.Call
- type MockChannelKeeper
- type MockChannelKeeperMockRecorder
- type MockFeedsKeeper
- type MockFeedsKeeperMockRecorder
- type MockICS4Wrapper
- type MockICS4WrapperMockRecorder
- type MockPortKeeper
- type MockPortKeeperMockRecorder
- type MockScopedKeeper
- func (m *MockScopedKeeper) AuthenticateCapability(ctx types2.Context, cap *types3.Capability, name string) bool
- func (m *MockScopedKeeper) ClaimCapability(ctx types2.Context, cap *types3.Capability, name string) error
- func (m *MockScopedKeeper) EXPECT() *MockScopedKeeperMockRecorder
- func (m *MockScopedKeeper) GetCapability(ctx types2.Context, name string) (*types3.Capability, bool)
- type MockScopedKeeperMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountKeeper ¶
type MockAccountKeeper struct {
// contains filtered or unexported fields
}
MockAccountKeeper is a mock of AccountKeeper interface.
func NewMockAccountKeeper ¶
func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper
NewMockAccountKeeper creates a new mock instance.
func (*MockAccountKeeper) EXPECT ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccountKeeper) GetAccount ¶
func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types2.AccAddress) types2.AccountI
GetAccount mocks base method.
func (*MockAccountKeeper) GetModuleAccount ¶
func (m *MockAccountKeeper) GetModuleAccount(ctx context.Context, name string) types2.ModuleAccountI
GetModuleAccount mocks base method.
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(name string) types2.AccAddress
GetModuleAddress mocks base method.
func (*MockAccountKeeper) NewAccount ¶
func (m *MockAccountKeeper) NewAccount(ctx context.Context, account types2.AccountI) types2.AccountI
NewAccount mocks base method.
func (*MockAccountKeeper) SetAccount ¶
func (m *MockAccountKeeper) SetAccount(ctx context.Context, account types2.AccountI)
SetAccount mocks base method.
func (*MockAccountKeeper) SetModuleAccount ¶
func (m *MockAccountKeeper) SetModuleAccount(ctx context.Context, moduleAccount types2.ModuleAccountI)
SetModuleAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) GetAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr any) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAccount(ctx, name any) *gomock.Call
GetModuleAccount indicates an expected call of GetModuleAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAddress ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name any) *gomock.Call
GetModuleAddress indicates an expected call of GetModuleAddress.
func (*MockAccountKeeperMockRecorder) NewAccount ¶
func (mr *MockAccountKeeperMockRecorder) NewAccount(ctx, account any) *gomock.Call
NewAccount indicates an expected call of NewAccount.
func (*MockAccountKeeperMockRecorder) SetAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, account any) *gomock.Call
SetAccount indicates an expected call of SetAccount.
func (*MockAccountKeeperMockRecorder) SetModuleAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(ctx, moduleAccount any) *gomock.Call
SetModuleAccount indicates an expected call of SetModuleAccount.
type MockBandtssKeeper ¶
type MockBandtssKeeper struct {
// contains filtered or unexported fields
}
MockBandtssKeeper is a mock of BandtssKeeper interface.
func NewMockBandtssKeeper ¶
func NewMockBandtssKeeper(ctrl *gomock.Controller) *MockBandtssKeeper
NewMockBandtssKeeper creates a new mock instance.
func (*MockBandtssKeeper) CreateTunnelSigningRequest ¶
func (m *MockBandtssKeeper) CreateTunnelSigningRequest(ctx types2.Context, tunnelID uint64, destinationChainID, destinationContractAddr string, content types1.Content, sender types2.AccAddress, feeLimit types2.Coins) (types.SigningID, error)
CreateTunnelSigningRequest mocks base method.
func (*MockBandtssKeeper) EXPECT ¶
func (m *MockBandtssKeeper) EXPECT() *MockBandtssKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBandtssKeeper) GetSigningFee ¶
GetSigningFee mocks base method.
type MockBandtssKeeperMockRecorder ¶
type MockBandtssKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBandtssKeeperMockRecorder is the mock recorder for MockBandtssKeeper.
func (*MockBandtssKeeperMockRecorder) CreateTunnelSigningRequest ¶
func (mr *MockBandtssKeeperMockRecorder) CreateTunnelSigningRequest(ctx, tunnelID, destinationChainID, destinationContractAddr, content, sender, feeLimit any) *gomock.Call
CreateTunnelSigningRequest indicates an expected call of CreateTunnelSigningRequest.
func (*MockBandtssKeeperMockRecorder) GetSigningFee ¶
func (mr *MockBandtssKeeperMockRecorder) GetSigningFee(ctx any) *gomock.Call
GetSigningFee indicates an expected call of GetSigningFee.
type MockBankKeeper ¶
type MockBankKeeper struct {
// contains filtered or unexported fields
}
MockBankKeeper is a mock of BankKeeper interface.
func NewMockBankKeeper ¶
func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper
NewMockBankKeeper creates a new mock instance.
func (*MockBankKeeper) EXPECT ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBankKeeper) GetAllBalances ¶
func (m *MockBankKeeper) GetAllBalances(ctx context.Context, addr types2.AccAddress) types2.Coins
GetAllBalances mocks base method.
func (*MockBankKeeper) SendCoinsFromAccountToModule ¶
func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types2.AccAddress, recipientModule string, amt types2.Coins) error
SendCoinsFromAccountToModule mocks base method.
func (*MockBankKeeper) SendCoinsFromModuleToAccount ¶
func (m *MockBankKeeper) SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr types2.AccAddress, amt types2.Coins) error
SendCoinsFromModuleToAccount mocks base method.
func (*MockBankKeeper) SpendableCoins ¶
func (m *MockBankKeeper) SpendableCoins(ctx context.Context, addr types2.AccAddress) types2.Coins
SpendableCoins mocks base method.
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) GetAllBalances ¶
func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call
GetAllBalances indicates an expected call of GetAllBalances.
func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(ctx, senderAddr, recipientModule, amt any) *gomock.Call
SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.
func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount ¶
func (mr *MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount(ctx, senderModule, recipientAddr, amt any) *gomock.Call
SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.
func (*MockBankKeeperMockRecorder) SpendableCoins ¶
func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr any) *gomock.Call
SpendableCoins indicates an expected call of SpendableCoins.
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 types2.Context, srcPort, srcChan string) (types5.Channel, bool)
GetChannel 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 any) *gomock.Call
GetChannel indicates an expected call of GetChannel.
type MockFeedsKeeper ¶
type MockFeedsKeeper struct {
// contains filtered or unexported fields
}
MockFeedsKeeper is a mock of FeedsKeeper interface.
func NewMockFeedsKeeper ¶
func NewMockFeedsKeeper(ctrl *gomock.Controller) *MockFeedsKeeper
NewMockFeedsKeeper creates a new mock instance.
func (*MockFeedsKeeper) EXPECT ¶
func (m *MockFeedsKeeper) EXPECT() *MockFeedsKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFeedsKeeper) GetAllPrices ¶
func (m *MockFeedsKeeper) GetAllPrices(ctx types2.Context) []types0.Price
GetAllPrices mocks base method.
type MockFeedsKeeperMockRecorder ¶
type MockFeedsKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockFeedsKeeperMockRecorder is the mock recorder for MockFeedsKeeper.
func (*MockFeedsKeeperMockRecorder) GetAllPrices ¶
func (mr *MockFeedsKeeperMockRecorder) GetAllPrices(ctx any) *gomock.Call
GetAllPrices indicates an expected call of GetAllPrices.
type MockICS4Wrapper ¶
type MockICS4Wrapper struct {
// contains filtered or unexported fields
}
MockICS4Wrapper is a mock of ICS4Wrapper interface.
func NewMockICS4Wrapper ¶
func NewMockICS4Wrapper(ctrl *gomock.Controller) *MockICS4Wrapper
NewMockICS4Wrapper creates a new mock instance.
func (*MockICS4Wrapper) EXPECT ¶
func (m *MockICS4Wrapper) EXPECT() *MockICS4WrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockICS4Wrapper) SendPacket ¶
func (m *MockICS4Wrapper) SendPacket(ctx types2.Context, chanCap *types3.Capability, sourcePort, sourceChannel string, timeoutHeight types4.Height, timeoutTimestamp uint64, data []byte) (uint64, error)
SendPacket mocks base method.
type MockICS4WrapperMockRecorder ¶
type MockICS4WrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockICS4WrapperMockRecorder is the mock recorder for MockICS4Wrapper.
func (*MockICS4WrapperMockRecorder) SendPacket ¶
func (mr *MockICS4WrapperMockRecorder) SendPacket(ctx, chanCap, sourcePort, sourceChannel, timeoutHeight, timeoutTimestamp, data any) *gomock.Call
SendPacket indicates an expected call of SendPacket.
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 types2.Context, portID string) *types3.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.
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 types2.Context, cap *types3.Capability, name string) bool
AuthenticateCapability mocks base method.
func (*MockScopedKeeper) ClaimCapability ¶
func (m *MockScopedKeeper) ClaimCapability(ctx types2.Context, cap *types3.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 types2.Context, name string) (*types3.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 any) *gomock.Call
AuthenticateCapability indicates an expected call of AuthenticateCapability.
func (*MockScopedKeeperMockRecorder) ClaimCapability ¶
func (mr *MockScopedKeeperMockRecorder) ClaimCapability(ctx, cap, name any) *gomock.Call
ClaimCapability indicates an expected call of ClaimCapability.
func (*MockScopedKeeperMockRecorder) GetCapability ¶
func (mr *MockScopedKeeperMockRecorder) GetCapability(ctx, name any) *gomock.Call
GetCapability indicates an expected call of GetCapability.