Documentation ¶
Overview ¶
Package mock_abci is a generated GoMock package.
Index ¶
- type MockChain
- func (m *MockChain) BeginBlock(arg0 abci.BeginBlockRequest) (abci.BeginBlockResponse, error)
- func (m *MockChain) CheckTx(arg0 *protocol.Envelope) (protocol.TransactionResult, *protocol.Error)
- func (m *MockChain) Commit() ([]byte, error)
- func (m *MockChain) DeliverTx(arg0 *protocol.Envelope) (protocol.TransactionResult, *protocol.Error)
- func (m *MockChain) EXPECT() *MockChainMockRecorder
- func (m *MockChain) EndBlock(arg0 abci.EndBlockRequest) abci.EndBlockResponse
- func (m *MockChain) InitChain(state []byte, time time.Time) ([]byte, error)
- func (m *MockChain) Query(q *query.Query, height int64, prove bool) ([]byte, []byte, *protocol.Error)
- type MockChainMockRecorder
- func (mr *MockChainMockRecorder) BeginBlock(arg0 interface{}) *gomock.Call
- func (mr *MockChainMockRecorder) CheckTx(arg0 interface{}) *gomock.Call
- func (mr *MockChainMockRecorder) Commit() *gomock.Call
- func (mr *MockChainMockRecorder) DeliverTx(arg0 interface{}) *gomock.Call
- func (mr *MockChainMockRecorder) EndBlock(arg0 interface{}) *gomock.Call
- func (mr *MockChainMockRecorder) InitChain(state, time interface{}) *gomock.Call
- func (mr *MockChainMockRecorder) Query(q, height, prove interface{}) *gomock.Call
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 ¶
func (m *MockChain) BeginBlock(arg0 abci.BeginBlockRequest) (abci.BeginBlockResponse, error)
BeginBlock mocks base method.
func (*MockChain) DeliverTx ¶
func (m *MockChain) DeliverTx(arg0 *protocol.Envelope) (protocol.TransactionResult, *protocol.Error)
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 ¶
func (m *MockChain) EndBlock(arg0 abci.EndBlockRequest) abci.EndBlockResponse
EndBlock 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 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.