interface IAssertionFormatter
Represents a formatter for IAssertions and IAssertionGroups.
abstract fun canFormat(assertion: IAssertion): Boolean
Denotes whether this IAssertionFormatter was created to format IAssertions such as the given assertion or not. |
|
open fun format(assertion: IAssertion, methodObject: AssertionFormatterMethodObject): Unit
Formats the given assertion and appends the result to the sb of the given methodObject. |
|
abstract fun formatGroup(assertionGroup: IAssertionGroup, methodObject: AssertionFormatterMethodObject, formatAssertions: (AssertionFormatterMethodObject, (IAssertion) -> Unit) -> Unit): Unit
Formats the given assertionGroup and appends the result to the sb of the given methodObject. |
|
abstract fun formatNonGroup(assertion: IAssertion, 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 |