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 "KClass.fullName ID_SEPARATOR" without the spaces.

name

abstract val name: String

The name of this Translatable -- the name together with its KClass.qualifiedName 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

Defines the translation used for the assertion verbs used for internal purposes.

AssertionVerb

enum class AssertionVerb : StringBasedTranslatable

Deprecated, switch to api.verbs.internal.AssertionVerb; will be removed with 1.0.0

AssertionVerb

enum class AssertionVerb : StringBasedTranslatable

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

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.

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.

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.

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.

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.

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.

DescriptionComparableAssertion

enum class DescriptionComparableAssertion : StringBasedTranslatable

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

DescriptionDateTimeLikeAssertion

enum class DescriptionDateTimeLikeAssertion : StringBasedTranslatable

Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to date like instances (e.g. LocalDate, LocaleDateTime, ZonedDateTime etc.)

DescriptionFloatingPointAssertion

enum class DescriptionFloatingPointAssertion : StringBasedTranslatable

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

DescriptionFloatingPointAssertion

enum class DescriptionFloatingPointAssertion : StringBasedTranslatable

Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Float, Double and maybe other platform specific floating point types (such as BigDecimal in JVM).

DescriptionFunLikeAssertion

enum class DescriptionFunLikeAssertion : StringBasedTranslatable

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

DescriptionIterableAssertion

enum class DescriptionIterableAssertion : StringBasedTranslatable

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

DescriptionIterableAssertion

enum class DescriptionIterableAssertion : StringBasedTranslatable

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

DescriptionListAssertion

enum class DescriptionListAssertion : StringBasedTranslatable

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

DescriptionMapAssertion

enum class DescriptionMapAssertion : StringBasedTranslatable

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

DescriptionOptionalAssertion

enum class DescriptionOptionalAssertion : StringBasedTranslatable

DescriptionPathAssertion

enum class DescriptionPathAssertion : StringBasedTranslatable

DescriptionResultAssertion

enum class DescriptionResultAssertion : StringBasedTranslatable

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

DescriptionThrowableAssertion

enum class DescriptionThrowableAssertion : StringBasedTranslatable

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

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.

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.

ErrorMessages

enum class ErrorMessages : StringBasedTranslatable

Contains translations which are used in error like messages.