atrium-core-impl-robstoll-lib / ch.tutteli.atrium.reporting

Package ch.tutteli.atrium.reporting

Types

AssertionFormatterControllerBasedFacade

class AssertionFormatterControllerBasedFacade : AssertionFormatterFacade

Responsible to call an appropriate AssertionFormatter which supports formating a given Assertion -- it does so by delegating this responsibility to the specified assertionFormatterController.

AssertionFormatterControllerImpl

class AssertionFormatterControllerImpl : AssertionFormatterController

Represents an AssertionFormatterController which does nothing special in addition but just the job of the controller :)

DetailedObjectFormatter

class DetailedObjectFormatter : ObjectFormatter

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

InvisibleAssertionGroupFormatter

class InvisibleAssertionGroupFormatter : NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<InvisibleAssertionGroupType>

Represents an AssertionFormatter which formats AssertionGroups with an InvisibleAssertionGroupType or rather does not format them but only passes on the given AssertionFormatterMethodObject as child-AssertionFormatterMethodObject for the formatting of the AssertionGroup.assertions.

NoSpecialChildFormattingSingleAssertionGroupTypeFormatter

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).

OnlyFailureReporter

class OnlyFailureReporter : Reporter

A Reporter which reports only failing assertions.

SingleAssertionGroupTypeFormatter

abstract class SingleAssertionGroupTypeFormatter<in T : AssertionGroupType> : AssertionFormatter

A base type for AssertionFormatter which canFormat only AssertionGroups of one specific AssertionGroupType.

TextExplanatoryAssertionGroupFormatter

class TextExplanatoryAssertionGroupFormatter : NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<ExplanatoryAssertionGroupType>

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

TextFallbackAssertionFormatter

class TextFallbackAssertionFormatter : AssertionFormatter

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.

TextFeatureAssertionGroupFormatter

class TextFeatureAssertionGroupFormatter : NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<FeatureAssertionGroupType>

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.

TextIndentAssertionGroupFormatter

class TextIndentAssertionGroupFormatter : NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<IndentAssertionGroupType>

Represents an AssertionFormatter which formats AssertionGroups with an IndentAssertionGroupType or rather creates a child-AssertionFormatterMethodObject which proposes to use the bullet point defined for IndentAssertionGroupType for the AssertionGroup.assertions.

TextListAssertionGroupFormatter

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.

TextListBasedAssertionGroupFormatter

abstract class TextListBasedAssertionGroupFormatter<in T : AssertionGroupType> : NoSpecialChildFormattingSingleAssertionGroupTypeFormatter<T>

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.

TextMethodCallFormatter

object TextMethodCallFormatter : MethodCallFormatter

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 Object.toString representation with a few exceptions.

TextNextLineAssertionPairFormatter

class TextNextLineAssertionPairFormatter : AssertionPairFormatter

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).

TextPrefixBasedAssertionGroupFormatter

class TextPrefixBasedAssertionGroupFormatter

TextSameLineAssertionPairFormatter

class TextSameLineAssertionPairFormatter : AssertionPairFormatter

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.

TextSummaryAssertionGroupFormatter

class TextSummaryAssertionGroupFormatter : SingleAssertionGroupTypeFormatter<SummaryAssertionGroupType>

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.