Contains different types of Assertion,
e.g. DescriptiveAssertion.
Currently it contains also @Deprecated
impl-functions which will be removed with 1.0.0
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. |
|
data class
A default implementation for AssertionGroup -- it has a certain type, a description, a representation and of course assertions. |
|
class
A default implementation for DescriptiveAssertion which lazily evaluates holds. |
|
class
A default implementation for ExplanatoryAssertion -- an assertion which only wants to give an explanation. |
|
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
The AssertionGroupType for AssertionGroups whose assertions should be displayed with an extra indent. |
|
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. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Any. |
|
enum class
Contains the DescriptiveAssertion.descriptions which are so basic that one does not want to use a different wording in a two different assertion functions. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to BigDecimal. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to CharSequence. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Collection. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Comparable. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Float, Double and BigDecimal. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Iterable. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which are applicable to Throwable. |
|
enum class
Contains the DescriptiveAssertion.descriptions of the assertion functions which postulate that a
AssertionPlant.subject of type |
|
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. |
|
open class
Represents a base class for AssertionGroups which have an empty description and representation. |
|
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. |
|
class
Represents an AssertionGroup with an ExplanatoryAssertionGroupType, which means a Reporter should not
show whether the assertions hold or not -- moreover holds always returns |
|
interface ExplanatoryAssertionGroupType : DoNotFilterAssertionGroupType
Represents the AssertionGroupType for AssertionGroups whose assertions are mainly
used to explain something -- it is not of importance whether they hold or not and thus such AssertionGroups should
always return |
|
interface FeatureAssertionGroupType : AssertionGroupType
Represents the AssertionGroupType for AssertionGroups which contain some kind of feature assertions. |
|
class
Represents an AssertionGroup with a DefaultIndentAssertionGroupType, which means the assertions shall be indented one extra level and description and representation shall be neglected (not reported to the output). |
|
interface
Represents the AssertionGroupType for AssertionGroups whose assertions should be displayed with an extra indent. Such a group might have a AssertionGroup.description and AssertionGroup.representation (by accident) but should not be mentioned in reporting. |
|
class
Represents an AssertionGroup with an InvisibleAssertionGroupType, which means the grouping should be invisible in reporting. |
|
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. |
fun <T : CharSequence> |
|
fun <T : CharSequence> |
|
fun <T : Any, TSub : T> |
|
fun <T : CharSequence> |
|
fun <T : CharSequence> |
|
fun <T : Collection<*>> |
|
fun <TSub : Any> |
|
fun <T : CharSequence> |
|
fun <T : BigDecimal> |
|
fun <T : Comparable<T>> |
|
fun <T : Comparable<T>> |
|
fun <T : Comparable<T>> |
|
fun <T : Comparable<T>> |
|
fun <T : CharSequence> |
|
fun <T : BigDecimal> |
|
fun <T : Any> |
|
fun <T : BigDecimal> |
|
fun <T : Any> |
|
fun <T> |
|
fun <T : BigDecimal> |
|
fun <T : Any> |
|
fun <T : Any, TReturnValue : Any> fun <T : Any, TReturnValue : Any> fun <T : Any, T1, TReturnValue : Any> fun <T : Any, T1, TReturnValue : Any> fun <T : Any, T1, T2, TReturnValue : Any> fun <T : Any, T1, T2, TReturnValue : Any> fun <T : Any, T1, T2, T3, TReturnValue : Any> fun <T : Any, T1, T2, T3, TReturnValue : Any> fun <T : Any, T1, T2, T3, T4, TReturnValue : Any> fun <T : Any, T1, T2, T3, T4, TReturnValue : Any> fun <T : Any, T1, T2, T3, T4, T5, TReturnValue : Any> fun <T : Any, T1, T2, T3, T4, T5, TReturnValue : Any> |
|
fun <T : Any> |
|
fun <T : Any, TProperty : Any> fun <T : Any, TProperty : Any> |
|
fun <T : Any, TReturnValue : Any> fun <T : Any, TReturnValue : Any> fun <T : Any, T1, TReturnValue : Any> fun <T : Any, T1, TReturnValue : Any> fun <T : Any, T1, T2, TReturnValue : Any> fun <T : Any, T1, T2, TReturnValue : Any> fun <T : Any, T1, T2, T3, TReturnValue : Any> fun <T : Any, T1, T2, T3, TReturnValue : Any> fun <T : Any, T1, T2, T3, T4, TReturnValue : Any> fun <T : Any, T1, T2, T3, T4, TReturnValue : Any> fun <T : Any, T1, T2, T3, T4, T5, TReturnValue : Any> fun <T : Any, T1, T2, T3, T4, T5, TReturnValue : Any> |
|
fun <T : CharSequence> |
|
fun <T : CharSequence> |
|
fun <T : Any> |
|
fun fun fun <T : BigDecimal> |
|
fun <TExpected : Throwable> |
|
fun <T : Any, TSub : Any> |