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 types1.AccAddress) types1.AccountI
- func (m *MockAccountKeeper) GetEnvironment() appmodule.Environment
- func (m *MockAccountKeeper) GetModuleAddress(moduleName string) types1.AccAddress
- func (m *MockAccountKeeper) GetParams(ctx context.Context) types.Params
- func (m *MockAccountKeeper) NewAccountWithAddress(ctx context.Context, addr types1.AccAddress) types1.AccountI
- func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types1.AccountI)
- type MockAccountKeeperMockRecorder
- func (mr *MockAccountKeeperMockRecorder) AddressCodec() *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetAccount(ctx, addr interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetEnvironment() *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(moduleName interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) GetParams(ctx interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(ctx, addr interface{}) *gomock.Call
- func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc interface{}) *gomock.Call
- type MockConsensusKeeper
- type MockConsensusKeeperMockRecorder
- 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 types1.AccAddress) types1.AccountI
GetAccount mocks base method.
func (*MockAccountKeeper) GetEnvironment ¶
func (m *MockAccountKeeper) GetEnvironment() appmodule.Environment
GetEnvironment mocks base method.
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(moduleName string) types1.AccAddress
GetModuleAddress mocks base method.
func (*MockAccountKeeper) GetParams ¶
func (m *MockAccountKeeper) GetParams(ctx context.Context) types.Params
GetParams mocks base method.
func (*MockAccountKeeper) NewAccountWithAddress ¶
func (m *MockAccountKeeper) NewAccountWithAddress(ctx context.Context, addr types1.AccAddress) types1.AccountI
NewAccountWithAddress mocks base method.
func (*MockAccountKeeper) SetAccount ¶
func (m *MockAccountKeeper) SetAccount(ctx context.Context, acc types1.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) GetEnvironment ¶
func (mr *MockAccountKeeperMockRecorder) GetEnvironment() *gomock.Call
GetEnvironment indicates an expected call of GetEnvironment.
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) NewAccountWithAddress ¶
func (mr *MockAccountKeeperMockRecorder) NewAccountWithAddress(ctx, addr interface{}) *gomock.Call
NewAccountWithAddress indicates an expected call of NewAccountWithAddress.
func (*MockAccountKeeperMockRecorder) SetAccount ¶
func (mr *MockAccountKeeperMockRecorder) SetAccount(ctx, acc interface{}) *gomock.Call
SetAccount indicates an expected call of SetAccount.
type MockConsensusKeeper ¶
type MockConsensusKeeper struct {
// contains filtered or unexported fields
}
MockConsensusKeeper is a mock of ConsensusKeeper interface.
func NewMockConsensusKeeper ¶
func NewMockConsensusKeeper(ctrl *gomock.Controller) *MockConsensusKeeper
NewMockConsensusKeeper creates a new mock instance.
func (*MockConsensusKeeper) EXPECT ¶
func (m *MockConsensusKeeper) EXPECT() *MockConsensusKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConsensusKeeper) Params ¶
func (m *MockConsensusKeeper) Params(arg0 context.Context, arg1 *types0.QueryParamsRequest) (*types0.QueryParamsResponse, error)
Params mocks base method.
type MockConsensusKeeperMockRecorder ¶
type MockConsensusKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockConsensusKeeperMockRecorder is the mock recorder for MockConsensusKeeper.
func (*MockConsensusKeeperMockRecorder) Params ¶
func (mr *MockConsensusKeeperMockRecorder) Params(arg0, arg1 interface{}) *gomock.Call
Params indicates an expected call of Params.
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 types1.AccAddress, fee types1.Coins, msgs []types1.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.