data class TestLedgerDSLInterpreter : LedgerDSLInterpreter<TestTransactionDSLInterpreter>| TypeMismatch |
class TypeMismatch : Exception |
| VerifiesFailed |
class VerifiesFailed : Exception |
| <init> |
TestLedgerDSLInterpreter(identityService: IdentityService, storageService: StorageService) |
| wireTransactions |
val wireTransactions: List<WireTransaction> |
| _transaction |
fun _transaction(transactionLabel: String?, transactionBuilder: TransactionBuilder, dsl: TransactionDSL<TestTransactionDSLInterpreter>.() -> EnforceVerifyOrFail): WireTransactionCreates and adds a transaction to the ledger. |
| _unverifiedTransaction |
fun _unverifiedTransaction(transactionLabel: String?, transactionBuilder: TransactionBuilder, dsl: TransactionDSL<TestTransactionDSLInterpreter>.() -> Unit): WireTransactionCreates and adds a transaction to the ledger that will not be verified by verifies. |
| attachment |
fun attachment(attachment: InputStream): SecureHashAdds 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. |
| toTransactionGroup |
fun toTransactionGroup(): TransactionGroup |
| transactionName |
fun transactionName(transactionHash: SecureHash): String? |
| tweak |
fun tweak(dsl: LedgerDSL<TestTransactionDSLInterpreter, LedgerDSLInterpreter<TestTransactionDSLInterpreter>>.() -> Unit): UnitCreates a local scoped copy of the ledger. |
| verifies |
fun verifies(): EnforceVerifyOrFailVerifies the ledger/transaction, throws if the verification fails. |
| ledger |
fun LedgerDSLInterpreter<TransactionDSLInterpreter>. |