atrium-verbs / ch.tutteli.atrium.reporting.translating / ISimpleTranslatable

ISimpleTranslatable

interface ISimpleTranslatable : ITranslatable

Something which is ITranslatable and provides a default representation by value.

Properties

value

abstract val value: String

The default representation of this ITranslatable.

Inherited Properties

id

open val id: String

The id of this ITranslatable -- per default it is "Class.name-name"

name

abstract val name: String

The name of this ITranslatable -- the name together with its Class.name should identify a ITranslatable (see id).

Functions

getDefault

open fun getDefault(): String

Returns the default representation of this ITranslatable which is value.

Inheritors

AssertionDescription

object AssertionDescription : ISimpleTranslatable

Use this description in an implementation to create an IOneMessageAssertion.

AssertionDescription

enum class AssertionDescription : ISimpleTranslatable

Use these ISimpleTranslatables in the implementation to create corresponding IAssertions.

AssertionVerb

enum class AssertionVerb : ISimpleTranslatable

The ITranslatables for the assertion functions assert, assertThat and expect.