doc / ch.tutteli.atrium.assertions / AssertionGroupType

AssertionGroupType

interface AssertionGroupType : BulletPointIdentifier

Represents a type of an AssertionGroup.

This interface is essentially a marker interface and should be sub-typed by other interfaces.

As side notice: I decided to use a marker interface instead of an enum class -- which is not open for extension -- so that an unknown number of types can be created without the need to modify existing implementations.

Inheritors

DoNotFilterAssertionGroupType

interface DoNotFilterAssertionGroupType : AssertionGroupType

An AssertionGroupType which indicates that a Reporter should not filter its AssertionGroup.assertions.

FeatureAssertionGroupType

interface FeatureAssertionGroupType : AssertionGroupType

Represents the AssertionGroupType for AssertionGroups which contain some kind of feature assertions.

IndentAssertionGroupType

interface IndentAssertionGroupType : AssertionGroupType

Represents the AssertionGroupType for AssertionGroups whose assertions should be displayed with an extra indent. Such a group might have a AssertionGroup.name and AssertionGroup.subject (by accident) but should not be mentioned in reporting.

InvisibleAssertionGroupType

interface InvisibleAssertionGroupType : AssertionGroupType

Represents the AssertionGroupType for AssertionGroups whose assertions should be displayed in a manner that the user does not even notice that the Assertions have been grouped.

ListAssertionGroupType

interface ListAssertionGroupType : AssertionGroupType

Represents the AssertionGroupType for AssertionGroups whose assertions should be displayed in a list (up to the Reporter if it is a list with bullets, squares etc.).

RootAssertionGroupType

object RootAssertionGroupType : AssertionGroupType

The AssertionGroupType for AssertionGroups which are the root of all assertions.