interface AssertionFormatter
Represents a formatter for Assertions and AssertionGroups.
abstract fun canFormat(assertion: Assertion): Boolean
Denotes whether this AssertionFormatter was created to format Assertions such as the given assertion or not. |
|
open fun format(assertion: Assertion, methodObject: AssertionFormatterMethodObject): Unit
Formats the given assertion and appends the result to the sb of the given methodObject. |
|
abstract fun formatGroup(assertionGroup: AssertionGroup, methodObject: AssertionFormatterMethodObject, formatAssertions: (AssertionFormatterMethodObject, (Assertion) -> Unit) -> Unit): Unit
Formats the given assertionGroup and appends the result to the sb of the given methodObject. |
|
abstract fun formatNonGroup(assertion: Assertion, methodObject: AssertionFormatterMethodObject): Unit
Formats the given assertion and appends the result to the sb of the given methodObject. |
val CALL_FORMAT_GROUP: String |
fun throwNotIntendedForAssertionGroups(): Unit |