mock_executor

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_executor is a generated GoMock package.

Index

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

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) QueryLatestMeta

func (m *MockExecutor) QueryLatestMeta() map[string]uint64

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

func (*MockExecutor) Start

func (m *MockExecutor) Start() error

Start mocks base method

func (*MockExecutor) Stop

func (m *MockExecutor) Stop() error

Stop 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) 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

Jump to

Keyboard shortcuts

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