mocks

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConns

type AppConns struct {
	mock.Mock
}

AppConns is an autogenerated mock type for the AppConns type

func NewAppConns

func NewAppConns(t mockConstructorTestingTNewAppConns) *AppConns

NewAppConns creates a new instance of AppConns. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AppConns) Consensus

func (_m *AppConns) Consensus() proxy.AppConnConsensus

Consensus provides a mock function with given fields:

func (*AppConns) IsRunning

func (_m *AppConns) IsRunning() bool

IsRunning provides a mock function with given fields:

func (*AppConns) Mempool

func (_m *AppConns) Mempool() proxy.AppConnMempool

Mempool provides a mock function with given fields:

func (*AppConns) OnReset

func (_m *AppConns) OnReset() error

OnReset provides a mock function with given fields:

func (*AppConns) OnStart

func (_m *AppConns) OnStart() error

OnStart provides a mock function with given fields:

func (*AppConns) OnStop

func (_m *AppConns) OnStop()

OnStop provides a mock function with given fields:

func (*AppConns) Query

func (_m *AppConns) Query() proxy.AppConnQuery

Query provides a mock function with given fields:

func (*AppConns) Quit

func (_m *AppConns) Quit() <-chan struct{}

Quit provides a mock function with given fields:

func (*AppConns) Reset

func (_m *AppConns) Reset() error

Reset provides a mock function with given fields:

func (*AppConns) SetLogger

func (_m *AppConns) SetLogger(_a0 log.Logger)

SetLogger provides a mock function with given fields: _a0

func (*AppConns) Snapshot

func (_m *AppConns) Snapshot() proxy.AppConnSnapshot

Snapshot provides a mock function with given fields:

func (*AppConns) Start

func (_m *AppConns) Start() error

Start provides a mock function with given fields:

func (*AppConns) Stop

func (_m *AppConns) Stop() error

Stop provides a mock function with given fields:

func (*AppConns) String

func (_m *AppConns) String() string

String provides a mock function with given fields:

type Application

type Application struct {
	mock.Mock
}

Application is an autogenerated mock type for the Application type

func (*Application) ApplySnapshotChunk

ApplySnapshotChunk provides a mock function with given fields: _a0

func (*Application) BeginBlock

BeginBlock provides a mock function with given fields: _a0

func (*Application) CheckTx

CheckTx provides a mock function with given fields: _a0

func (*Application) Commit

func (_m *Application) Commit() types.ResponseCommit

Commit provides a mock function with given fields:

func (*Application) DeliverTx

DeliverTx provides a mock function with given fields: _a0

func (*Application) EndBlock

EndBlock provides a mock function with given fields: _a0

func (*Application) Info

Info provides a mock function with given fields: _a0

func (*Application) InitChain

InitChain provides a mock function with given fields: _a0

func (*Application) ListSnapshots

ListSnapshots provides a mock function with given fields: _a0

func (*Application) LoadSnapshotChunk

LoadSnapshotChunk provides a mock function with given fields: _a0

func (*Application) OfferSnapshot

OfferSnapshot provides a mock function with given fields: _a0

func (*Application) Query

Query provides a mock function with given fields: _a0

func (*Application) SetOption

SetOption provides a mock function with given fields: _a0

type CosmosClient

type CosmosClient struct {
	mock.Mock
}

CosmosClient is an autogenerated mock type for the CosmosClient type

func NewCosmosClient

func NewCosmosClient(t mockConstructorTestingTNewCosmosClient) *CosmosClient

NewCosmosClient creates a new instance of CosmosClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*CosmosClient) BroadcastTx

func (_m *CosmosClient) BroadcastTx(accountName string, msgs ...types.Msg) (cosmosclient.Response, error)

BroadcastTx provides a mock function with given fields: accountName, msgs

func (*CosmosClient) Context

func (_m *CosmosClient) Context() client.Context

Context provides a mock function with given fields:

func (*CosmosClient) EventListenerQuit

func (_m *CosmosClient) EventListenerQuit() <-chan struct{}

EventListenerQuit provides a mock function with given fields:

func (*CosmosClient) GetAccount

func (_m *CosmosClient) GetAccount(accountName string) (cosmosaccount.Account, error)

GetAccount provides a mock function with given fields: accountName

func (*CosmosClient) GetRollappClient

func (_m *CosmosClient) GetRollappClient() rollapptypes.QueryClient

GetRollappClient provides a mock function with given fields:

func (*CosmosClient) GetSequencerClient

func (_m *CosmosClient) GetSequencerClient() sequencertypes.QueryClient

GetSequencerClient provides a mock function with given fields:

func (*CosmosClient) StartEventListener

func (_m *CosmosClient) StartEventListener() error

StartEventListener provides a mock function with given fields:

func (*CosmosClient) StopEventListener

func (_m *CosmosClient) StopEventListener() error

StopEventListener provides a mock function with given fields:

func (*CosmosClient) SubscribeToEvents

func (_m *CosmosClient) SubscribeToEvents(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)

SubscribeToEvents provides a mock function with given fields: ctx, subscriber, query, outCapacity

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL