Contains different types of Assertion,
e.g. DescriptiveAssertion.
Currently, it contains also @Deprecated
types which will be made internal with 0.17.0 or earlier
interface Assertion
The base interface of all assertions, providing the method holds. |
|
interface AssertionGroup : Assertion
The base interface for Assertion groups, providing a default implementation for Assertion.holds
which returns |
|
interface AssertionGroupType : BulletPointIdentifier
Represents a type of an AssertionGroup. |
|
interface BulletPointIdentifier
A marker interface for types which can be used to identify bullet points in CoreFactory.registerTextAssertionFormatterCapabilities. |
|
object DefaultExplanatoryAssertionGroupType : ExplanatoryAssertionGroupType
The AssertionGroupType for AssertionGroups whose assertions are used to explain
something rather than pointing something out -- accordingly the AssertionGroup.holds should always return |
|
object DefaultFeatureAssertionGroupType : FeatureAssertionGroupType
The AssertionGroupType for AssertionGroups which contain any kind of feature assertions. |
|
object DefaultListAssertionGroupType : ListAssertionGroupType
The AssertionGroupType for AssertionGroups whose assertions should be displayed in a list. |
|
object DefaultSummaryAssertionGroupType : SummaryAssertionGroupType
The AssertionGroupType for AssertionGroups whose assertions should not be filtered (by a Reporter) and for which an AssertionFormatter should state whether they hold or not. |
|
interface DescriptiveAssertion : Assertion
The base interface for Assertions which consist of a representation of an expected result with a complementary description. |
|
interface DoNotFilterAssertionGroupType : AssertionGroupType
An AssertionGroupType which indicates that a Reporter should not filter its AssertionGroup.assertions. |
|
interface ExplanatoryAssertion : Assertion
Represents an Assertion which can be used to explain/show an instance which is eventually formatted by an ObjectFormatter in reporting -- it needs to be a child of an AssertionGroup with an ExplanatoryAssertionGroupType. |
|
interface ExplanatoryAssertionGroupType : DoNotFilterAssertionGroupType
Represents the AssertionGroupType for AssertionGroups whose assertions are mainly
used to explain something -- hence in the normal case it should not be of importance whether they hold or not
and thus such AssertionGroups should usually return |
|
interface FeatureAssertionGroupType : AssertionGroupType
Represents the AssertionGroupType for AssertionGroups which contain some kind of feature assertions. |
|
data class InformationAssertionGroupType : ExplanatoryAssertionGroupType
The AssertionGroupType for AssertionGroups whose assertions are used to document the reason for one or multiple assertions. |
|
object 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. |
|
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.). |
|
class PrefixFailingSummaryAssertion : BulletPointIdentifier
Represents the identifier for bullet points used to prefix Assertions which do not hold, in context of an AssertionGroup with type SummaryAssertionGroupType. |
|
class PrefixFeatureAssertionGroupHeader : BulletPointIdentifier
This class is only used as identifier for CoreFactory.registerTextAssertionFormatterCapabilities. |
|
class PrefixSuccessfulSummaryAssertion : BulletPointIdentifier
Represents the identifier for bullet points used to prefix Assertions which hold, in context of an AssertionGroup with type SummaryAssertionGroupType. |
|
interface RepresentationOnlyAssertion : Assertion
The base interface for Assertions which only consist of a representation (next to holds). |
|
object RootAssertionGroupType : AssertionGroupType
The AssertionGroupType for AssertionGroups which are the root of all assertions. |
|
interface SummaryAssertionGroupType : DoNotFilterAssertionGroupType
Represents the AssertionGroupType for AssertionGroups whose assertions should all be reported in reporting (no filtering by a Reporter) since it represents a summary which itself will point out which assertions hold and which do not. |
|
object WarningAssertionGroupType : ExplanatoryAssertionGroupType
The AssertionGroupType for AssertionGroups whose assertions are used to state a warning rather than making an assumption. |