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.

DescriptionBigDecimalAssertion

enum class DescriptionBigDecimalAssertion : StringBasedTranslatable

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

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.

DescriptionComparableAssertion

enum class DescriptionComparableAssertion : StringBasedTranslatable

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

DescriptionFloatingPointAssertion

enum class DescriptionFloatingPointAssertion : StringBasedTranslatable

Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Float, Double and BigDecimal.

DescriptionIterableAssertion

enum class DescriptionIterableAssertion : StringBasedTranslatable

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

DescriptionThrowableAssertion

enum class DescriptionThrowableAssertion : StringBasedTranslatable

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

DescriptionTypeTransformationAssertion

enum class DescriptionTypeTransformationAssertion : StringBasedTranslatable

Contains the DescriptiveAssertion.descriptions of the assertion functions which postulate that a AssertionPlant.subject of type T can be transformed (usually down-casting or unboxing) to TSub.

TestDescription

enum class TestDescription : StringBasedTranslatable

TestTranslatable

enum class TestTranslatable : StringBasedTranslatable

Contains StringBasedTranslatables which are used in TranslatorIntSpec.