Everything involved in creating Assertion.
object AssertionCollector |
|
interface AssertionPlant<out T : Any> : BaseAssertionPlant<T, AssertionPlant<T>>
Represents a plant for Assertions based on a non nullable subject. |
|
interface AssertionPlantNullable<out T> : BaseAssertionPlant<T, AssertionPlantNullable<T>>
Represents an assertion plant for nullable types. |
|
interface AssertionPlantWithCommonFields<out T>
An assertion plant which has CommonFields. |
|
interface BaseAssertionPlant<out T, out A : BaseAssertionPlant<T, A>>
Represents a plant for Assertions and offers methods to addAssertions to this plant. |
|
interface BaseReportingAssertionPlant<out T, out A : BaseAssertionPlant<T, A>> : BaseAssertionPlant<T, A>, AssertionPlantWithCommonFields<T> |
|
interface CheckingAssertionPlant<out T : Any> : AssertionPlant<T>
Represents a plant for Assertions and offers the possibility to check whether allAssertionsHold which have been added to this plant (since the last check). |
|
interface CollectingAssertionPlant<out T : Any> : AssertionPlant<T>
Represents an AssertionPlant which is intended to serve as receiver object for lambdas which create Assertions, in which this assertion plant collects the so created assertions. |
|
interface ReportingAssertionPlant<out T : Any> : AssertionPlant<T>, BaseReportingAssertionPlant<T, AssertionPlant<T>>
Represents a plant for Assertions and offers the possibility to check all the added assertions which includes error reporting. |
|
interface ReportingAssertionPlantNullable<out T> : AssertionPlantNullable<T>, BaseReportingAssertionPlant<T, AssertionPlantNullable<T>> |
class PlantHasNoSubjectException : RuntimeException
Represents the Exception that an AssertionPlant.subject was not defined but one tried to access it. |
typealias Assert<T> = AssertionPlant<T> |