mocks

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConnConsensus

type AppConnConsensus struct {
	mock.Mock
}

AppConnConsensus is an autogenerated mock type for the AppConnConsensus type

func NewAppConnConsensus added in v1.0.9

func NewAppConnConsensus(t mockConstructorTestingTNewAppConnConsensus) *AppConnConsensus

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

func (*AppConnConsensus) BeginBlockSync

BeginBlockSync provides a mock function with given fields: _a0

func (*AppConnConsensus) CommitSync

func (_m *AppConnConsensus) CommitSync() (*abcitypes.ResponseCommit, error)

CommitSync provides a mock function with given fields:

func (*AppConnConsensus) DeliverTxAsync

DeliverTxAsync provides a mock function with given fields: _a0, _a1

func (*AppConnConsensus) EndBlockSync

EndBlockSync provides a mock function with given fields: _a0

func (*AppConnConsensus) Error

func (_m *AppConnConsensus) Error() error

Error provides a mock function with given fields:

func (*AppConnConsensus) InitChainSync

InitChainSync provides a mock function with given fields: _a0

func (*AppConnConsensus) SetGlobalCallback added in v1.0.1

func (_m *AppConnConsensus) SetGlobalCallback(_a0 abcicli.GlobalCallback)

SetGlobalCallback provides a mock function with given fields: _a0

type AppConnMempool

type AppConnMempool struct {
	mock.Mock
}

AppConnMempool is an autogenerated mock type for the AppConnMempool type

func NewAppConnMempool added in v1.0.9

func NewAppConnMempool(t mockConstructorTestingTNewAppConnMempool) *AppConnMempool

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

func (*AppConnMempool) BeginRecheckTxSync added in v1.0.1

BeginRecheckTxSync provides a mock function with given fields: _a0

func (*AppConnMempool) CheckTxAsync

CheckTxAsync provides a mock function with given fields: _a0, _a1

func (*AppConnMempool) CheckTxSync

CheckTxSync provides a mock function with given fields: _a0

func (*AppConnMempool) EndRecheckTxSync added in v1.0.1

EndRecheckTxSync provides a mock function with given fields: _a0

func (*AppConnMempool) Error

func (_m *AppConnMempool) Error() error

Error provides a mock function with given fields:

func (*AppConnMempool) FlushAsync

func (_m *AppConnMempool) FlushAsync(_a0 abcicli.ResponseCallback) *abcicli.ReqRes

FlushAsync provides a mock function with given fields: _a0

func (*AppConnMempool) FlushSync

func (_m *AppConnMempool) FlushSync() (*abcitypes.ResponseFlush, error)

FlushSync provides a mock function with given fields:

func (*AppConnMempool) SetGlobalCallback added in v1.0.1

func (_m *AppConnMempool) SetGlobalCallback(_a0 abcicli.GlobalCallback)

SetGlobalCallback provides a mock function with given fields: _a0

type AppConnQuery

type AppConnQuery struct {
	mock.Mock
}

AppConnQuery is an autogenerated mock type for the AppConnQuery type

func NewAppConnQuery added in v1.0.9

func NewAppConnQuery(t mockConstructorTestingTNewAppConnQuery) *AppConnQuery

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

func (*AppConnQuery) EchoSync

func (_m *AppConnQuery) EchoSync(_a0 string) (*types.ResponseEcho, error)

EchoSync provides a mock function with given fields: _a0

func (*AppConnQuery) Error

func (_m *AppConnQuery) Error() error

Error provides a mock function with given fields:

func (*AppConnQuery) InfoSync

func (_m *AppConnQuery) InfoSync(_a0 types.RequestInfo) (*types.ResponseInfo, error)

InfoSync provides a mock function with given fields: _a0

func (*AppConnQuery) QuerySync

func (_m *AppConnQuery) QuerySync(_a0 types.RequestQuery) (*types.ResponseQuery, error)

QuerySync provides a mock function with given fields: _a0

type AppConnSnapshot

type AppConnSnapshot struct {
	mock.Mock
}

AppConnSnapshot is an autogenerated mock type for the AppConnSnapshot type

func NewAppConnSnapshot added in v1.0.9

func NewAppConnSnapshot(t mockConstructorTestingTNewAppConnSnapshot) *AppConnSnapshot

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

func (*AppConnSnapshot) ApplySnapshotChunkSync

ApplySnapshotChunkSync provides a mock function with given fields: _a0

func (*AppConnSnapshot) Error

func (_m *AppConnSnapshot) Error() error

Error provides a mock function with given fields:

func (*AppConnSnapshot) ListSnapshotsSync

ListSnapshotsSync provides a mock function with given fields: _a0

func (*AppConnSnapshot) LoadSnapshotChunkSync

LoadSnapshotChunkSync provides a mock function with given fields: _a0

func (*AppConnSnapshot) OfferSnapshotSync

OfferSnapshotSync provides a mock function with given fields: _a0

type ClientCreator

type ClientCreator struct {
	mock.Mock
}

ClientCreator is an autogenerated mock type for the ClientCreator type

func NewClientCreator added in v1.0.9

func NewClientCreator(t mockConstructorTestingTNewClientCreator) *ClientCreator

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

func (*ClientCreator) NewABCIClient

func (_m *ClientCreator) NewABCIClient() (abcicli.Client, error)

NewABCIClient provides a mock function with given fields:

Jump to

Keyboard shortcuts

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