mock

package
v0.0.0-...-fbe82ab Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

伪造者生成的代码。不要编辑。

伪造者生成的代码。不要编辑。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TMSManager

type TMSManager struct {
	GetTxProcessorStub func(channel string) (transaction.TMSTxProcessor, error)
	// contains filtered or unexported fields
}

func (*TMSManager) GetTxProcessor

func (fake *TMSManager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)

func (*TMSManager) GetTxProcessorArgsForCall

func (fake *TMSManager) GetTxProcessorArgsForCall(i int) string

func (*TMSManager) GetTxProcessorCallCount

func (fake *TMSManager) GetTxProcessorCallCount() int

func (*TMSManager) GetTxProcessorReturns

func (fake *TMSManager) GetTxProcessorReturns(result1 transaction.TMSTxProcessor, result2 error)

func (*TMSManager) GetTxProcessorReturnsOnCall

func (fake *TMSManager) GetTxProcessorReturnsOnCall(i int, result1 transaction.TMSTxProcessor, result2 error)

func (*TMSManager) Invocations

func (fake *TMSManager) Invocations() map[string][][]interface{}

type TMSTxProcessor

type TMSTxProcessor struct {
	ProcessTxStub func(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error
	// contains filtered or unexported fields
}

func (*TMSTxProcessor) Invocations

func (fake *TMSTxProcessor) Invocations() map[string][][]interface{}

func (*TMSTxProcessor) ProcessTx

func (fake *TMSTxProcessor) ProcessTx(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error

func (*TMSTxProcessor) ProcessTxArgsForCall

func (*TMSTxProcessor) ProcessTxCallCount

func (fake *TMSTxProcessor) ProcessTxCallCount() int

func (*TMSTxProcessor) ProcessTxReturns

func (fake *TMSTxProcessor) ProcessTxReturns(result1 error)

func (*TMSTxProcessor) ProcessTxReturnsOnCall

func (fake *TMSTxProcessor) ProcessTxReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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