mock_abci

package
v0.5.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mock_abci is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChain

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

MockChain is a mock of Chain interface.

func NewMockChain

func NewMockChain(ctrl *gomock.Controller) *MockChain

NewMockChain creates a new mock instance.

func (*MockChain) BeginBlock

BeginBlock mocks base method.

func (*MockChain) CheckTx

CheckTx mocks base method.

func (*MockChain) Commit

func (m *MockChain) Commit() ([]byte, error)

Commit mocks base method.

func (*MockChain) DeliverTx

DeliverTx mocks base method.

func (*MockChain) EXPECT

func (m *MockChain) EXPECT() *MockChainMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChain) EndBlock

EndBlock mocks base method.

func (*MockChain) InitChain

func (m *MockChain) InitChain(state []byte, time time.Time, blockIndex int64) ([]byte, error)

InitChain mocks base method.

func (*MockChain) Query

func (m *MockChain) Query(q *query.Query, height int64, prove bool) ([]byte, []byte, *protocol.Error)

Query mocks base method.

type MockChainMockRecorder

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

MockChainMockRecorder is the mock recorder for MockChain.

func (*MockChainMockRecorder) BeginBlock

func (mr *MockChainMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call

BeginBlock indicates an expected call of BeginBlock.

func (*MockChainMockRecorder) CheckTx

func (mr *MockChainMockRecorder) CheckTx(arg0 interface{}) *gomock.Call

CheckTx indicates an expected call of CheckTx.

func (*MockChainMockRecorder) Commit

func (mr *MockChainMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockChainMockRecorder) DeliverTx

func (mr *MockChainMockRecorder) DeliverTx(arg0 interface{}) *gomock.Call

DeliverTx indicates an expected call of DeliverTx.

func (*MockChainMockRecorder) EndBlock

func (mr *MockChainMockRecorder) EndBlock(arg0 interface{}) *gomock.Call

EndBlock indicates an expected call of EndBlock.

func (*MockChainMockRecorder) InitChain

func (mr *MockChainMockRecorder) InitChain(state, time, blockIndex interface{}) *gomock.Call

InitChain indicates an expected call of InitChain.

func (*MockChainMockRecorder) Query

func (mr *MockChainMockRecorder) Query(q, height, prove interface{}) *gomock.Call

Query indicates an expected call of Query.

Jump to

Keyboard shortcuts

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