chore: minor cleanup of types (#13430)

This commit is contained in:
Marko
2022-10-02 15:03:03 +02:00
committed by GitHub
parent 87e0017776
commit c221d7f1de
12 changed files with 2 additions and 349 deletions
-31
View File
@@ -5,9 +5,6 @@
package mock
import (
reflect "reflect"
types "github.com/cosmos/cosmos-sdk/types"
gomock "github.com/golang/mock/gomock"
)
@@ -33,31 +30,3 @@ func NewMockQueryRouter(ctrl *gomock.Controller) *MockQueryRouter {
func (m *MockQueryRouter) EXPECT() *MockQueryRouterMockRecorder {
return m.recorder
}
// AddRoute mocks base method.
func (m *MockQueryRouter) AddRoute(r string, h types.Querier) types.QueryRouter {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AddRoute", r, h)
ret0, _ := ret[0].(types.QueryRouter)
return ret0
}
// AddRoute indicates an expected call of AddRoute.
func (mr *MockQueryRouterMockRecorder) AddRoute(r, h interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddRoute", reflect.TypeOf((*MockQueryRouter)(nil).AddRoute), r, h)
}
// Route mocks base method.
func (m *MockQueryRouter) Route(path string) types.Querier {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Route", path)
ret0, _ := ret[0].(types.Querier)
return ret0
}
// Route indicates an expected call of Route.
func (mr *MockQueryRouterMockRecorder) Route(path interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Route", reflect.TypeOf((*MockQueryRouter)(nil).Route), path)
}