class BasicDescriptiveAssertion : DescriptiveAssertion
(source)A default implementation for DescriptiveAssertion which lazily evaluates holds.
BasicDescriptiveAssertion(description: Translatable, representation: Any, holds: Boolean)
Constructor overload with an eager BasicDescriptiveAssertion.holds. BasicDescriptiveAssertion(description: Translatable, representation: Any, test: () -> Boolean)
Constructor overload with a lazy BasicDescriptiveAssertion.holds. |
val description: Translatable
|
|
val representation: Any
|
open val |
fun holds(): Boolean
Indicates whether the assertion holds or not. |