Contains default implementations of the interfaces defined in ch.tutteli.atrium.reporting.text.
abstract class AbstractTextObjectFormatter : TextObjectFormatterCommon |
|
object DefaultTextMethodCallFormatter : TextMethodCallFormatter
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. |
|
expect class DefaultTextObjectFormatter : TextObjectFormatter |
|
abstract class NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<in T : AssertionGroupType> : SingleAssertionGroupTypeFormatter<T>
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). |
|
abstract class SingleAssertionGroupTypeFormatter<in T : AssertionGroupType> : AssertionFormatter
A base type for AssertionFormatter which canFormat only AssertionGroups of one specific AssertionGroupType. |
|
interface TextAssertionFormatterFactory |
|
class TextExplanatoryAssertionGroupFormatter : NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<ExplanatoryAssertionGroupType>, TextAssertionFormatter
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. |
|
class TextFallbackAssertionFormatter : 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. |
|
class TextFeatureAssertionGroupFormatter : NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<FeatureAssertionGroupType>, TextAssertionFormatter
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. |
|
class TextListAssertionGroupFormatter : TextListBasedAssertionGroupFormatter<ListAssertionGroupType>
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. |
|
abstract class TextListBasedAssertionGroupFormatter<in T : AssertionGroupType> : NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<T>, TextAssertionFormatter
Represents an AssertionFormatter which formats AssertionGroups with type T by using the given
assertionPairFormatter to format the group header and using the given |
|
class TextNextLineAssertionPairFormatter : AssertionPairFormatter, TextAssertionPairFormatter
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). |
|
abstract class TextObjectFormatterCommon : TextObjectFormatter
Base class for the platform specific implementation of DefaultTextObjectFormatter. |
|
class TextPrefixBasedAssertionGroupFormatter |
|
class TextSameLineAssertionPairFormatter : AssertionPairFormatter, TextAssertionPairFormatter
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: |
|
class TextSummaryAssertionGroupFormatter : SingleAssertionGroupTypeFormatter<SummaryAssertionGroupType>, TextAssertionFormatter
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. |