Contains all the assertion interfaces (e.g. AnyAssertions as well as _logic and helper functions for AssertionContainer
interface AnyAssertions
Collection of assertion functions and builders which are applicable to any type (sometimes |
|
interface BigDecimalAssertions
Collection of assertion functions and builders which are applicable to subjects with a BigDecimal type. |
|
interface CharSequenceAssertions
Collection of assertion functions and builders which are applicable to subjects with a CharSequence type. |
|
interface ChronoLocalDateAssertions
Collection of assertion functions and builders which are applicable to subjects with a ChronoLocalDate type. |
|
interface ChronoLocalDateTimeAssertions
Collection of assertion functions and builders which are applicable to subjects with a ChronoLocalDateTime type. |
|
interface ChronoZonedDateTimeAssertions
Collection of assertion functions and builders which are applicable to subjects with a ChronoZonedDateTime type. |
|
interface CollectionAssertions
Collection of assertion functions and builders which are applicable to subjects with a Collection type. |
|
interface ComparableAssertions
Collection of assertion functions and builders which are applicable to subjects with a Comparable type. |
|
interface FeatureAssertions
Collection of functions which help to create feature assertions by returning ExtractedFeaturePostStep. |
|
interface FloatingPointAssertions
Collection of assertion functions and builders which are applicable to subjects with a floating point number like type (currently Float and Double). |
|
interface FloatingPointJvmAssertions
Collection of assertion functions and builders which are applicable to floating point number like types which are specific to the JVM platform (currently only for BigDecimal). |
|
interface Fun0Assertions
Collection of assertion functions and builders which are applicable to subjects with a kotlin.Function0 type. |
|
interface IterableLikeAssertions
Collection of assertion functions and builders which are applicable to subjects which can be transformed to an Iterable - intended for types which are Iterable like such as Array or Sequence. |
|
interface IteratorAssertions
Collection of assertion functions and builders which are applicable to subjects with an Iterator type. |
|
interface ListAssertions
Collection of assertion functions and builders which are applicable to subjects with a List type. |
|
interface LocalDateAssertions
Collection of assertion functions and builders which are applicable to subjects with a LocalDate type. |
|
interface LocalDateTimeAssertions
Collection of assertion functions and builders which are applicable to subjects with a LocalDateTime type. |
|
interface MapAssertions
Collection of assertion functions and builders which are applicable to subjects with a Map type. |
|
interface MapEntryAssertions
Collection of assertion functions and builders which are applicable to subjects with a Map.Entry type. |
|
interface OptionalAssertions
Collection of assertion functions and builders which are applicable to subjects with an Optional type. |
|
interface PairAssertions
Collection of assertion functions and builders which are applicable to subjects with a Pair type. |
|
interface PathAssertions
Collection of assertion functions and builders which are applicable to subjects with a Path type. |
|
interface ThrowableAssertions
Collection of assertion functions and builders which are applicable to subjects with a Throwable type. |
|
interface ZonedDateTimeAssertions
Collection of assertion functions and builders which are applicable to subjects with a ZonedDateTime type. |
val <T> Expect<T>._logic: AssertionContainer<T>
Entry point to the logic of Atrium which is a level deeper than the API and does not return new Expect but Assertions and the like. |
|
val <T> AssertionContainer<T>.changeSubject: SubjectChangerBuilder.KindStep<T>
Entry point to use the SubjectChangerBuilder based on this AssertionContainer. |
|
val <T> AssertionContainer<T>.extractFeature: FeatureExtractorBuilder.DescriptionStep<T>
Entry point to use the FeatureExtractorBuilder based on this AssertionContainer. |
fun <T> Expect<T>._logicAppend(factory: AssertionContainer<T>.() -> Assertion): Expect<T>
Appends the Assertion the given factory creates based on this Expect. |
|
fun <T> AssertionContainer<T>.collect(assertionCreator: Expect<T>.() -> Unit): Assertion
Use this function if you want to make Assertions about a feature or you perform a type transformation or any other action which results in an assertion container being created and you do not require this resulting container. |
|
fun <T> collectForComposition(maybeSubject: Option<T>, assertionCreator: Expect<T>.() -> Unit): List<Assertion>
Use this function if you want to collect Assertions and use it as part of an AssertionGroup. |
|
fun <T> AssertionContainer<T>.createDescriptiveAssertion(description: Translatable, representation: Any?, test: (T) -> Boolean): Assertion
Creates a DescriptiveAssertion based on the given description, representation and test. |
|
fun <T> Expect<T>.toAssertionContainer(): AssertionContainer<T>
Casts this Expect to an AssertionContainer so that you have access to the functionality provided on the logic level. |
|
fun <T> AssertionContainer<T>.toExpect(): Expect<T>
Casts this AssertionContainer back to an Expect so that you can use it in places where an Expect is used. |