mocks

package
v100.2.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	mock.Mock
}

Application is an autogenerated mock type for the Application type

func NewApplication

func NewApplication(t interface {
	mock.TestingT
	Cleanup(func())
}) *Application

NewApplication creates a new instance of Application. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Application) ApplySnapshotChunk

ApplySnapshotChunk provides a mock function with given fields: ctx, req

func (*Application) CheckTx

func (_m *Application) CheckTx(ctx context.Context, req *v1.CheckTxRequest) (*v1.CheckTxResponse, error)

CheckTx provides a mock function with given fields: ctx, req

func (*Application) Commit

func (_m *Application) Commit(ctx context.Context, req *v1.CommitRequest) (*v1.CommitResponse, error)

Commit provides a mock function with given fields: ctx, req

func (*Application) ExtendVote

func (_m *Application) ExtendVote(ctx context.Context, req *v1.ExtendVoteRequest) (*v1.ExtendVoteResponse, error)

ExtendVote provides a mock function with given fields: ctx, req

func (*Application) FinalizeBlock

FinalizeBlock provides a mock function with given fields: ctx, req

func (*Application) Info

func (_m *Application) Info(ctx context.Context, req *v1.InfoRequest) (*v1.InfoResponse, error)

Info provides a mock function with given fields: ctx, req

func (*Application) InitChain

func (_m *Application) InitChain(ctx context.Context, req *v1.InitChainRequest) (*v1.InitChainResponse, error)

InitChain provides a mock function with given fields: ctx, req

func (*Application) ListSnapshots

ListSnapshots provides a mock function with given fields: ctx, req

func (*Application) LoadSnapshotChunk

LoadSnapshotChunk provides a mock function with given fields: ctx, req

func (*Application) OfferSnapshot

OfferSnapshot provides a mock function with given fields: ctx, req

func (*Application) PrepareProposal

PrepareProposal provides a mock function with given fields: ctx, req

func (*Application) ProcessProposal

ProcessProposal provides a mock function with given fields: ctx, req

func (*Application) Query

func (_m *Application) Query(ctx context.Context, req *v1.QueryRequest) (*v1.QueryResponse, error)

Query provides a mock function with given fields: ctx, req

func (*Application) VerifyVoteExtension

VerifyVoteExtension provides a mock function with given fields: ctx, req

Jump to

Keyboard shortcuts

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