testutil

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 6 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 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

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

func (*MockBankKeeper) GetAllBalances added in v0.1.0

func (m *MockBankKeeper) GetAllBalances(arg0 types2.Context, arg1 types2.AccAddress) types2.Coins

GetAllBalances mocks base method.

func (*MockBankKeeper) SendCoins added in v0.1.0

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

SendCoins mocks base method.

func (*MockBankKeeper) SendCoinsFromModuleToAccount

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

SendCoinsFromModuleToAccount mocks base method.

type MockBankKeeperMockRecorder

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

MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.

func (*MockBankKeeperMockRecorder) GetAllBalances added in v0.1.0

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

GetAllBalances indicates an expected call of GetAllBalances.

func (*MockBankKeeperMockRecorder) SendCoins added in v0.1.0

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

SendCoins indicates an expected call of SendCoins.

func (*MockBankKeeperMockRecorder) SendCoinsFromModuleToAccount

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

SendCoinsFromModuleToAccount indicates an expected call of SendCoinsFromModuleToAccount.

type MockMultisigKeeper

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

MockMultisigKeeper is a mock of MultisigKeeper interface.

func NewMockMultisigKeeper

func NewMockMultisigKeeper(ctrl *gomock.Controller) *MockMultisigKeeper

NewMockMultisigKeeper creates a new mock instance.

func (*MockMultisigKeeper) EXPECT

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

func (*MockMultisigKeeper) GetWallet

func (m *MockMultisigKeeper) GetWallet(arg0 types2.Context, arg1 string) (types.Wallet, error)

GetWallet mocks base method.

func (*MockMultisigKeeper) SetWallet

func (m *MockMultisigKeeper) SetWallet(arg0 types2.Context, arg1 types.Wallet)

SetWallet mocks base method.

type MockMultisigKeeperMockRecorder

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

MockMultisigKeeperMockRecorder is the mock recorder for MockMultisigKeeper.

func (*MockMultisigKeeperMockRecorder) GetWallet

func (mr *MockMultisigKeeperMockRecorder) GetWallet(arg0, arg1 interface{}) *gomock.Call

GetWallet indicates an expected call of GetWallet.

func (*MockMultisigKeeperMockRecorder) SetWallet

func (mr *MockMultisigKeeperMockRecorder) SetWallet(arg0, arg1 interface{}) *gomock.Call

SetWallet indicates an expected call of SetWallet.

type MockNftKeeper

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

MockNftKeeper is a mock of NftKeeper interface.

func NewMockNftKeeper

func NewMockNftKeeper(ctrl *gomock.Controller) *MockNftKeeper

NewMockNftKeeper creates a new mock instance.

func (*MockNftKeeper) EXPECT

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

func (*MockNftKeeper) GetSubTokens

func (m *MockNftKeeper) GetSubTokens(arg0 types2.Context, arg1 string) []types0.SubToken

GetSubTokens mocks base method.

func (*MockNftKeeper) GetToken

func (m *MockNftKeeper) GetToken(arg0 types2.Context, arg1 string) (types0.Token, bool)

GetToken mocks base method.

func (*MockNftKeeper) ReplaceSubTokenOwner added in v0.1.0

func (m *MockNftKeeper) ReplaceSubTokenOwner(arg0 types2.Context, arg1 string, arg2 uint32, arg3 string) error

ReplaceSubTokenOwner mocks base method.

type MockNftKeeperMockRecorder

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

MockNftKeeperMockRecorder is the mock recorder for MockNftKeeper.

func (*MockNftKeeperMockRecorder) GetSubTokens

func (mr *MockNftKeeperMockRecorder) GetSubTokens(arg0, arg1 interface{}) *gomock.Call

GetSubTokens indicates an expected call of GetSubTokens.

func (*MockNftKeeperMockRecorder) GetToken

func (mr *MockNftKeeperMockRecorder) GetToken(arg0, arg1 interface{}) *gomock.Call

GetToken indicates an expected call of GetToken.

func (*MockNftKeeperMockRecorder) ReplaceSubTokenOwner added in v0.1.0

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

ReplaceSubTokenOwner indicates an expected call of ReplaceSubTokenOwner.

type MockValidatorKeeper added in v0.1.0

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

MockValidatorKeeper is a mock of ValidatorKeeper interface.

func NewMockValidatorKeeper added in v0.1.0

func NewMockValidatorKeeper(ctrl *gomock.Controller) *MockValidatorKeeper

NewMockValidatorKeeper creates a new mock instance.

func (*MockValidatorKeeper) EXPECT added in v0.1.0

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

func (*MockValidatorKeeper) GetValidator added in v0.1.0

func (m *MockValidatorKeeper) GetValidator(arg0 types2.Context, arg1 types2.ValAddress) (types1.Validator, bool)

GetValidator mocks base method.

func (*MockValidatorKeeper) SetValidator added in v0.1.0

func (m *MockValidatorKeeper) SetValidator(arg0 types2.Context, arg1 types1.Validator)

SetValidator mocks base method.

type MockValidatorKeeperMockRecorder added in v0.1.0

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

MockValidatorKeeperMockRecorder is the mock recorder for MockValidatorKeeper.

func (*MockValidatorKeeperMockRecorder) GetValidator added in v0.1.0

func (mr *MockValidatorKeeperMockRecorder) GetValidator(arg0, arg1 interface{}) *gomock.Call

GetValidator indicates an expected call of GetValidator.

func (*MockValidatorKeeperMockRecorder) SetValidator added in v0.1.0

func (mr *MockValidatorKeeperMockRecorder) SetValidator(arg0, arg1 interface{}) *gomock.Call

SetValidator indicates an expected call of SetValidator.

Jump to

Keyboard shortcuts

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