Constructors

Link copied to clipboard
constructor(services: <Error class: unknown class>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class TypeMismatch(requested: Class<*>, actual: Class<*>) : Exception
Link copied to clipboard
class VerifiesFailed(transactionName: String, cause: Throwable) : Exception

Properties

Link copied to clipboard
val services: <Error class: unknown class>
Link copied to clipboard
val transactionsToVerify: List<<Error class: unknown class>>
Link copied to clipboard
val transactionsUnverified: List<<Error class: unknown class>>
Link copied to clipboard
val wireTransactions: List<<Error class: unknown class>>

Functions

Link copied to clipboard
open override fun _transaction(transactionLabel: String?, transactionBuilder: <Error class: unknown class>, dsl: TestTransactionDSLInterpreter.() -> EnforceVerifyOrFail): <Error class: unknown class>

Creates and adds a transaction to the ledger.

Link copied to clipboard

Creates a local scoped copy of the ledger.

Link copied to clipboard
open override fun _unverifiedTransaction(transactionLabel: String?, transactionBuilder: <Error class: unknown class>, dsl: TestTransactionDSLInterpreter.() -> Unit): <Error class: unknown class>

Creates and adds a transaction to the ledger that will not be verified by verifies.

Link copied to clipboard
open override fun attachment(attachment: InputStream): <Error class: unknown class>

Adds an attachment to the ledger.

Link copied to clipboard

Asserts that verifies throws, with no condition on the exception message.

Link copied to clipboard
open infix fun fails with(msg: String): EnforceVerifyOrFail
Link copied to clipboard
open fun failsWith(expectedMessage: String?): EnforceVerifyOrFail

Asserts that verifies() throws.

Link copied to clipboard
fun outputToLabel(state: <Error class: unknown class>): String?
Link copied to clipboard
open override fun <S> retrieveOutputStateAndRef(clazz: Class<S>, label: String): <Error class: unknown class><S>

Retrieves an output previously defined by TransactionDSLInterpreter.output with a label passed in.

Link copied to clipboard
fun transactionName(transactionHash: <Error class: unknown class>): String?
Link copied to clipboard
open override fun verifies(): EnforceVerifyOrFail

Verifies the ledger/transaction, throws if the verification fails.