abstract class EmptyNameAndSubjectAssertionGroup : AssertionGroup
Represents a base class for AssertionGroups which have an empty name and subject.
EmptyNameAndSubjectAssertionGroup(type: AssertionGroupType, assertions: List<Assertion>)
Represents a base class for AssertionGroups which have an empty name and subject. |
open val assertions: List<Assertion>
The assertions of this group, which are defined for subject. |
|
open val name: Translatable
Untranslatable.EMPTY -- an empty string as Untranslatable. |
|
open val subject: Any
The empty string. |
|
open val type: AssertionGroupType
The type of the group, e.g. RootAssertionGroupType. |
open fun holds(): <ERROR CLASS>
Holds if all its assertions hold. |
class ExplanatoryAssertionGroup : EmptyNameAndSubjectAssertionGroup
Represents an AssertionGroup with an ExplanatoryAssertionGroupType, which means a Reporter should not
show whether the assertions hold or not -- moreover holds always returns |
|
class IndentAssertionGroup : EmptyNameAndSubjectAssertionGroup
Represents an AssertionGroup with an DefaultIndentAssertionGroupType, which means the assertions shall be indented one extra level and name and subject shall be neglected (not reported to the output). |
|
class InvisibleAssertionGroup : EmptyNameAndSubjectAssertionGroup
Represents an AssertionGroup with a DefaultInvisibleAssertionGroupType, which means the grouping should be invisible in reporting. |