Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- type MockAccountKeeperMockRecorder
- type MockBankKeeper
- type MockBankKeeperMockRecorder
- type MockNftKeeper
- func (m *MockNftKeeper) BatchMint(ctx context.Context, tokens []nft.NFT, receiver types.AccAddress) error
- func (m *MockNftKeeper) BatchTransfer(ctx context.Context, classID string, nftIDs []string, ...) error
- func (m *MockNftKeeper) BatchUpdate(ctx context.Context, tokens []nft.NFT) error
- func (m *MockNftKeeper) EXPECT() *MockNftKeeperMockRecorder
- func (m *MockNftKeeper) GetClasses(ctx context.Context) []*nft.Class
- func (m *MockNftKeeper) GetNFT(ctx context.Context, classID, nftID string) (nft.NFT, bool)
- func (m *MockNftKeeper) GetNFTsOfClassByOwner(ctx context.Context, classID string, owner types.AccAddress) []nft.NFT
- func (m *MockNftKeeper) GetOwner(ctx context.Context, classID, nftID string) types.AccAddress
- func (m *MockNftKeeper) HasClass(ctx context.Context, classID string) bool
- func (m *MockNftKeeper) Mint(ctx context.Context, token nft.NFT, receiver types.AccAddress) error
- func (m *MockNftKeeper) SaveClass(ctx context.Context, class nft.Class) error
- func (m *MockNftKeeper) Transfer(ctx context.Context, classID, nftID string, receiver types.AccAddress) error
- func (m *MockNftKeeper) Update(ctx context.Context, token nft.NFT) error
- type MockNftKeeperMockRecorder
- func (mr *MockNftKeeperMockRecorder) BatchMint(ctx, tokens, receiver interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) BatchTransfer(ctx, classID, nftIDs, receiver interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) BatchUpdate(ctx, tokens interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) GetClasses(ctx interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) GetNFT(ctx, classID, nftID interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) GetNFTsOfClassByOwner(ctx, classID, owner interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) GetOwner(ctx, classID, nftID interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) HasClass(ctx, classID interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) Mint(ctx, token, receiver interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) SaveClass(ctx, class interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) Transfer(ctx, classID, nftID, receiver interface{}) *gomock.Call
- func (mr *MockNftKeeperMockRecorder) Update(ctx, token interface{}) *gomock.Call
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 types.Context, addr types.AccAddress) types.AccountI
GetAccount 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 interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
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) SpendableCoins ¶
func (m *MockBankKeeper) SpendableCoins(ctx types.Context, addr types.AccAddress) types.Coins
SpendableCoins mocks base method.
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper.
func (*MockBankKeeperMockRecorder) SpendableCoins ¶
func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr interface{}) *gomock.Call
SpendableCoins indicates an expected call of SpendableCoins.
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) BatchMint ¶ added in v0.1.0
func (m *MockNftKeeper) BatchMint(ctx context.Context, tokens []nft.NFT, receiver types.AccAddress) error
BatchMint mocks base method.
func (*MockNftKeeper) BatchTransfer ¶ added in v0.1.0
func (m *MockNftKeeper) BatchTransfer(ctx context.Context, classID string, nftIDs []string, receiver types.AccAddress) error
BatchTransfer mocks base method.
func (*MockNftKeeper) BatchUpdate ¶ added in v0.1.0
BatchUpdate mocks base method.
func (*MockNftKeeper) EXPECT ¶
func (m *MockNftKeeper) EXPECT() *MockNftKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNftKeeper) GetClasses ¶ added in v0.1.0
func (m *MockNftKeeper) GetClasses(ctx context.Context) []*nft.Class
GetClasses mocks base method.
func (*MockNftKeeper) GetNFTsOfClassByOwner ¶
func (m *MockNftKeeper) GetNFTsOfClassByOwner(ctx context.Context, classID string, owner types.AccAddress) []nft.NFT
GetNFTsOfClassByOwner mocks base method.
func (*MockNftKeeper) GetOwner ¶
func (m *MockNftKeeper) GetOwner(ctx context.Context, classID, nftID string) types.AccAddress
GetOwner mocks base method.
func (*MockNftKeeper) HasClass ¶
func (m *MockNftKeeper) HasClass(ctx context.Context, classID string) bool
HasClass mocks base method.
func (*MockNftKeeper) Mint ¶
func (m *MockNftKeeper) Mint(ctx context.Context, token nft.NFT, receiver types.AccAddress) error
Mint mocks base method.
func (*MockNftKeeper) Transfer ¶
func (m *MockNftKeeper) Transfer(ctx context.Context, classID, nftID string, receiver types.AccAddress) error
Transfer mocks base method.
type MockNftKeeperMockRecorder ¶
type MockNftKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockNftKeeperMockRecorder is the mock recorder for MockNftKeeper.
func (*MockNftKeeperMockRecorder) BatchMint ¶ added in v0.1.0
func (mr *MockNftKeeperMockRecorder) BatchMint(ctx, tokens, receiver interface{}) *gomock.Call
BatchMint indicates an expected call of BatchMint.
func (*MockNftKeeperMockRecorder) BatchTransfer ¶ added in v0.1.0
func (mr *MockNftKeeperMockRecorder) BatchTransfer(ctx, classID, nftIDs, receiver interface{}) *gomock.Call
BatchTransfer indicates an expected call of BatchTransfer.
func (*MockNftKeeperMockRecorder) BatchUpdate ¶ added in v0.1.0
func (mr *MockNftKeeperMockRecorder) BatchUpdate(ctx, tokens interface{}) *gomock.Call
BatchUpdate indicates an expected call of BatchUpdate.
func (*MockNftKeeperMockRecorder) GetClasses ¶ added in v0.1.0
func (mr *MockNftKeeperMockRecorder) GetClasses(ctx interface{}) *gomock.Call
GetClasses indicates an expected call of GetClasses.
func (*MockNftKeeperMockRecorder) GetNFT ¶
func (mr *MockNftKeeperMockRecorder) GetNFT(ctx, classID, nftID interface{}) *gomock.Call
GetNFT indicates an expected call of GetNFT.
func (*MockNftKeeperMockRecorder) GetNFTsOfClassByOwner ¶
func (mr *MockNftKeeperMockRecorder) GetNFTsOfClassByOwner(ctx, classID, owner interface{}) *gomock.Call
GetNFTsOfClassByOwner indicates an expected call of GetNFTsOfClassByOwner.
func (*MockNftKeeperMockRecorder) GetOwner ¶
func (mr *MockNftKeeperMockRecorder) GetOwner(ctx, classID, nftID interface{}) *gomock.Call
GetOwner indicates an expected call of GetOwner.
func (*MockNftKeeperMockRecorder) HasClass ¶
func (mr *MockNftKeeperMockRecorder) HasClass(ctx, classID interface{}) *gomock.Call
HasClass indicates an expected call of HasClass.
func (*MockNftKeeperMockRecorder) Mint ¶
func (mr *MockNftKeeperMockRecorder) Mint(ctx, token, receiver interface{}) *gomock.Call
Mint indicates an expected call of Mint.
func (*MockNftKeeperMockRecorder) SaveClass ¶
func (mr *MockNftKeeperMockRecorder) SaveClass(ctx, class interface{}) *gomock.Call
SaveClass indicates an expected call of SaveClass.
func (*MockNftKeeperMockRecorder) Transfer ¶
func (mr *MockNftKeeperMockRecorder) Transfer(ctx, classID, nftID, receiver interface{}) *gomock.Call
Transfer indicates an expected call of Transfer.
func (*MockNftKeeperMockRecorder) Update ¶
func (mr *MockNftKeeperMockRecorder) Update(ctx, token interface{}) *gomock.Call
Update indicates an expected call of Update.