doc / ch.tutteli.atrium.reporting.text / TextMethodCallFormatter

TextMethodCallFormatter

interface TextMethodCallFormatter : MethodCallFormatter (source)

Marker interface for AssertionFormatter which are intended for text output, e.g. for terminal output.

Inherited Functions

formatArgument

abstract fun formatArgument(argument: Any?): String

Formats the given argument.

formatCall

abstract fun formatCall(methodName: String, arguments: Array<out Any?>): String

Returns a representation of a method call to a method named methodName with the given arguments.

Inheritors

DefaultTextMethodCallFormatter

object DefaultTextMethodCallFormatter : TextMethodCallFormatter

Responsible to format a method call for text output (e.g. to the console) where it represents arguments of a method call by using their Any.toString representation with a few exceptions.