abstract class EmptyNameAndSubjectAssertionGroup : IAssertionGroup
Represents a base class for IAssertionGroups which have an empty name and subject.
EmptyNameAndSubjectAssertionGroup(type: IAssertionGroupType, assertions: List<IAssertion>)
Represents a base class for IAssertionGroups which have an empty name and subject. |
open val assertions: List<IAssertion>
The assertions of this group, which are defined for subject. |
|
open val name: ITranslatable
Untranslatable of an empty string. |
|
open val subject: Any
The empty string. |
|
open val type: IAssertionGroupType
The type of the group, e.g. RootAssertionGroupType. |
open fun holds(): <ERROR CLASS>
Holds if all its assertions hold. |
class ExplanatoryAssertionGroup : EmptyNameAndSubjectAssertionGroup
Represents an IAssertionGroup with an ExplanatoryAssertionGroupType, which means an IReporter should not
show whether the assertions hold or not -- moreover holds always returns |
|
class IndentAssertionGroup : EmptyNameAndSubjectAssertionGroup
Represents an IAssertionGroup with an IIndentAssertionGroupType, 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 IAssertionGroup with an InvisibleAssertionGroupType, which means the grouping should be invisible in reporting. |