doc / ch.tutteli.atrium.spec.assertions

Package ch.tutteli.atrium.spec.assertions

Specifications for assertion function APIs (usually placed in an API module -- e.g. ch.tutteli.atrium.api.cc.de_CH).

Types

AnyAssertionsSpec

abstract class AnyAssertionsSpec

BooleanAssertionsSpec

abstract class BooleanAssertionsSpec

CharSequenceAssertionsSpec

abstract class CharSequenceAssertionsSpec : CharSequenceContainsSpecBase

CharSequenceContainsAtLeastAssertionSpec

abstract class CharSequenceContainsAtLeastAssertionSpec : CharSequenceContainsSpecBase

CharSequenceContainsAtMostAssertionSpec

abstract class CharSequenceContainsAtMostAssertionSpec : CharSequenceContainsSpecBase

CharSequenceContainsContainsNotAssertionSpec

abstract class CharSequenceContainsContainsNotAssertionSpec : CharSequenceContainsSpecBase

CharSequenceContainsExactlyAssertionSpec

abstract class CharSequenceContainsExactlyAssertionSpec : CharSequenceContainsSpecBase

CharSequenceContainsNotOrAtMostAssertionSpec

abstract class CharSequenceContainsNotOrAtMostAssertionSpec : CharSequenceContainsSpecBase

CharSequenceContainsRegexAssertionSpec

abstract class CharSequenceContainsRegexAssertionSpec

CharSequenceContainsSpecBase

abstract class CharSequenceContainsSpecBase

CheckingAssertionSpec

abstract class CheckingAssertionSpec<T : Any>

CollectionAssertionsSpec

abstract class CollectionAssertionsSpec

FeatureAssertionsSpec

abstract class FeatureAssertionsSpec

IterableContainsContainsNotAssertionSpec

abstract class IterableContainsContainsNotAssertionSpec : IterableContainsSpecBase

IterableContainsEntriesSpecBase

abstract class IterableContainsEntriesSpecBase : IterableContainsSpecBase

IterableContainsInAnyOrderAtLeastObjectsAssertionSpec

abstract class IterableContainsInAnyOrderAtLeastObjectsAssertionSpec : IterableContainsSpecBase

IterableContainsInAnyOrderAtMostObjectsAssertionSpec

abstract class IterableContainsInAnyOrderAtMostObjectsAssertionSpec : IterableContainsSpecBase

IterableContainsInAnyOrderEntriesSpec

abstract class IterableContainsInAnyOrderEntriesSpec : IterableContainsEntriesSpecBase

IterableContainsInAnyOrderExactlyObjectsAssertionSpec

abstract class IterableContainsInAnyOrderExactlyObjectsAssertionSpec : IterableContainsSpecBase

IterableContainsInAnyOrderNotOrAtMostObjectsAssertionSpec

abstract class IterableContainsInAnyOrderNotOrAtMostObjectsAssertionSpec : IterableContainsSpecBase

IterableContainsInAnyOrderOnlyEntriesSpec

abstract class IterableContainsInAnyOrderOnlyEntriesSpec : IterableContainsEntriesSpecBase

IterableContainsInAnyOrderOnlyObjectsSpec

abstract class IterableContainsInAnyOrderOnlyObjectsSpec : IterableContainsSpecBase

IterableContainsInOrderOnlyEntriesSpec

abstract class IterableContainsInOrderOnlyEntriesSpec : IterableContainsEntriesSpecBase

IterableContainsInOrderOnlyObjectsSpec

abstract class IterableContainsInOrderOnlyObjectsSpec : IterableContainsSpecBase

IterableContainsNullSpec

abstract class IterableContainsNullSpec : IterableContainsSpecBase

IterableContainsSpecBase

abstract class IterableContainsSpecBase

NarrowingAssertionsSpec

abstract class NarrowingAssertionsSpec

NumberAssertionsSpec

abstract class NumberAssertionsSpec

SubjectLessAssertionSpec

abstract class SubjectLessAssertionSpec<T : Any>

TestData

data class TestData

ThrowableAssertionsSpec

abstract class ThrowableAssertionsSpec

Functions

checkingTriple

fun <T : Any> checkingTriple(name: String, createAssertion: IAssertionPlant<T>.() -> Unit, holdingSubject: T, failingSubject: T): <ERROR CLASS>

mapToCreateAssertion

fun <T : Any> mapToCreateAssertion(createAssertion: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T>.() -> Unit

Helper function to map an arbitrary IAssertionPlant<T>.(...) -> Unit function to a parameter-less one.