Package-level declarations
The AssertionBuilder and other builders to ease the creation of Assertion
s.
Types
Represents a builder which creates Assertions and AssertionGroups.
Final step in the AssertionBuilder process, creates the desired Assertion of type T.
Option step which allows to specify the AssertionGroup.description -- Text.EMPTY is used as AssertionGroup.representation.
Option step which allows to specify AssertionGroup.description and AssertionGroup.representation.
Option step which allows to specify AssertionGroup.assertions.
Final step which creates an AssertionGroup with the previously defined groupType, description, representation and assertions.
Type alias which can be used if only the AssertionGroupType is parameterised and the next step is an AssertionsOption which in turn has the BasicAssertionGroupFinalStep as final step.
Defines the contract to build a DescriptiveAssertion.
Defines the contract to build a DescriptiveAssertion like assertion with an additional hint which might be shown if the Descriptive.DescriptionOption.test fails.
Defines the contract to build an ExplanatoryAssertion.
Defines the contract to build an AssertionGroup with an ExplanatoryAssertionGroupType.
Defines the contract to build an AssertionGroup which has a fixed AssertionGroup.holds.
Defines the contract to build an AssertionGroup which has a fixed AssertionGroup.holds or the like.
Defines the contract to build an AssertionGroup whose AssertionGroup.holds is a logic AND operation composed by a fixed part and its AssertionGroup.assertions.
Defines the contract to build an RepresentationOnlyAssertion.
Contract for sub option steps which are based on a defined or absent subject of the expectation.
Properties
Returns the AssertionBuilder.
Builder to create an AssertionGroup whose AssertionGroup.holds is fixed (not determined based on its AssertionGroup.assertions).
Builder to create an AssertionGroup with an InvisibleAssertionGroupType -- use it only if you have several independent Assertions which should be evaluated together.
Builder to create an AssertionGroup whose AssertionGroup.holds is a logic AND operation composed by a fixed part and its AssertionGroup.assertions.
Builder to create the root AssertionGroup -- do not use it in assertion functions; this group should only be created by RootExpects.
Functions
Creates an Assertion which warns the user about a bug in Atrium.
Defines that an ExplanatoryAssertion will be used as single Assertion in AssertionGroup.assertions where the given translatable is used as ExplanatoryAssertion.explanation.
Defines that an ExplanatoryAssertion will be used as single Assertion in AssertionGroup.assertions where the given representation is used as ExplanatoryAssertion.explanation.
Defines that an ExplanatoryAssertion will be used as single Assertion in AssertionGroup.assertions where one can configure the ExplanatoryAssertion via the given explanationStep.
Defines that an ExplanatoryAssertion will be used as single Assertion in AssertionGroup.assertions where the given translatable -- which is used in an TranslatableWithArgs together with the given arguments (arg and optionally otherArgs) -- is used as ExplanatoryAssertion.explanation.
Option to create a DescriptiveAssertion like assertion with an additional hint which might be shown if the Descriptive.DescriptionOption.test fails.
Option to create a DescriptiveAssertion like assertion with an additional hint which is based on the subject of the expectation and which is only shown if the subject is defined (and optionally based on a given showOnlyIf predicate).
Option to create a DescriptiveAssertion like assertion with an additional hint (which is based on the subject of the expectation) which might be shown if the Descriptive.DescriptionOption.test fails.