cosmos-sdk: github.com/cosmos/cosmos-sdk/tests/mocks Index | Files

package mocks

import "github.com/cosmos/cosmos-sdk/tests/mocks"

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

grpc_server.go tendermint_tm_db_DB.go types_handler.go types_invariant.go types_module_module.go types_router.go

type MockAnteDecorator Uses

type MockAnteDecorator struct {
    // contains filtered or unexported fields
}

MockAnteDecorator is a mock of AnteDecorator interface

func NewMockAnteDecorator Uses

func NewMockAnteDecorator(ctrl *gomock.Controller) *MockAnteDecorator

NewMockAnteDecorator creates a new mock instance

func (*MockAnteDecorator) AnteHandle Uses

func (m *MockAnteDecorator) AnteHandle(ctx types.Context, tx types.Tx, simulate bool, next types.AnteHandler) (types.Context, error)

AnteHandle mocks base method

func (*MockAnteDecorator) EXPECT Uses

func (m *MockAnteDecorator) EXPECT() *MockAnteDecoratorMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type MockAnteDecoratorMockRecorder Uses

type MockAnteDecoratorMockRecorder struct {
    // contains filtered or unexported fields
}

MockAnteDecoratorMockRecorder is the mock recorder for MockAnteDecorator

func (*MockAnteDecoratorMockRecorder) AnteHandle Uses

func (mr *MockAnteDecoratorMockRecorder) AnteHandle(ctx, tx, simulate, next interface{}) *gomock.Call

AnteHandle indicates an expected call of AnteHandle

type MockAppModule Uses

type MockAppModule struct {
    // contains filtered or unexported fields
}

MockAppModule is a mock of AppModule interface

func NewMockAppModule Uses

func NewMockAppModule(ctrl *gomock.Controller) *MockAppModule

NewMockAppModule creates a new mock instance

func (*MockAppModule) BeginBlock Uses

func (m *MockAppModule) BeginBlock(arg0 types0.Context, arg1 types1.RequestBeginBlock)

BeginBlock mocks base method

func (*MockAppModule) DefaultGenesis Uses

func (m *MockAppModule) DefaultGenesis(arg0 codec.JSONMarshaler) json.RawMessage

DefaultGenesis mocks base method

func (*MockAppModule) EXPECT Uses

func (m *MockAppModule) EXPECT() *MockAppModuleMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAppModule) EndBlock Uses

func (m *MockAppModule) EndBlock(arg0 types0.Context, arg1 types1.RequestEndBlock) []types1.ValidatorUpdate

EndBlock mocks base method

func (*MockAppModule) ExportGenesis Uses

func (m *MockAppModule) ExportGenesis(arg0 types0.Context, arg1 codec.JSONMarshaler) json.RawMessage

ExportGenesis mocks base method

func (*MockAppModule) GetQueryCmd Uses

func (m *MockAppModule) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method

func (*MockAppModule) GetTxCmd Uses

func (m *MockAppModule) GetTxCmd() *cobra.Command

GetTxCmd mocks base method

func (*MockAppModule) InitGenesis Uses

func (m *MockAppModule) InitGenesis(arg0 types0.Context, arg1 codec.JSONMarshaler, arg2 json.RawMessage) []types1.ValidatorUpdate

InitGenesis mocks base method

func (*MockAppModule) LegacyQuerierHandler Uses

func (m *MockAppModule) LegacyQuerierHandler(codec.JSONMarshaler) types0.Querier

LegacyQuerierHandler mocks base method

func (*MockAppModule) Name Uses

func (m *MockAppModule) Name() string

Name mocks base method

func (*MockAppModule) QuerierRoute Uses

func (m *MockAppModule) QuerierRoute() string

QuerierRoute mocks base method

func (*MockAppModule) RegisterCodec Uses

func (m *MockAppModule) RegisterCodec(arg0 *codec.LegacyAmino)

RegisterCodec mocks base method

func (*MockAppModule) RegisterInterfaces Uses

func (m *MockAppModule) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method

func (*MockAppModule) RegisterInvariants Uses

func (m *MockAppModule) RegisterInvariants(arg0 types0.InvariantRegistry)

RegisterInvariants mocks base method

func (*MockAppModule) RegisterQueryService Uses

func (m *MockAppModule) RegisterQueryService(arg0 grpc.Server)

RegisterQueryService mocks base method

func (*MockAppModule) RegisterRESTRoutes Uses

func (m *MockAppModule) RegisterRESTRoutes(arg0 client.Context, arg1 *mux.Router)

RegisterRESTRoutes mocks base method

func (*MockAppModule) Route Uses

func (m *MockAppModule) Route() types0.Route

Route mocks base method

func (*MockAppModule) ValidateGenesis Uses

func (m *MockAppModule) ValidateGenesis(arg0 codec.JSONMarshaler, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method

type MockAppModuleBasic Uses

type MockAppModuleBasic struct {
    // contains filtered or unexported fields
}

MockAppModuleBasic is a mock of AppModuleBasic interface

func NewMockAppModuleBasic Uses

func NewMockAppModuleBasic(ctrl *gomock.Controller) *MockAppModuleBasic

NewMockAppModuleBasic creates a new mock instance

func (*MockAppModuleBasic) DefaultGenesis Uses

func (m *MockAppModuleBasic) DefaultGenesis(arg0 codec.JSONMarshaler) json.RawMessage

DefaultGenesis mocks base method

func (*MockAppModuleBasic) EXPECT Uses

func (m *MockAppModuleBasic) EXPECT() *MockAppModuleBasicMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAppModuleBasic) GetQueryCmd Uses

func (m *MockAppModuleBasic) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method

func (*MockAppModuleBasic) GetTxCmd Uses

func (m *MockAppModuleBasic) GetTxCmd() *cobra.Command

GetTxCmd mocks base method

func (*MockAppModuleBasic) Name Uses

func (m *MockAppModuleBasic) Name() string

Name mocks base method

func (*MockAppModuleBasic) RegisterCodec Uses

func (m *MockAppModuleBasic) RegisterCodec(arg0 *codec.LegacyAmino)

RegisterCodec mocks base method

func (*MockAppModuleBasic) RegisterInterfaces Uses

func (m *MockAppModuleBasic) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method

func (*MockAppModuleBasic) RegisterRESTRoutes Uses

func (m *MockAppModuleBasic) RegisterRESTRoutes(arg0 client.Context, arg1 *mux.Router)

RegisterRESTRoutes mocks base method

func (*MockAppModuleBasic) ValidateGenesis Uses

func (m *MockAppModuleBasic) ValidateGenesis(arg0 codec.JSONMarshaler, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method

type MockAppModuleBasicMockRecorder Uses

type MockAppModuleBasicMockRecorder struct {
    // contains filtered or unexported fields
}

MockAppModuleBasicMockRecorder is the mock recorder for MockAppModuleBasic

func (*MockAppModuleBasicMockRecorder) DefaultGenesis Uses

func (mr *MockAppModuleBasicMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis

func (*MockAppModuleBasicMockRecorder) GetQueryCmd Uses

func (mr *MockAppModuleBasicMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd

func (*MockAppModuleBasicMockRecorder) GetTxCmd Uses

func (mr *MockAppModuleBasicMockRecorder) GetTxCmd() *gomock.Call

GetTxCmd indicates an expected call of GetTxCmd

func (*MockAppModuleBasicMockRecorder) Name Uses

func (mr *MockAppModuleBasicMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockAppModuleBasicMockRecorder) RegisterCodec Uses

func (mr *MockAppModuleBasicMockRecorder) RegisterCodec(arg0 interface{}) *gomock.Call

RegisterCodec indicates an expected call of RegisterCodec

func (*MockAppModuleBasicMockRecorder) RegisterInterfaces Uses

func (mr *MockAppModuleBasicMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces

func (*MockAppModuleBasicMockRecorder) RegisterRESTRoutes Uses

func (mr *MockAppModuleBasicMockRecorder) RegisterRESTRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterRESTRoutes indicates an expected call of RegisterRESTRoutes

func (*MockAppModuleBasicMockRecorder) ValidateGenesis Uses

func (mr *MockAppModuleBasicMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis

type MockAppModuleGenesis Uses

type MockAppModuleGenesis struct {
    // contains filtered or unexported fields
}

MockAppModuleGenesis is a mock of AppModuleGenesis interface

func NewMockAppModuleGenesis Uses

func NewMockAppModuleGenesis(ctrl *gomock.Controller) *MockAppModuleGenesis

NewMockAppModuleGenesis creates a new mock instance

func (*MockAppModuleGenesis) DefaultGenesis Uses

func (m *MockAppModuleGenesis) DefaultGenesis(arg0 codec.JSONMarshaler) json.RawMessage

DefaultGenesis mocks base method

func (*MockAppModuleGenesis) EXPECT Uses

func (m *MockAppModuleGenesis) EXPECT() *MockAppModuleGenesisMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAppModuleGenesis) ExportGenesis Uses

func (m *MockAppModuleGenesis) ExportGenesis(arg0 types0.Context, arg1 codec.JSONMarshaler) json.RawMessage

ExportGenesis mocks base method

func (*MockAppModuleGenesis) GetQueryCmd Uses

func (m *MockAppModuleGenesis) GetQueryCmd() *cobra.Command

GetQueryCmd mocks base method

func (*MockAppModuleGenesis) GetTxCmd Uses

func (m *MockAppModuleGenesis) GetTxCmd() *cobra.Command

GetTxCmd mocks base method

func (*MockAppModuleGenesis) InitGenesis Uses

func (m *MockAppModuleGenesis) InitGenesis(arg0 types0.Context, arg1 codec.JSONMarshaler, arg2 json.RawMessage) []types1.ValidatorUpdate

InitGenesis mocks base method

func (*MockAppModuleGenesis) Name Uses

func (m *MockAppModuleGenesis) Name() string

Name mocks base method

func (*MockAppModuleGenesis) RegisterCodec Uses

func (m *MockAppModuleGenesis) RegisterCodec(arg0 *codec.LegacyAmino)

RegisterCodec mocks base method

func (*MockAppModuleGenesis) RegisterInterfaces Uses

func (m *MockAppModuleGenesis) RegisterInterfaces(arg0 types.InterfaceRegistry)

RegisterInterfaces mocks base method

func (*MockAppModuleGenesis) RegisterRESTRoutes Uses

func (m *MockAppModuleGenesis) RegisterRESTRoutes(arg0 client.Context, arg1 *mux.Router)

RegisterRESTRoutes mocks base method

func (*MockAppModuleGenesis) ValidateGenesis Uses

func (m *MockAppModuleGenesis) ValidateGenesis(arg0 codec.JSONMarshaler, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error

ValidateGenesis mocks base method

type MockAppModuleGenesisMockRecorder Uses

type MockAppModuleGenesisMockRecorder struct {
    // contains filtered or unexported fields
}

MockAppModuleGenesisMockRecorder is the mock recorder for MockAppModuleGenesis

func (*MockAppModuleGenesisMockRecorder) DefaultGenesis Uses

func (mr *MockAppModuleGenesisMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis

func (*MockAppModuleGenesisMockRecorder) ExportGenesis Uses

func (mr *MockAppModuleGenesisMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis

func (*MockAppModuleGenesisMockRecorder) GetQueryCmd Uses

func (mr *MockAppModuleGenesisMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd

func (*MockAppModuleGenesisMockRecorder) GetTxCmd Uses

func (mr *MockAppModuleGenesisMockRecorder) GetTxCmd() *gomock.Call

GetTxCmd indicates an expected call of GetTxCmd

func (*MockAppModuleGenesisMockRecorder) InitGenesis Uses

func (mr *MockAppModuleGenesisMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis

func (*MockAppModuleGenesisMockRecorder) Name Uses

func (mr *MockAppModuleGenesisMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockAppModuleGenesisMockRecorder) RegisterCodec Uses

func (mr *MockAppModuleGenesisMockRecorder) RegisterCodec(arg0 interface{}) *gomock.Call

RegisterCodec indicates an expected call of RegisterCodec

func (*MockAppModuleGenesisMockRecorder) RegisterInterfaces Uses

func (mr *MockAppModuleGenesisMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces

func (*MockAppModuleGenesisMockRecorder) RegisterRESTRoutes Uses

func (mr *MockAppModuleGenesisMockRecorder) RegisterRESTRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterRESTRoutes indicates an expected call of RegisterRESTRoutes

func (*MockAppModuleGenesisMockRecorder) ValidateGenesis Uses

func (mr *MockAppModuleGenesisMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis

type MockAppModuleMockRecorder Uses

type MockAppModuleMockRecorder struct {
    // contains filtered or unexported fields
}

MockAppModuleMockRecorder is the mock recorder for MockAppModule

func (*MockAppModuleMockRecorder) BeginBlock Uses

func (mr *MockAppModuleMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call

BeginBlock indicates an expected call of BeginBlock

func (*MockAppModuleMockRecorder) DefaultGenesis Uses

func (mr *MockAppModuleMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call

DefaultGenesis indicates an expected call of DefaultGenesis

func (*MockAppModuleMockRecorder) EndBlock Uses

func (mr *MockAppModuleMockRecorder) EndBlock(arg0, arg1 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock

func (*MockAppModuleMockRecorder) ExportGenesis Uses

func (mr *MockAppModuleMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis

func (*MockAppModuleMockRecorder) GetQueryCmd Uses

func (mr *MockAppModuleMockRecorder) GetQueryCmd() *gomock.Call

GetQueryCmd indicates an expected call of GetQueryCmd

func (*MockAppModuleMockRecorder) GetTxCmd Uses

func (mr *MockAppModuleMockRecorder) GetTxCmd() *gomock.Call

GetTxCmd indicates an expected call of GetTxCmd

func (*MockAppModuleMockRecorder) InitGenesis Uses

func (mr *MockAppModuleMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis

func (*MockAppModuleMockRecorder) Name Uses

func (mr *MockAppModuleMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockAppModuleMockRecorder) NewQuerierHandler Uses

func (mr *MockAppModuleMockRecorder) NewQuerierHandler() *gomock.Call

LegacyQuerierHandler indicates an expected call of LegacyQuerierHandler

func (*MockAppModuleMockRecorder) QuerierRoute Uses

func (mr *MockAppModuleMockRecorder) QuerierRoute() *gomock.Call

QuerierRoute indicates an expected call of QuerierRoute

func (*MockAppModuleMockRecorder) RegisterCodec Uses

func (mr *MockAppModuleMockRecorder) RegisterCodec(arg0 interface{}) *gomock.Call

RegisterCodec indicates an expected call of RegisterCodec

func (*MockAppModuleMockRecorder) RegisterInterfaces Uses

func (mr *MockAppModuleMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call

RegisterInterfaces indicates an expected call of RegisterInterfaces

func (*MockAppModuleMockRecorder) RegisterInvariants Uses

func (mr *MockAppModuleMockRecorder) RegisterInvariants(arg0 interface{}) *gomock.Call

RegisterInvariants indicates an expected call of RegisterInvariants

func (*MockAppModuleMockRecorder) RegisterQueryService Uses

func (mr *MockAppModuleMockRecorder) RegisterQueryService(arg0 interface{}) *gomock.Call

RegisterQueryService indicates an expected call of RegisterQueryService

func (*MockAppModuleMockRecorder) RegisterRESTRoutes Uses

func (mr *MockAppModuleMockRecorder) RegisterRESTRoutes(arg0, arg1 interface{}) *gomock.Call

RegisterRESTRoutes indicates an expected call of RegisterRESTRoutes

func (*MockAppModuleMockRecorder) Route Uses

func (mr *MockAppModuleMockRecorder) Route() *gomock.Call

Route indicates an expected call of Route

func (*MockAppModuleMockRecorder) ValidateGenesis Uses

func (mr *MockAppModuleMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateGenesis indicates an expected call of ValidateGenesis

type MockDB Uses

type MockDB struct {
    // contains filtered or unexported fields
}

MockDB is a mock of DB interface

func NewMockDB Uses

func NewMockDB(ctrl *gomock.Controller) *MockDB

NewMockDB creates a new mock instance

func (*MockDB) Close Uses

func (m *MockDB) Close() error

Close mocks base method

func (*MockDB) Delete Uses

func (m *MockDB) Delete(arg0 []byte) error

Delete mocks base method

func (*MockDB) DeleteSync Uses

func (m *MockDB) DeleteSync(arg0 []byte) error

DeleteSync mocks base method

func (*MockDB) EXPECT Uses

func (m *MockDB) EXPECT() *MockDBMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDB) Get Uses

func (m *MockDB) Get(arg0 []byte) ([]byte, error)

Get mocks base method

func (*MockDB) Has Uses

func (m *MockDB) Has(arg0 []byte) (bool, error)

Has mocks base method

func (*MockDB) Iterator Uses

func (m *MockDB) Iterator(arg0, arg1 []byte) (db.Iterator, error)

Iterator mocks base method

func (*MockDB) NewBatch Uses

func (m *MockDB) NewBatch() db.Batch

NewBatch mocks base method

func (*MockDB) Print Uses

func (m *MockDB) Print() error

Print mocks base method

func (*MockDB) ReverseIterator Uses

func (m *MockDB) ReverseIterator(arg0, arg1 []byte) (db.Iterator, error)

ReverseIterator mocks base method

func (*MockDB) Set Uses

func (m *MockDB) Set(arg0, arg1 []byte) error

Set mocks base method

func (*MockDB) SetSync Uses

func (m *MockDB) SetSync(arg0, arg1 []byte) error

SetSync mocks base method

func (*MockDB) Stats Uses

func (m *MockDB) Stats() map[string]string

Stats mocks base method

type MockDBMockRecorder Uses

type MockDBMockRecorder struct {
    // contains filtered or unexported fields
}

MockDBMockRecorder is the mock recorder for MockDB

func (*MockDBMockRecorder) Close Uses

func (mr *MockDBMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockDBMockRecorder) Delete Uses

func (mr *MockDBMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockDBMockRecorder) DeleteSync Uses

func (mr *MockDBMockRecorder) DeleteSync(arg0 interface{}) *gomock.Call

DeleteSync indicates an expected call of DeleteSync

func (*MockDBMockRecorder) Get Uses

func (mr *MockDBMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockDBMockRecorder) Has Uses

func (mr *MockDBMockRecorder) Has(arg0 interface{}) *gomock.Call

Has indicates an expected call of Has

func (*MockDBMockRecorder) Iterator Uses

func (mr *MockDBMockRecorder) Iterator(arg0, arg1 interface{}) *gomock.Call

Iterator indicates an expected call of Iterator

func (*MockDBMockRecorder) NewBatch Uses

func (mr *MockDBMockRecorder) NewBatch() *gomock.Call

NewBatch indicates an expected call of NewBatch

func (*MockDBMockRecorder) Print Uses

func (mr *MockDBMockRecorder) Print() *gomock.Call

Print indicates an expected call of Print

func (*MockDBMockRecorder) ReverseIterator Uses

func (mr *MockDBMockRecorder) ReverseIterator(arg0, arg1 interface{}) *gomock.Call

ReverseIterator indicates an expected call of ReverseIterator

func (*MockDBMockRecorder) Set Uses

func (mr *MockDBMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockDBMockRecorder) SetSync Uses

func (mr *MockDBMockRecorder) SetSync(arg0, arg1 interface{}) *gomock.Call

SetSync indicates an expected call of SetSync

func (*MockDBMockRecorder) Stats Uses

func (mr *MockDBMockRecorder) Stats() *gomock.Call

Stats indicates an expected call of Stats

type MockInvariantRegistry Uses

type MockInvariantRegistry struct {
    // contains filtered or unexported fields
}

MockInvariantRegistry is a mock of InvariantRegistry interface

func NewMockInvariantRegistry Uses

func NewMockInvariantRegistry(ctrl *gomock.Controller) *MockInvariantRegistry

NewMockInvariantRegistry creates a new mock instance

func (*MockInvariantRegistry) EXPECT Uses

func (m *MockInvariantRegistry) EXPECT() *MockInvariantRegistryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInvariantRegistry) RegisterRoute Uses

func (m *MockInvariantRegistry) RegisterRoute(moduleName, route string, invar types.Invariant)

RegisterRoute mocks base method

type MockInvariantRegistryMockRecorder Uses

type MockInvariantRegistryMockRecorder struct {
    // contains filtered or unexported fields
}

MockInvariantRegistryMockRecorder is the mock recorder for MockInvariantRegistry

func (*MockInvariantRegistryMockRecorder) RegisterRoute Uses

func (mr *MockInvariantRegistryMockRecorder) RegisterRoute(moduleName, route, invar interface{}) *gomock.Call

RegisterRoute indicates an expected call of RegisterRoute

type MockQueryRouter Uses

type MockQueryRouter struct {
    // contains filtered or unexported fields
}

MockQueryRouter is a mock of QueryRouter interface

func NewMockQueryRouter Uses

func NewMockQueryRouter(ctrl *gomock.Controller) *MockQueryRouter

NewMockQueryRouter creates a new mock instance

func (*MockQueryRouter) AddRoute Uses

func (m *MockQueryRouter) AddRoute(r string, h types.Querier) types.QueryRouter

AddRoute mocks base method

func (*MockQueryRouter) EXPECT Uses

func (m *MockQueryRouter) EXPECT() *MockQueryRouterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockQueryRouter) Route Uses

func (m *MockQueryRouter) Route(path string) types.Querier

Route mocks base method

type MockQueryRouterMockRecorder Uses

type MockQueryRouterMockRecorder struct {
    // contains filtered or unexported fields
}

MockQueryRouterMockRecorder is the mock recorder for MockQueryRouter

func (*MockQueryRouterMockRecorder) AddRoute Uses

func (mr *MockQueryRouterMockRecorder) AddRoute(r, h interface{}) *gomock.Call

AddRoute indicates an expected call of AddRoute

func (*MockQueryRouterMockRecorder) Route Uses

func (mr *MockQueryRouterMockRecorder) Route(path interface{}) *gomock.Call

Route indicates an expected call of Route

type MockRouter Uses

type MockRouter struct {
    // contains filtered or unexported fields
}

MockRouter is a mock of Router interface

func NewMockRouter Uses

func NewMockRouter(ctrl *gomock.Controller) *MockRouter

NewMockRouter creates a new mock instance

func (*MockRouter) AddRoute Uses

func (m *MockRouter) AddRoute(r types.Route) types.Router

AddRoute mocks base method

func (*MockRouter) EXPECT Uses

func (m *MockRouter) EXPECT() *MockRouterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRouter) Route Uses

func (m *MockRouter) Route(ctx types.Context, path string) types.Handler

Route mocks base method

type MockRouterMockRecorder Uses

type MockRouterMockRecorder struct {
    // contains filtered or unexported fields
}

MockRouterMockRecorder is the mock recorder for MockRouter

func (*MockRouterMockRecorder) AddRoute Uses

func (mr *MockRouterMockRecorder) AddRoute(r interface{}) *gomock.Call

AddRoute indicates an expected call of AddRoute

func (*MockRouterMockRecorder) Route Uses

func (mr *MockRouterMockRecorder) Route(ctx, path interface{}) *gomock.Call

Route indicates an expected call of Route

type MockServer Uses

type MockServer struct {
    // contains filtered or unexported fields
}

MockServer is a mock of Server interface

func NewMockServer Uses

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance

func (*MockServer) EXPECT Uses

func (m *MockServer) EXPECT() *MockServerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockServer) RegisterService Uses

func (m *MockServer) RegisterService(arg0 *grpc.ServiceDesc, arg1 interface{})

RegisterService mocks base method

type MockServerMockRecorder Uses

type MockServerMockRecorder struct {
    // contains filtered or unexported fields
}

MockServerMockRecorder is the mock recorder for MockServer

func (*MockServerMockRecorder) RegisterService Uses

func (mr *MockServerMockRecorder) RegisterService(arg0, arg1 interface{}) *gomock.Call

RegisterService indicates an expected call of RegisterService

Package mocks imports 13 packages (graph). Updated 2020-08-13. Refresh now. Tools for package owners.