Everything involved in reporting Assertions.
interface AssertionFormatter
Represents a formatter for Assertions and AssertionGroups. |
|
interface AssertionFormatterController
Responsible to control the flow of reporting using registered AssertionFormatters. |
|
interface AssertionFormatterFacade
Responsible to call an appropriate AssertionFormatter which supports formating a given Assertion. |
|
class AssertionFormatterParameterObject
A parameter object used for interactions between AssertionFormatterController and AssertionFormatter. |
|
interface AssertionPairFormatter
Represents a formatter of assertion pairs -- which consists of a Translatable and a representation. |
|
expect interface AtriumErrorAdjuster : AtriumErrorAdjusterCommon
Responsible to adjust a given Throwable (usually an AtriumError) for improved error reporting. |
|
interface AtriumErrorAdjusterCommon
Defines the general contract for AtriumError adjusters which all platforms have to fulfil. |
|
class LazyRepresentation
A representation which shall be evaluated lazily during reporting. |
|
interface MethodCallFormatter
Responsible to format a method call in reporting. |
|
interface ObjectFormatter
Represents a formatter for objects. |
|
interface RawString
Marker interface for types which provide a raw string functionality and should be treated accordingly in reporting (e.g., in ObjectFormatter). |
|
interface Reporter
Represents a reporter which reports about Assertions. |
|
class
The deprecated builder to create a Reporter consisting of several components. |
|
interface ReporterFactory
Responsible to create a Reporter. |
|
data class StringBasedRawString : RawString
Use this class to represent a String which should be treated as raw String in reporting. |
expect class AtriumError : AssertionError
Indicates that an assertion made by Atrium failed. |
const val BUG_REPORT_URL: String
Refers to the bug tracker of Atrium. |
|
val reporter: Reporter
The access point to an implementation of Reporter. |
|
const val SHOULD_NOT_BE_SHOWN_TO_THE_USER_BUG: String
Can be used in places where an argument for reporting is expected which should never be shown to the user. |
|
val SHOULD_NOT_BE_SHOWN_TO_THE_USER_BUG_TRANSLATABLE: Untranslatable
Can be used in places where an argument of type Translatable is expected which should never be shown to the user. |