mock_agent

package
v1.0.0-rc1 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_agent is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgent

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

MockAgent is a mock of Agent interface

func NewMockAgent

func NewMockAgent(ctrl *gomock.Controller) *MockAgent

NewMockAgent creates a new mock instance

func (*MockAgent) Appchain

func (m *MockAgent) Appchain() (*go_bitxhub_client.Appchain, error)

Appchain mocks base method

func (*MockAgent) EXPECT

func (m *MockAgent) EXPECT() *MockAgentMockRecorder

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

func (*MockAgent) GetChainMeta

func (m *MockAgent) GetChainMeta() (*pb.ChainMeta, error)

GetChainMeta mocks base method

func (*MockAgent) GetIBTPByID

func (m *MockAgent) GetIBTPByID(id string) (*pb.IBTP, error)

GetIBTPByID mocks base method

func (*MockAgent) GetMerkleWrapper

func (m *MockAgent) GetMerkleWrapper(begin, end uint64) (chan *pb.MerkleWrapper, error)

GetMerkleWrapper mocks base method

func (*MockAgent) SendIBTP

func (m *MockAgent) SendIBTP(ibtp *pb.IBTP) (*pb.Receipt, error)

SendIBTP mocks base method

func (*MockAgent) SendTransaction

func (m *MockAgent) SendTransaction(tx *pb.Transaction) (*pb.Receipt, error)

SendTransaction mocks base method

func (*MockAgent) SyncMerkleWrapper

func (m *MockAgent) SyncMerkleWrapper(ctx context.Context) (chan *pb.MerkleWrapper, error)

SyncMerkleWrapper mocks base method

type MockAgentMockRecorder

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

MockAgentMockRecorder is the mock recorder for MockAgent

func (*MockAgentMockRecorder) Appchain

func (mr *MockAgentMockRecorder) Appchain() *gomock.Call

Appchain indicates an expected call of Appchain

func (*MockAgentMockRecorder) GetChainMeta

func (mr *MockAgentMockRecorder) GetChainMeta() *gomock.Call

GetChainMeta indicates an expected call of GetChainMeta

func (*MockAgentMockRecorder) GetIBTPByID

func (mr *MockAgentMockRecorder) GetIBTPByID(id interface{}) *gomock.Call

GetIBTPByID indicates an expected call of GetIBTPByID

func (*MockAgentMockRecorder) GetMerkleWrapper

func (mr *MockAgentMockRecorder) GetMerkleWrapper(begin, end interface{}) *gomock.Call

GetMerkleWrapper indicates an expected call of GetMerkleWrapper

func (*MockAgentMockRecorder) SendIBTP

func (mr *MockAgentMockRecorder) SendIBTP(ibtp interface{}) *gomock.Call

SendIBTP indicates an expected call of SendIBTP

func (*MockAgentMockRecorder) SendTransaction

func (mr *MockAgentMockRecorder) SendTransaction(tx interface{}) *gomock.Call

SendTransaction indicates an expected call of SendTransaction

func (*MockAgentMockRecorder) SyncMerkleWrapper

func (mr *MockAgentMockRecorder) SyncMerkleWrapper(ctx interface{}) *gomock.Call

SyncMerkleWrapper indicates an expected call of SyncMerkleWrapper

Jump to

Keyboard shortcuts

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