Package-level declarations

Contains (default) implementations of the interfaces defined in ch.tutteli.atrium.reporting.text.

Contains (default) implementations of the interfaces defined in ch.tutteli.atrium.reporting.text.

Contains (default) implementations of the interfaces defined in ch.tutteli.atrium.reporting.text.

Types

Link copied to clipboard
Link copied to clipboard

Responsible to format a method call for text output (e.g. to the console) where it represents arguments of a method call by using their Any.toString representation with a few exceptions.

Link copied to clipboard

Formats an object by using its toString representation, its Class.getName and its System.identityHashCode (in most cases).

A base type for AssertionFormatter which canFormat only AssertionGroups of one specific AssertionGroupType and does nothing special when it comes to formatting AssertionGroup.assertions (merely delegates to assertionFormatterController).

Link copied to clipboard
Link copied to clipboard

Represents an AssertionFormatter which formats AssertionGroups with an ExplanatoryAssertionGroupType by neglecting the group header and defining an child-AssertionFormatterParameterObject which indicates that we are in an explanatory assertion.

Link copied to clipboard
class TextFallbackAssertionFormatter(bulletPoints: Map<KClass<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController, assertionPairFormatter: AssertionPairFormatter, objectFormatter: ObjectFormatter) : AssertionFormatter, TextAssertionFormatter

Formats an Assertion for text output (e.g. to the console) by using the given assertionPairFormatter to format the group header for AssertionGroups and uses the bullet point defined for RootAssertionGroupType as prefix for the AssertionGroup.assertions.

Link copied to clipboard

Represents an AssertionFormatter which formats AssertionGroups with a FeatureAssertionGroupType by using the given assertionPairFormatter to format the group header, additionally prefixing it with the "bullet point" (typically an arrow) defined for PrefixFeatureAssertionGroupHeader and uses the bullet point defined for FeatureAssertionGroupType as prefix for the AssertionGroup.assertions.

Link copied to clipboard

Represents an AssertionFormatter which formats AssertionGroups with a GroupingAssertionGroupType by using the given assertionPairFormatter to format the group header and uses the bullet point defined for GroupingAssertionGroupType as prefix for the group as such and the bullet point defined for RootAssertionGroupType for AssertionGroup.assertions.

Link copied to clipboard

Represents an AssertionFormatter which formats AssertionGroups with a ListAssertionGroupType by using the given assertionPairFormatter to format the group header and uses the bullet point defined for ListAssertionGroupType as prefix for the AssertionGroup.assertions.

Link copied to clipboard

Represents an AssertionFormatter which formats AssertionGroups with type T by using the given assertionPairFormatter to format the group header and using the given bulletPoint (see constructor) to prefix the AssertionGroup.assertions.

Link copied to clipboard

Represents an AssertionPairFormatter formatter of assertion pairs -- which consists of a Translatable and a representation -- where it puts the translation on one line and the representation on the next line (including indentation as if the representation is a child).

Link copied to clipboard

Base class for the platform specific implementation of DefaultTextObjectFormatter.

Link copied to clipboard

Represents an AssertionPairFormatter formatter of assertion pairs -- which consists of a Translatable and a representation -- where it puts them on the same line in the form: translation: representation.

Link copied to clipboard

Represents an AssertionFormatter which formats AssertionGroups with a SummaryAssertionGroupType by using the given assertionPairFormatter to format the group header and uses the bullet point defined for PrefixSuccessfulSummaryAssertion as prefix for successful AssertionGroup.assertions and the bullet point defined for PrefixFeatureAssertionGroupHeader as prefix for failing AssertionGroup.assertions.

Link copied to clipboard
external class WeakMap