Documentation
¶
Overview ¶
Package mock_executor is a generated GoMock package.
Index ¶
- type MockExecutor
- func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
- func (m *MockExecutor) HandleIBTP(ibtp *pb.IBTP) *pb.IBTP
- func (m *MockExecutor) QueryLatestCallbackMeta() *sync.Map
- func (m *MockExecutor) QueryLatestMeta() *sync.Map
- func (m *MockExecutor) QueryReceipt(from string, idx uint64, originalIBTP *pb.IBTP) (*pb.IBTP, error)
- func (m *MockExecutor) Start() error
- func (m *MockExecutor) Stop() error
- type MockExecutorMockRecorder
- func (mr *MockExecutorMockRecorder) HandleIBTP(ibtp interface{}) *gomock.Call
- func (mr *MockExecutorMockRecorder) QueryLatestCallbackMeta() *gomock.Call
- func (mr *MockExecutorMockRecorder) QueryLatestMeta() *gomock.Call
- func (mr *MockExecutorMockRecorder) QueryReceipt(from, idx, originalIBTP interface{}) *gomock.Call
- func (mr *MockExecutorMockRecorder) Start() *gomock.Call
- func (mr *MockExecutorMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface.
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance.
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExecutor) HandleIBTP ¶
func (m *MockExecutor) HandleIBTP(ibtp *pb.IBTP) *pb.IBTP
HandleIBTP mocks base method.
func (*MockExecutor) QueryLatestCallbackMeta ¶ added in v1.4.0
func (m *MockExecutor) QueryLatestCallbackMeta() *sync.Map
QueryLatestCallbackMeta mocks base method.
func (*MockExecutor) QueryLatestMeta ¶
func (m *MockExecutor) QueryLatestMeta() *sync.Map
QueryLatestMeta mocks base method.
func (*MockExecutor) QueryReceipt ¶
func (m *MockExecutor) QueryReceipt(from string, idx uint64, originalIBTP *pb.IBTP) (*pb.IBTP, error)
QueryReceipt mocks base method.
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor.
func (*MockExecutorMockRecorder) HandleIBTP ¶
func (mr *MockExecutorMockRecorder) HandleIBTP(ibtp interface{}) *gomock.Call
HandleIBTP indicates an expected call of HandleIBTP.
func (*MockExecutorMockRecorder) QueryLatestCallbackMeta ¶ added in v1.4.0
func (mr *MockExecutorMockRecorder) QueryLatestCallbackMeta() *gomock.Call
QueryLatestCallbackMeta indicates an expected call of QueryLatestCallbackMeta.
func (*MockExecutorMockRecorder) QueryLatestMeta ¶
func (mr *MockExecutorMockRecorder) QueryLatestMeta() *gomock.Call
QueryLatestMeta indicates an expected call of QueryLatestMeta.
func (*MockExecutorMockRecorder) QueryReceipt ¶
func (mr *MockExecutorMockRecorder) QueryReceipt(from, idx, originalIBTP interface{}) *gomock.Call
QueryReceipt indicates an expected call of QueryReceipt.
func (*MockExecutorMockRecorder) Start ¶
func (mr *MockExecutorMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockExecutorMockRecorder) Stop ¶
func (mr *MockExecutorMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.