Description

interface Description

A description of a Matcher. A Matcher will describe itself to a description which can later be used for reporting.

See also

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Functions

Link copied to clipboard

Appends the description of a SelfDescribing value to this description.

Link copied to clipboard
abstract fun appendList(start: String, separator: String, end: String, values: Iterable<out SelfDescribing>): Description

Appends a list of SelfDescribing objects to the description.

Link copied to clipboard
abstract fun appendText(text: String): Description

Appends some plain text to the description.

Link copied to clipboard
abstract fun appendValue(value: Any?): Description

Appends an arbitrary value to the description.

Link copied to clipboard
abstract fun <T> appendValueList(start: String, separator: String, end: String, values: Iterable<T>): Description
abstract fun <T> appendValueList(start: String, separator: String, end: String, vararg values: T): Description

Appends a list of values to the description.