Package-level declarations

Contains (default) implementations for the interfaces defined in ch.tutteli.atrium.logic.creating.iterable.contains.creators.

Types

Link copied to clipboard

Represents a creator of a sophisticated contains assertions for Iterable where an expected entry can appear in any order and is identified by holding a group of assertions, created by an assertion creator lambda.

Link copied to clipboard
abstract class InAnyOrderOnlyAssertionCreator<E, T : IterableLike, in SC>(converter: (T) -> Iterable<E>, searchBehaviour: InAnyOrderOnlySearchBehaviour, reportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit) : IterableLikeContains.Creator<T, SC>

Represents the base class for in any order only assertion creators and provides a corresponding template to fulfill its responsibility.

Link copied to clipboard

Represents a creator of a sophisticated contains assertions for Iterable where exactly the expected entries have to appear in the Iterable but in any order -- an entry is identified by holding a group of assertions created by an assertion creator lambda.

Link copied to clipboard

Represents a creator of a sophisticated contains assertions for Iterable where exactly the expected entries have to appear in the Iterable but in any order -- an entry is identified by an expected object (equality comparison).

Link copied to clipboard

Represents a creator of a sophisticated contains assertions for Iterable where an expected entry can appear in any order and is identified by expected objects (equality comparison).

Link copied to clipboard

Represents the base class for in order only assertion creators and provides a corresponding template to fulfill its responsibility.

Link copied to clipboard
Link copied to clipboard

Represents a creator of a sophisticated contains assertions for Iterable where exactly the expected entries have to appear in the specified order and where an entry is identified by holding a group of assertions, created by an assertion creator lambda.

Link copied to clipboard
class InOrderOnlyGroupedEntriesAssertionCreator<E : Any, T : IterableLike>(converter: (T) -> Iterable<E?>, searchBehaviour: InOrderOnlyGroupedSearchBehaviour, inOrderOnlyReportingOptions: InOrderOnlyReportingOptions.() -> Unit, inAnyOrderOnlyReportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit) : InOrderOnlyGroupedAssertionCreator<E?, T, Expect<E>.() -> Unit?> , InOrderOnlyMatcher<E?, Expect<E>.() -> Unit?>
Link copied to clipboard
class InOrderOnlyGroupedValuesAssertionCreator<E, T : IterableLike>(converter: (T) -> Iterable<E>, searchBehaviour: InOrderOnlyGroupedSearchBehaviour, inOrderOnlyReportingOptions: InOrderOnlyReportingOptions.() -> Unit, inAnyOrderOnlyReportingOptions: InAnyOrderOnlyReportingOptions.() -> Unit) : InOrderOnlyGroupedAssertionCreator<E, T, E> , InOrderOnlyMatcher<E, E>
Link copied to clipboard
interface InOrderOnlyMatcher<E, SC>
Link copied to clipboard

Represents a creator of a sophisticated contains assertions for Iterable where exactly the expected entries have to appear in the specified order and where an entry is identified by an expected object (equality comparison).

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <E, T> turnSubjectToList(container: AssertionContainer<T>, converter: (T) -> Iterable<E>): AssertionContainer<List<E>>