mocks

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 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: _a0, _a1

func (*Application) CheckTx

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

func (*Application) EXPECT added in v1.4.0

func (_m *Application) EXPECT() *Application_Expecter

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 Application_ApplySnapshotChunk_Call added in v1.4.0

type Application_ApplySnapshotChunk_Call struct {
	*mock.Call
}

Application_ApplySnapshotChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ApplySnapshotChunk'

func (*Application_ApplySnapshotChunk_Call) Return added in v1.4.0

func (*Application_ApplySnapshotChunk_Call) Run added in v1.4.0

func (*Application_ApplySnapshotChunk_Call) RunAndReturn added in v1.4.0

type Application_CheckTx_Call added in v1.4.0

type Application_CheckTx_Call struct {
	*mock.Call
}

Application_CheckTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTx'

func (*Application_CheckTx_Call) Return added in v1.4.0

func (*Application_CheckTx_Call) Run added in v1.4.0

func (*Application_CheckTx_Call) RunAndReturn added in v1.4.0

type Application_Expecter added in v1.4.0

type Application_Expecter struct {
	// contains filtered or unexported fields
}

func (*Application_Expecter) ApplySnapshotChunk added in v1.4.0

func (_e *Application_Expecter) ApplySnapshotChunk(_a0 interface{}, _a1 interface{}) *Application_ApplySnapshotChunk_Call

ApplySnapshotChunk is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestApplySnapshotChunk

func (*Application_Expecter) CheckTx added in v1.4.0

func (_e *Application_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *Application_CheckTx_Call

CheckTx is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestCheckTx

func (*Application_Expecter) ExtendVote added in v1.4.0

func (_e *Application_Expecter) ExtendVote(_a0 interface{}, _a1 interface{}) *Application_ExtendVote_Call

ExtendVote is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestExtendVote

func (*Application_Expecter) FinalizeBlock added in v1.4.0

func (_e *Application_Expecter) FinalizeBlock(_a0 interface{}, _a1 interface{}) *Application_FinalizeBlock_Call

FinalizeBlock is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestFinalizeBlock

func (*Application_Expecter) Info added in v1.4.0

func (_e *Application_Expecter) Info(_a0 interface{}, _a1 interface{}) *Application_Info_Call

Info is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestInfo

func (*Application_Expecter) InitChain added in v1.4.0

func (_e *Application_Expecter) InitChain(_a0 interface{}, _a1 interface{}) *Application_InitChain_Call

InitChain is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestInitChain

func (*Application_Expecter) ListSnapshots added in v1.4.0

func (_e *Application_Expecter) ListSnapshots(_a0 interface{}, _a1 interface{}) *Application_ListSnapshots_Call

ListSnapshots is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestListSnapshots

func (*Application_Expecter) LoadSnapshotChunk added in v1.4.0

func (_e *Application_Expecter) LoadSnapshotChunk(_a0 interface{}, _a1 interface{}) *Application_LoadSnapshotChunk_Call

LoadSnapshotChunk is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestLoadSnapshotChunk

func (*Application_Expecter) OfferSnapshot added in v1.4.0

func (_e *Application_Expecter) OfferSnapshot(_a0 interface{}, _a1 interface{}) *Application_OfferSnapshot_Call

OfferSnapshot is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestOfferSnapshot

func (*Application_Expecter) PrepareProposal added in v1.4.0

func (_e *Application_Expecter) PrepareProposal(_a0 interface{}, _a1 interface{}) *Application_PrepareProposal_Call

PrepareProposal is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestPrepareProposal

func (*Application_Expecter) ProcessProposal added in v1.4.0

func (_e *Application_Expecter) ProcessProposal(_a0 interface{}, _a1 interface{}) *Application_ProcessProposal_Call

ProcessProposal is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestProcessProposal

func (*Application_Expecter) Query added in v1.4.0

func (_e *Application_Expecter) Query(_a0 interface{}, _a1 interface{}) *Application_Query_Call

Query is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestQuery

func (*Application_Expecter) VerifyVoteExtension added in v1.4.0

func (_e *Application_Expecter) VerifyVoteExtension(_a0 interface{}, _a1 interface{}) *Application_VerifyVoteExtension_Call

VerifyVoteExtension is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *types.RequestVerifyVoteExtension

type Application_ExtendVote_Call added in v1.4.0

type Application_ExtendVote_Call struct {
	*mock.Call
}

Application_ExtendVote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExtendVote'

func (*Application_ExtendVote_Call) Return added in v1.4.0

func (*Application_ExtendVote_Call) Run added in v1.4.0

func (*Application_ExtendVote_Call) RunAndReturn added in v1.4.0

type Application_FinalizeBlock_Call added in v1.4.0

type Application_FinalizeBlock_Call struct {
	*mock.Call
}

Application_FinalizeBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalizeBlock'

func (*Application_FinalizeBlock_Call) Return added in v1.4.0

func (*Application_FinalizeBlock_Call) Run added in v1.4.0

func (*Application_FinalizeBlock_Call) RunAndReturn added in v1.4.0

type Application_Info_Call added in v1.4.0

type Application_Info_Call struct {
	*mock.Call
}

Application_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'

func (*Application_Info_Call) Return added in v1.4.0

func (*Application_Info_Call) Run added in v1.4.0

func (*Application_Info_Call) RunAndReturn added in v1.4.0

type Application_InitChain_Call added in v1.4.0

type Application_InitChain_Call struct {
	*mock.Call
}

Application_InitChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitChain'

func (*Application_InitChain_Call) Return added in v1.4.0

func (*Application_InitChain_Call) Run added in v1.4.0

func (*Application_InitChain_Call) RunAndReturn added in v1.4.0

type Application_ListSnapshots_Call added in v1.4.0

type Application_ListSnapshots_Call struct {
	*mock.Call
}

Application_ListSnapshots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSnapshots'

func (*Application_ListSnapshots_Call) Return added in v1.4.0

func (*Application_ListSnapshots_Call) Run added in v1.4.0

func (*Application_ListSnapshots_Call) RunAndReturn added in v1.4.0

type Application_LoadSnapshotChunk_Call added in v1.4.0

type Application_LoadSnapshotChunk_Call struct {
	*mock.Call
}

Application_LoadSnapshotChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadSnapshotChunk'

func (*Application_LoadSnapshotChunk_Call) Return added in v1.4.0

func (*Application_LoadSnapshotChunk_Call) Run added in v1.4.0

func (*Application_LoadSnapshotChunk_Call) RunAndReturn added in v1.4.0

type Application_OfferSnapshot_Call added in v1.4.0

type Application_OfferSnapshot_Call struct {
	*mock.Call
}

Application_OfferSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OfferSnapshot'

func (*Application_OfferSnapshot_Call) Return added in v1.4.0

func (*Application_OfferSnapshot_Call) Run added in v1.4.0

func (*Application_OfferSnapshot_Call) RunAndReturn added in v1.4.0

type Application_PrepareProposal_Call added in v1.4.0

type Application_PrepareProposal_Call struct {
	*mock.Call
}

Application_PrepareProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrepareProposal'

func (*Application_PrepareProposal_Call) Return added in v1.4.0

func (*Application_PrepareProposal_Call) Run added in v1.4.0

func (*Application_PrepareProposal_Call) RunAndReturn added in v1.4.0

type Application_ProcessProposal_Call added in v1.4.0

type Application_ProcessProposal_Call struct {
	*mock.Call
}

Application_ProcessProposal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessProposal'

func (*Application_ProcessProposal_Call) Return added in v1.4.0

func (*Application_ProcessProposal_Call) Run added in v1.4.0

func (*Application_ProcessProposal_Call) RunAndReturn added in v1.4.0

type Application_Query_Call added in v1.4.0

type Application_Query_Call struct {
	*mock.Call
}

Application_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'

func (*Application_Query_Call) Return added in v1.4.0

func (*Application_Query_Call) Run added in v1.4.0

func (*Application_Query_Call) RunAndReturn added in v1.4.0

type Application_VerifyVoteExtension_Call added in v1.4.0

type Application_VerifyVoteExtension_Call struct {
	*mock.Call
}

Application_VerifyVoteExtension_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyVoteExtension'

func (*Application_VerifyVoteExtension_Call) Return added in v1.4.0

func (*Application_VerifyVoteExtension_Call) Run added in v1.4.0

func (*Application_VerifyVoteExtension_Call) RunAndReturn added in v1.4.0

Jump to

Keyboard shortcuts

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