mock

package
v6.0.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (m *MockBankKeeper) BurnCoins(arg0 types.Context, arg1 string, arg2 types.Coins) error

BurnCoins mocks base method.

func (*MockBankKeeper) EXPECT

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

func (*MockBankKeeper) SendCoins

func (m *MockBankKeeper) SendCoins(arg0 types.Context, arg1, arg2 types.AccAddress, arg3 types.Coins) error

SendCoins mocks base method.

func (*MockBankKeeper) SendCoinsFromAccountToModule

func (m *MockBankKeeper) SendCoinsFromAccountToModule(arg0 types.Context, arg1 types.AccAddress, arg2 string, arg3 types.Coins) error

SendCoinsFromAccountToModule mocks base method.

type MockBankKeeperMockRecorder

type MockBankKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) BurnCoins

func (mr *MockBankKeeperMockRecorder) BurnCoins(arg0, arg1, arg2 interface{}) *gomock.Call

BurnCoins indicates an expected call of BurnCoins.

func (*MockBankKeeperMockRecorder) SendCoins

func (mr *MockBankKeeperMockRecorder) SendCoins(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SendCoins indicates an expected call of SendCoins.

func (*MockBankKeeperMockRecorder) SendCoinsFromAccountToModule

func (mr *MockBankKeeperMockRecorder) SendCoinsFromAccountToModule(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SendCoinsFromAccountToModule indicates an expected call of SendCoinsFromAccountToModule.

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(arg0 types.Context, arg1, arg2 string) (types1.Channel, bool)

GetChannel mocks base method.

func (*MockChannelKeeper) GetNextSequenceSend

func (m *MockChannelKeeper) GetNextSequenceSend(arg0 types.Context, arg1, arg2 string) (uint64, bool)

GetNextSequenceSend mocks base method.

func (*MockChannelKeeper) GetPacketCommitment

func (m *MockChannelKeeper) GetPacketCommitment(arg0 types.Context, arg1, arg2 string, arg3 uint64) []byte

GetPacketCommitment mocks base method.

func (*MockChannelKeeper) LookupModuleByChannel

func (m *MockChannelKeeper) LookupModuleByChannel(arg0 types.Context, arg1, arg2 string) (string, *types0.Capability, error)

LookupModuleByChannel 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(arg0, arg1, arg2 interface{}) *gomock.Call

GetChannel indicates an expected call of GetChannel.

func (*MockChannelKeeperMockRecorder) GetNextSequenceSend

func (mr *MockChannelKeeperMockRecorder) GetNextSequenceSend(arg0, arg1, arg2 interface{}) *gomock.Call

GetNextSequenceSend indicates an expected call of GetNextSequenceSend.

func (*MockChannelKeeperMockRecorder) GetPacketCommitment

func (mr *MockChannelKeeperMockRecorder) GetPacketCommitment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetPacketCommitment indicates an expected call of GetPacketCommitment.

func (*MockChannelKeeperMockRecorder) LookupModuleByChannel

func (mr *MockChannelKeeperMockRecorder) LookupModuleByChannel(arg0, arg1, arg2 interface{}) *gomock.Call

LookupModuleByChannel indicates an expected call of LookupModuleByChannel.

type MockDistributionKeeper

type MockDistributionKeeper struct {
	// contains filtered or unexported fields
}

MockDistributionKeeper is a mock of DistributionKeeper interface.

func NewMockDistributionKeeper

func NewMockDistributionKeeper(ctrl *gomock.Controller) *MockDistributionKeeper

NewMockDistributionKeeper creates a new mock instance.

func (*MockDistributionKeeper) EXPECT

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

func (*MockDistributionKeeper) FundCommunityPool

func (m *MockDistributionKeeper) FundCommunityPool(arg0 types.Context, arg1 types.Coins, arg2 types.AccAddress) error

FundCommunityPool mocks base method.

type MockDistributionKeeperMockRecorder

type MockDistributionKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockDistributionKeeperMockRecorder is the mock recorder for MockDistributionKeeper.

func (*MockDistributionKeeperMockRecorder) FundCommunityPool

func (mr *MockDistributionKeeperMockRecorder) FundCommunityPool(arg0, arg1, arg2 interface{}) *gomock.Call

FundCommunityPool indicates an expected call of FundCommunityPool.

type MockIBCModule

type MockIBCModule struct {
	// contains filtered or unexported fields
}

MockIBCModule is a mock of IBCModule interface.

func NewMockIBCModule

func NewMockIBCModule(ctrl *gomock.Controller) *MockIBCModule

NewMockIBCModule creates a new mock instance.

func (*MockIBCModule) EXPECT

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

func (*MockIBCModule) OnAcknowledgementPacket

func (m *MockIBCModule) OnAcknowledgementPacket(arg0 types.Context, arg1 types1.Packet, arg2 []byte, arg3 types.AccAddress) error

OnAcknowledgementPacket mocks base method.

func (*MockIBCModule) OnChanCloseConfirm

func (m *MockIBCModule) OnChanCloseConfirm(arg0 types.Context, arg1, arg2 string) error

OnChanCloseConfirm mocks base method.

func (*MockIBCModule) OnChanCloseInit

func (m *MockIBCModule) OnChanCloseInit(arg0 types.Context, arg1, arg2 string) error

OnChanCloseInit mocks base method.

func (*MockIBCModule) OnChanOpenAck

func (m *MockIBCModule) OnChanOpenAck(arg0 types.Context, arg1, arg2, arg3, arg4 string) error

OnChanOpenAck mocks base method.

func (*MockIBCModule) OnChanOpenConfirm

func (m *MockIBCModule) OnChanOpenConfirm(arg0 types.Context, arg1, arg2 string) error

OnChanOpenConfirm mocks base method.

func (*MockIBCModule) OnChanOpenInit

func (m *MockIBCModule) OnChanOpenInit(arg0 types.Context, arg1 types1.Order, arg2 []string, arg3, arg4 string, arg5 *types0.Capability, arg6 types1.Counterparty, arg7 string) (string, error)

OnChanOpenInit mocks base method.

func (*MockIBCModule) OnChanOpenTry

func (m *MockIBCModule) OnChanOpenTry(arg0 types.Context, arg1 types1.Order, arg2 []string, arg3, arg4 string, arg5 *types0.Capability, arg6 types1.Counterparty, arg7 string) (string, error)

OnChanOpenTry mocks base method.

func (*MockIBCModule) OnRecvPacket

func (m *MockIBCModule) OnRecvPacket(arg0 types.Context, arg1 types1.Packet, arg2 types.AccAddress) exported.Acknowledgement

OnRecvPacket mocks base method.

func (*MockIBCModule) OnTimeoutPacket

func (m *MockIBCModule) OnTimeoutPacket(arg0 types.Context, arg1 types1.Packet, arg2 types.AccAddress) error

OnTimeoutPacket mocks base method.

type MockIBCModuleMockRecorder

type MockIBCModuleMockRecorder struct {
	// contains filtered or unexported fields
}

MockIBCModuleMockRecorder is the mock recorder for MockIBCModule.

func (*MockIBCModuleMockRecorder) OnAcknowledgementPacket

func (mr *MockIBCModuleMockRecorder) OnAcknowledgementPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

OnAcknowledgementPacket indicates an expected call of OnAcknowledgementPacket.

func (*MockIBCModuleMockRecorder) OnChanCloseConfirm

func (mr *MockIBCModuleMockRecorder) OnChanCloseConfirm(arg0, arg1, arg2 interface{}) *gomock.Call

OnChanCloseConfirm indicates an expected call of OnChanCloseConfirm.

func (*MockIBCModuleMockRecorder) OnChanCloseInit

func (mr *MockIBCModuleMockRecorder) OnChanCloseInit(arg0, arg1, arg2 interface{}) *gomock.Call

OnChanCloseInit indicates an expected call of OnChanCloseInit.

func (*MockIBCModuleMockRecorder) OnChanOpenAck

func (mr *MockIBCModuleMockRecorder) OnChanOpenAck(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

OnChanOpenAck indicates an expected call of OnChanOpenAck.

func (*MockIBCModuleMockRecorder) OnChanOpenConfirm

func (mr *MockIBCModuleMockRecorder) OnChanOpenConfirm(arg0, arg1, arg2 interface{}) *gomock.Call

OnChanOpenConfirm indicates an expected call of OnChanOpenConfirm.

func (*MockIBCModuleMockRecorder) OnChanOpenInit

func (mr *MockIBCModuleMockRecorder) OnChanOpenInit(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

OnChanOpenInit indicates an expected call of OnChanOpenInit.

func (*MockIBCModuleMockRecorder) OnChanOpenTry

func (mr *MockIBCModuleMockRecorder) OnChanOpenTry(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

OnChanOpenTry indicates an expected call of OnChanOpenTry.

func (*MockIBCModuleMockRecorder) OnRecvPacket

func (mr *MockIBCModuleMockRecorder) OnRecvPacket(arg0, arg1, arg2 interface{}) *gomock.Call

OnRecvPacket indicates an expected call of OnRecvPacket.

func (*MockIBCModuleMockRecorder) OnTimeoutPacket

func (mr *MockIBCModuleMockRecorder) OnTimeoutPacket(arg0, arg1, arg2 interface{}) *gomock.Call

OnTimeoutPacket indicates an expected call of OnTimeoutPacket.

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

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

func (*MockICS4Wrapper) GetAppVersion

func (m *MockICS4Wrapper) GetAppVersion(arg0 types.Context, arg1, arg2 string) (string, bool)

GetAppVersion mocks base method.

func (*MockICS4Wrapper) SendPacket

func (m *MockICS4Wrapper) SendPacket(arg0 types.Context, arg1 *types0.Capability, arg2, arg3 string, arg4 types1.Height, arg5 uint64, arg6 []byte) (uint64, error)

SendPacket mocks base method.

func (*MockICS4Wrapper) WriteAcknowledgement

func (m *MockICS4Wrapper) WriteAcknowledgement(arg0 types.Context, arg1 *types0.Capability, arg2 exported.PacketI, arg3 exported.Acknowledgement) error

WriteAcknowledgement mocks base method.

type MockICS4WrapperMockRecorder

type MockICS4WrapperMockRecorder struct {
	// contains filtered or unexported fields
}

MockICS4WrapperMockRecorder is the mock recorder for MockICS4Wrapper.

func (*MockICS4WrapperMockRecorder) GetAppVersion

func (mr *MockICS4WrapperMockRecorder) GetAppVersion(arg0, arg1, arg2 interface{}) *gomock.Call

GetAppVersion indicates an expected call of GetAppVersion.

func (*MockICS4WrapperMockRecorder) SendPacket

func (mr *MockICS4WrapperMockRecorder) SendPacket(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

SendPacket indicates an expected call of SendPacket.

func (*MockICS4WrapperMockRecorder) WriteAcknowledgement

func (mr *MockICS4WrapperMockRecorder) WriteAcknowledgement(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WriteAcknowledgement indicates an expected call of WriteAcknowledgement.

type MockTransferKeeper

type MockTransferKeeper struct {
	// contains filtered or unexported fields
}

MockTransferKeeper is a mock of TransferKeeper interface.

func NewMockTransferKeeper

func NewMockTransferKeeper(ctrl *gomock.Controller) *MockTransferKeeper

NewMockTransferKeeper creates a new mock instance.

func (*MockTransferKeeper) DenomPathFromHash

func (m *MockTransferKeeper) DenomPathFromHash(arg0 types.Context, arg1 string) (string, error)

DenomPathFromHash mocks base method.

func (*MockTransferKeeper) EXPECT

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

func (*MockTransferKeeper) Transfer

Transfer mocks base method.

type MockTransferKeeperMockRecorder

type MockTransferKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockTransferKeeperMockRecorder is the mock recorder for MockTransferKeeper.

func (*MockTransferKeeperMockRecorder) DenomPathFromHash

func (mr *MockTransferKeeperMockRecorder) DenomPathFromHash(arg0, arg1 interface{}) *gomock.Call

DenomPathFromHash indicates an expected call of DenomPathFromHash.

func (*MockTransferKeeperMockRecorder) Transfer

func (mr *MockTransferKeeperMockRecorder) Transfer(arg0, arg1 interface{}) *gomock.Call

Transfer indicates an expected call of Transfer.

Jump to

Keyboard shortcuts

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