doc / ch.tutteli.atrium.reporting.translating / StringBasedTranslatable

StringBasedTranslatable

interface StringBasedTranslatable : Translatable

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

Properties

value

abstract val value: String

The default representation of this Translatable.

Inherited Properties

id

open val id: String

The id of this Translatable -- per default it is "Class.namename"

name

abstract val name: String

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

Functions

getDefault

open fun getDefault(): String

Returns the default representation of this Translatable which is value.

Inheritors

AssertionVerb

enum class AssertionVerb : StringBasedTranslatable

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

DescriptionAnyAssertion

enum class DescriptionAnyAssertion : StringBasedTranslatable

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

DescriptionBasic

enum class DescriptionBasic : StringBasedTranslatable

Contains the DescriptiveAssertion.descriptions which are so basic that one does not want to use a different wording in a two different assertion functions.

DescriptionCharSequenceAssertion

enum class DescriptionCharSequenceAssertion : StringBasedTranslatable

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

DescriptionCollectionAssertion

enum class DescriptionCollectionAssertion : StringBasedTranslatable

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

DescriptionIterableAssertion

enum class DescriptionIterableAssertion : StringBasedTranslatable

Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Iterable.

DescriptionNarrowingAssertion

enum class DescriptionNarrowingAssertion : StringBasedTranslatable

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

DescriptionNumberAssertion

enum class DescriptionNumberAssertion : StringBasedTranslatable

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

DescriptionThrowableAssertion

enum class DescriptionThrowableAssertion : StringBasedTranslatable

Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Throwable.

TestDescription

enum class TestDescription : StringBasedTranslatable

TestTranslatable

enum class TestTranslatable : StringBasedTranslatable

Contains StringBasedTranslatables which are used in TranslatorIntSpec.