Everything involved in creating Assertions.
interface AssertionContainer<T> : SubjectProvider<T>
Represents the extension point of the logic level for subjects of type T. |
|
interface AssertionHolder
Represents a general interface which merely defines that assertions can be added to this type via the addAssertion method. |
|
interface
Represents a plant for Assertions based on a non nullable subject. |
|
interface
Represents an assertion plant for nullable types. |
|
interface
An assertion plant which has CommonFields. |
|
interface
Represents a plant for Assertions and offers methods to addAssertions to this plant. |
|
interface
Represents a BaseAssertionPlant which is intended to serve as receiver object for lambdas which create Assertions, in which this assertion plant collects the so created assertions. |
|
interface
Represents a plant for Assertions and offers methods to addAssertions to this plant. |
|
interface
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
Represents a container for Assertion which is intended to serve as receiver object for lambdas which create Assertions, in which this Expect collects the assertions created this ways. |
|
interface
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
Represents an AssertionPlantNullable which is intended to serve as receiver object for lambdas which create Assertions, in which this assertion plant collects the so created assertions. |
|
interface CollectingExpect<T> : Expect<T>
Represents a container for Assertion which is intended to serve as receiver object for lambdas which create Assertions, in which this Expect collects the assertions created this way. |
|
interface DelegatingExpect<T> : Expect<T>
Represents an Expect which passes on appended assertions to a given AssertionHolder. |
|
enum class ErrorMessages : StringBasedTranslatable
Contains translations which are used in error like messages. |
|
interface Expect<T> : SubjectProvider<T>
Represents the extension point for Assertion functions and sophisticated builders for subjects of type T. |
|
interface ExpectInternal<T> : Expect<T>, AssertionContainer<T>
Sole purpose of this interface is to hide AssertionContainer from newcomers which usually don't have to deal with this. |
|
interface FeatureExpect<T, R> : Expect<R>
Represents an Expect which results due to a change of the Expect.maybeSubject to a feature of the subject. |
|
data class FeatureExpectOptions<R>
Additional (non-mandatory) options to create a FeatureExpect. |
|
interface FeatureExpectOptionsChooser<R>
Helper lambda to specify FeatureExpectOptions via convenience methods. |
|
sealed class
Represents a subject of an assertion which might be Present or Absent. |
|
interface
Represents a container for Assertions and offers the possibility to addAssertions which are reported in case they do not hold. |
|
interface
Represents a plant for Assertions and offers the possibility to addAssertions and to report them. |
|
interface
Represents an assertion plant for nullable types and offers the possibility to addAssertions and to report them. |
|
interface RootExpect<T> : Expect<T>
Represents the root of an Expect chain, intended as extension point for functionality which should only be available on the root. |
|
data class RootExpectOptions<T>
Additional (non-mandatory) options to create a RootExpect. |
|
interface SubjectProvider<out T> : AssertionHolder
Provides the subject of an Assertion. |
annotation class
DSL Marker for AssertionPlant (and its type alias Assert). |
|
annotation class ExpectMarker
DSL Marker for Expect. |
class
Represents the Exception that an AssertionPlant.subject was not defined but one tried to access it. |
typealias
Type alias for AssertionPlant which should be used in API modules. |
fun <R> FeatureExpectOptions(configuration: FeatureExpectOptionsChooser<R>.() -> Unit): FeatureExpectOptions<R>
Define additional (non-mandatory) options to create a FeatureExpect based on a given FeatureExpectOptionsChooser-lambda. |