doc / 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.

DescriptionAnyAssertion

enum class DescriptionAnyAssertion : ISimpleTranslatable

Contains the Message.descriptions of the assertion functions which are applicable to Any.

DescriptionCharSequenceAssertion

enum class DescriptionCharSequenceAssertion : ISimpleTranslatable

Contains the Message.descriptions of the assertion functions which are applicable to CharSequence.

DescriptionCollectionAssertion

enum class DescriptionCollectionAssertion : ISimpleTranslatable

Contains the Message.descriptions of the assertion functions which are applicable to Collection.

DescriptionNarrowingAssertion

enum class DescriptionNarrowingAssertion : ISimpleTranslatable

Contains the Message.descriptions of the assertion functions which postulate that a IAssertionPlant.subject of type T can be narrowed to TSub where TSub <: T.

DescriptionNumberAssertion

enum class DescriptionNumberAssertion : ISimpleTranslatable

Contains the Message.descriptions of the assertion functions which are applicable to Number.

TestTranslatable

enum class TestTranslatable : ISimpleTranslatable

Contains ISimpleTranslatables which are used in TranslationSupplierSpec.