mock_executor

package
v0.0.0-...-f069fcf Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: GPL-3.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) ExecuteIBTP

func (m *MockExecutor) ExecuteIBTP(Ibtp *pb.IBTP) (*pb.IBTP, error)

ExecuteIBTP mocks base method.

func (*MockExecutor) QueryCallbackMeta

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

QueryCallbackMeta mocks base method.

func (*MockExecutor) QueryIBTPReceipt

func (m *MockExecutor) QueryIBTPReceipt(originalIBTP *pb.IBTP) (*pb.IBTP, error)

QueryIBTPReceipt mocks base method.

func (*MockExecutor) QueryInterchainMeta

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

QueryInterchainMeta mocks base method.

func (*MockExecutor) Rollback

func (m *MockExecutor) Rollback(ibtp *pb.IBTP, isSrcChain bool)

Rollback mocks base method.

type MockExecutorMockRecorder

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

MockExecutorMockRecorder is the mock recorder for MockExecutor.

func (*MockExecutorMockRecorder) ExecuteIBTP

func (mr *MockExecutorMockRecorder) ExecuteIBTP(Ibtp interface{}) *gomock.Call

ExecuteIBTP indicates an expected call of ExecuteIBTP.

func (*MockExecutorMockRecorder) QueryCallbackMeta

func (mr *MockExecutorMockRecorder) QueryCallbackMeta() *gomock.Call

QueryCallbackMeta indicates an expected call of QueryCallbackMeta.

func (*MockExecutorMockRecorder) QueryIBTPReceipt

func (mr *MockExecutorMockRecorder) QueryIBTPReceipt(originalIBTP interface{}) *gomock.Call

QueryIBTPReceipt indicates an expected call of QueryIBTPReceipt.

func (*MockExecutorMockRecorder) QueryInterchainMeta

func (mr *MockExecutorMockRecorder) QueryInterchainMeta() *gomock.Call

QueryInterchainMeta indicates an expected call of QueryInterchainMeta.

func (*MockExecutorMockRecorder) Rollback

func (mr *MockExecutorMockRecorder) Rollback(ibtp, isSrcChain interface{}) *gomock.Call

Rollback indicates an expected call of Rollback.

Jump to

Keyboard shortcuts

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