Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- type MockAccountKeeper
- func (m *MockAccountKeeper) AddressCodec() address.Codec
- func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
- func (m *MockAccountKeeper) GetAccount(ctx context.Context, addr types.AccAddress) types.AccountI
- func (m *MockAccountKeeper) GetModuleAddress(moduleName string) types.AccAddress
- func (m *MockAccountKeeper) GetParams(ctx context.Context) types0.Params
- func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types.AccountI)
- type MockAccountKeeperMockRecorder
- func (mr *MockAccountKeeperMockRecorder) AddressCodec() *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(moduleName interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc interface{}) *gomock.Call
- type MockFeegrantKeeper
- type MockFeegrantKeeperMockRecorder
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) AddressCodec ¶
func (m *MockAccountKeeper) AddressCodec() address.Codec
AddressCodec mocks base method.
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 types.AccAddress) types.AccountI
GetAccount mocks base method.
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(moduleName string) types.AccAddress
GetModuleAddress mocks base method.
func (*MockAccountKeeper) GetParams ¶
func (m *MockAccountKeeper) GetParams(ctx context.Context) types0.Params
GetParams mocks base method.
func (*MockAccountKeeper) SetAccount ¶
func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types.AccountI)
SetAccount mocks base method.
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper.
func (*MockAccountKeeperMockRecorder) AddressCodec ¶
func (mr *MockAccountKeeperMockRecorder) AddressCodec() *gomock.Call
AddressCodec indicates an expected call of AddressCodec.
func (*MockAccountKeeperMockRecorder) GetAccount ¶
func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockAccountKeeperMockRecorder) GetModuleAddress ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(moduleName interface{}) *gomock.Call
GetModuleAddress indicates an expected call of GetModuleAddress.
func (*MockAccountKeeperMockRecorder) GetParams ¶
func (mr *MockAccountKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call
GetParams indicates an expected call of GetParams.
func (*MockAccountKeeperMockRecorder) SetAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc interface{}) *gomock.Call
SetAccount indicates an expected call of SetAccount.
type MockFeegrantKeeper ¶
type MockFeegrantKeeper struct {
// contains filtered or unexported fields
}
MockFeegrantKeeper is a mock of FeegrantKeeper interface.
func NewMockFeegrantKeeper ¶
func NewMockFeegrantKeeper(ctrl *gomock.Controller) *MockFeegrantKeeper
NewMockFeegrantKeeper creates a new mock instance.
func (*MockFeegrantKeeper) EXPECT ¶
func (m *MockFeegrantKeeper) EXPECT() *MockFeegrantKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFeegrantKeeper) UseGrantedFees ¶
func (m *MockFeegrantKeeper) UseGrantedFees(ctx context.Context, granter, grantee types.AccAddress, fee types.Coins, msgs []types.Msg) error
UseGrantedFees mocks base method.
type MockFeegrantKeeperMockRecorder ¶
type MockFeegrantKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockFeegrantKeeperMockRecorder is the mock recorder for MockFeegrantKeeper.
func (*MockFeegrantKeeperMockRecorder) UseGrantedFees ¶
func (mr *MockFeegrantKeeperMockRecorder) UseGrantedFees(ctx, granter, grantee, fee, msgs interface{}) *gomock.Call
UseGrantedFees indicates an expected call of UseGrantedFees.