mocks

package
v0.38.6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

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) Commit added in v0.38.0

Commit 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) ExtendVote added in v0.38.0

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

func (*AppConnConsensus) FinalizeBlock added in v0.38.0

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

func (*AppConnConsensus) InitChain added in v0.38.0

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

func (*AppConnConsensus) PrepareProposal added in v0.38.0

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

func (*AppConnConsensus) ProcessProposal added in v0.38.0

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

func (*AppConnConsensus) VerifyVoteExtension added in v0.38.0

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

type AppConnMempool

type AppConnMempool struct {
	mock.Mock
}

AppConnMempool is an autogenerated mock type for the AppConnMempool type

func NewAppConnMempool

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) CheckTx added in v0.38.0

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

func (*AppConnMempool) CheckTxAsync

func (_m *AppConnMempool) CheckTxAsync(_a0 context.Context, _a1 *types.RequestCheckTx) (*abcicli.ReqRes, error)

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

func (*AppConnMempool) Error

func (_m *AppConnMempool) Error() error

Error provides a mock function with given fields:

func (*AppConnMempool) Flush added in v0.38.0

func (_m *AppConnMempool) Flush(_a0 context.Context) error

Flush provides a mock function with given fields: _a0

func (*AppConnMempool) SetResponseCallback

func (_m *AppConnMempool) SetResponseCallback(_a0 abcicli.Callback)

SetResponseCallback 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

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) Echo added in v0.38.0

func (_m *AppConnQuery) Echo(_a0 context.Context, _a1 string) (*types.ResponseEcho, error)

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

func (*AppConnQuery) Error

func (_m *AppConnQuery) Error() error

Error provides a mock function with given fields:

func (*AppConnQuery) Info added in v0.38.0

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

func (*AppConnQuery) Query added in v0.38.0

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

type AppConnSnapshot

type AppConnSnapshot struct {
	mock.Mock
}

AppConnSnapshot is an autogenerated mock type for the AppConnSnapshot type

func NewAppConnSnapshot

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) ApplySnapshotChunk added in v0.38.0

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

func (*AppConnSnapshot) Error

func (_m *AppConnSnapshot) Error() error

Error provides a mock function with given fields:

func (*AppConnSnapshot) ListSnapshots added in v0.38.0

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

func (*AppConnSnapshot) LoadSnapshotChunk added in v0.38.0

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

func (*AppConnSnapshot) OfferSnapshot added in v0.38.0

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

type ClientCreator

type ClientCreator struct {
	mock.Mock
}

ClientCreator is an autogenerated mock type for the ClientCreator type

func NewClientCreator

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