corda / net.corda.testing.core / SerializationEnvironmentRule

SerializationEnvironmentRule

class SerializationEnvironmentRule

A test serialization rule implementation for use in tests

Parameters

inheritable - whether new threads inherit the environment, use sparingly.

Constructors

<init>

SerializationEnvironmentRule(inheritable: Boolean = false)

A test serialization rule implementation for use in tests

Properties

serializationFactory

val serializationFactory: SerializationFactory

Functions

apply

fun apply(base: <ERROR CLASS>, description: <ERROR CLASS>): <ERROR CLASS>

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.