doc / ch.tutteli.atrium.reporting / LazyRepresentation

LazyRepresentation

class LazyRepresentation (source)

A representation which shall be evaluated lazily during reporting.

For instance, an AssertionGroup with a FeatureAssertionGroupType has typically a AssertionGroup.representation with a LazyRepresentation.

Constructors

<init>

LazyRepresentation(provider: () -> Any?)

A representation which shall be evaluated lazily during reporting.

Functions

eval

fun eval(): Any?

Evaluates the representation.