Documentation ¶
Overview ¶
Package testutil is a generated GoMock package.
Index ¶
- func DoTest[T any](t *testing.T, tester func(T) error, cases []map[string]Case[T])
- type Case
- type CaseIterator
- type MockAuthKeeper
- func (m *MockAuthKeeper) EXPECT() *MockAuthKeeperMockRecorder
- func (m *MockAuthKeeper) HasAccount(arg0 context.Context, arg1 types.AccAddress) bool
- func (m *MockAuthKeeper) NewAccount(arg0 context.Context, arg1 types.AccountI) types.AccountI
- func (m *MockAuthKeeper) SetAccount(arg0 context.Context, arg1 types.AccountI)
- type MockAuthKeeperMockRecorder
- type MockMessageRouter
- type MockMessageRouterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CaseIterator ¶
type CaseIterator struct {
// contains filtered or unexported fields
}
func NewCaseIterator ¶
func NewCaseIterator[T any](components []map[string]T) CaseIterator
func (CaseIterator) Key ¶
func (ci CaseIterator) Key() []string
func (*CaseIterator) Next ¶
func (ci *CaseIterator) Next()
func (CaseIterator) Valid ¶
func (ci CaseIterator) Valid() bool
type MockAuthKeeper ¶
type MockAuthKeeper struct {
// contains filtered or unexported fields
}
MockAuthKeeper is a mock of AuthKeeper interface.
func NewMockAuthKeeper ¶
func NewMockAuthKeeper(ctrl *gomock.Controller) *MockAuthKeeper
NewMockAuthKeeper creates a new mock instance.
func (*MockAuthKeeper) EXPECT ¶
func (m *MockAuthKeeper) EXPECT() *MockAuthKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthKeeper) HasAccount ¶
func (m *MockAuthKeeper) HasAccount(arg0 context.Context, arg1 types.AccAddress) bool
HasAccount mocks base method.
func (*MockAuthKeeper) NewAccount ¶
NewAccount mocks base method.
func (*MockAuthKeeper) SetAccount ¶
func (m *MockAuthKeeper) SetAccount(arg0 context.Context, arg1 types.AccountI)
SetAccount mocks base method.
type MockAuthKeeperMockRecorder ¶
type MockAuthKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthKeeperMockRecorder is the mock recorder for MockAuthKeeper.
func (*MockAuthKeeperMockRecorder) HasAccount ¶
func (mr *MockAuthKeeperMockRecorder) HasAccount(arg0, arg1 interface{}) *gomock.Call
HasAccount indicates an expected call of HasAccount.
func (*MockAuthKeeperMockRecorder) NewAccount ¶
func (mr *MockAuthKeeperMockRecorder) NewAccount(arg0, arg1 interface{}) *gomock.Call
NewAccount indicates an expected call of NewAccount.
func (*MockAuthKeeperMockRecorder) SetAccount ¶
func (mr *MockAuthKeeperMockRecorder) SetAccount(arg0, arg1 interface{}) *gomock.Call
SetAccount indicates an expected call of SetAccount.
type MockMessageRouter ¶
type MockMessageRouter struct {
// contains filtered or unexported fields
}
MockMessageRouter is a mock of MessageRouter interface.
func NewMockMessageRouter ¶
func NewMockMessageRouter(ctrl *gomock.Controller) *MockMessageRouter
NewMockMessageRouter creates a new mock instance.
func (*MockMessageRouter) EXPECT ¶
func (m *MockMessageRouter) EXPECT() *MockMessageRouterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessageRouter) Handler ¶
func (m *MockMessageRouter) Handler(msg types.Msg) expected.MsgServiceHandler
Handler mocks base method.
type MockMessageRouterMockRecorder ¶
type MockMessageRouterMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageRouterMockRecorder is the mock recorder for MockMessageRouter.
func (*MockMessageRouterMockRecorder) Handler ¶
func (mr *MockMessageRouterMockRecorder) Handler(msg interface{}) *gomock.Call
Handler indicates an expected call of Handler.