mocks

package
v0.37.0-dev Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 3 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 Application

type Application struct {
	mock.Mock
}

Application is an autogenerated mock type for the Application type

func NewApplication

func NewApplication(t NewApplicationT) *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.

func (*Application) ApplySnapshotChunk

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

func (*Application) CheckTx

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

func (*Application) Commit

func (_m *Application) Commit(_a0 context.Context) (*types.ResponseCommit, error)

Commit provides a mock function with given fields: _a0

func (*Application) ExtendVote

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

func (*Application) FinalizeBlock

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

func (*Application) Info

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

func (*Application) InitChain

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

func (*Application) ListSnapshots

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

func (*Application) LoadSnapshotChunk

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

func (*Application) OfferSnapshot

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

func (*Application) PrepareProposal

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

func (*Application) ProcessProposal

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

func (*Application) Query

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

func (*Application) VerifyVoteExtension

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

type NewApplicationT

type NewApplicationT interface {
	mock.TestingT
	Cleanup(func())
}

Jump to

Keyboard shortcuts

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