data class TestLedgerDSLInterpreter : LedgerDSLInterpreter<TestTransactionDSLInterpreter>
TypeMismatch |
class TypeMismatch : Exception |
VerifiesFailed |
class VerifiesFailed : Exception |
<init> |
TestLedgerDSLInterpreter(services: ServiceHub) |
services |
val services: ServiceHub |
transactionsToVerify |
val transactionsToVerify: List<WireTransaction> |
transactionsUnverified |
val transactionsUnverified: List<WireTransaction> |
wireTransactions |
val wireTransactions: List<WireTransaction> |
_transaction |
fun _transaction(transactionLabel: String?, transactionBuilder: TransactionBuilder, dsl: TransactionDSL<TestTransactionDSLInterpreter>.() -> EnforceVerifyOrFail): WireTransaction Creates and adds a transaction to the ledger. |
_unverifiedTransaction |
fun _unverifiedTransaction(transactionLabel: String?, transactionBuilder: TransactionBuilder, dsl: TransactionDSL<TestTransactionDSLInterpreter>.() -> Unit): WireTransaction Creates and adds a transaction to the ledger that will not be verified by verifies. |
attachment |
fun attachment(attachment: InputStream): SecureHash Adds an attachment to the ledger. |
outputToLabel |
fun outputToLabel(state: ContractState): String? |
retrieveOutputStateAndRef |
fun <S : ContractState> retrieveOutputStateAndRef(clazz: Class<S>, label: String): StateAndRef<S> Retrieves an output previously defined by TransactionDSLInterpreter._output with a label passed in. |
transactionName |
fun transactionName(transactionHash: SecureHash): String? |
tweak |
fun tweak(dsl: LedgerDSL<TestTransactionDSLInterpreter, LedgerDSLInterpreter<TestTransactionDSLInterpreter>>.() -> Unit): Unit Creates a local scoped copy of the ledger. |
verifies |
fun verifies(): EnforceVerifyOrFail Verifies the ledger/transaction, throws if the verification fails. |
ledger |
fun LedgerDSLInterpreter<TransactionDSLInterpreter>. |