TestCordappInternal

Extends the public TestCordapp API with internal extensions for use within the testing framework and for internal testing of the platform.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val config: Map<String, Any>

Returns the config for on this CorDapp, defaults to empty if not specified.

Link copied to clipboard
abstract val jarFile: Path

The jar file this CorDapp represents. Different CorDapps may point to the same file.

Functions

Link copied to clipboard
abstract fun asSigned(): TestCordapp

Returns a copy of this TestCordapp signed with a development signing key. The same signing key will be used for all signed TestCordapps. If the CorDapp jar is already signed, then the new jar created will its signing key replaced by the development key.

Link copied to clipboard
abstract fun withConfig(config: Map<String, Any>): TestCordapp

Returns a copy of this TestCordapp but with the specified CorDapp config.

Link copied to clipboard

Return a copy of this TestCordappInternal but without any metadata, such as configs and signing information.