Package mock
import "github.com/hyperledger/fabric/token/transaction/mock"
- Overview
- Index
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
- type TMSManager
- func (fake *TMSManager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)
- func (fake *TMSManager) GetTxProcessorArgsForCall(i int) string
- func (fake *TMSManager) GetTxProcessorCallCount() int
- func (fake *TMSManager) GetTxProcessorReturns(result1 transaction.TMSTxProcessor, result2 error)
- func (fake *TMSManager) GetTxProcessorReturnsOnCall(i int, result1 transaction.TMSTxProcessor, result2 error)
- func (fake *TMSManager) Invocations() map[string][][]interface{}
- type TMSTxProcessor
- func (fake *TMSTxProcessor) Invocations() map[string][][]interface{}
- func (fake *TMSTxProcessor) ProcessTx(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error
- func (fake *TMSTxProcessor) ProcessTxArgsForCall(i int) (string, identity.PublicInfo, *token.TokenTransaction, ledger.LedgerWriter)
- func (fake *TMSTxProcessor) ProcessTxCallCount() int
- func (fake *TMSTxProcessor) ProcessTxReturns(result1 error)
- func (fake *TMSTxProcessor) ProcessTxReturnsOnCall(i int, result1 error)
Package files
tms_manager.go
tms_tx_processor.go
type TMSManager struct {
GetTxProcessorStub func(channel string) (transaction.TMSTxProcessor, error)
}
func (fake *TMSManager) GetTxProcessor(channel string) (transaction.TMSTxProcessor, error)
func (fake *TMSManager) GetTxProcessorArgsForCall(i int) string
func (fake *TMSManager) GetTxProcessorCallCount() int
func (fake *TMSManager) GetTxProcessorReturns(result1 transaction.TMSTxProcessor, result2 error)
func (fake *TMSManager) GetTxProcessorReturnsOnCall(i int, result1 transaction.TMSTxProcessor, result2 error)
func (fake *TMSManager) Invocations() map[string][][]interface{}
type TMSTxProcessor struct {
ProcessTxStub func(txID string, creator identity.PublicInfo, ttx *token.TokenTransaction, simulator ledger.LedgerWriter) error
}
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 (fake *TMSTxProcessor) ProcessTxArgsForCall(i int) (string, identity.PublicInfo, *token.TokenTransaction, ledger.LedgerWriter)
func (fake *TMSTxProcessor) ProcessTxCallCount() int
func (fake *TMSTxProcessor) ProcessTxReturns(result1 error)
func (fake *TMSTxProcessor) ProcessTxReturnsOnCall(i int, result1 error)