atrium-api-fluent-en_GB-jvm / ch.tutteli.atrium.api.fluent.en_GB / asList

asList

fun <E> <ERROR CLASS><out Array<out E>>.asList(): <ERROR CLASS><List<E>> (source)

Turns Expect<Array<E>> into Expect<List<E>>.

The transformation as such is not reflected in reporting. Use feature(Array<out E>::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

fun <E> <ERROR CLASS><Array<E>>.asList(assertionCreator: <ERROR CLASS><List<E>>.() -> Unit): <ERROR CLASS><Array<E>> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(Array<out E>::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("byteArrAsList") fun <ERROR CLASS><ByteArray>.asList(): <ERROR CLASS><List<Byte>> (source)

Turns Expect<CharArray> into Expect<List<Byte>>.

The transformation as such is not reflected in reporting. Use feature(ByteArray::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("byteArrAsList") fun <ERROR CLASS><ByteArray>.asList(assertionCreator: <ERROR CLASS><List<Byte>>.() -> Unit): <ERROR CLASS><ByteArray> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(ByteArray::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("charArrAsList") fun <ERROR CLASS><CharArray>.asList(): <ERROR CLASS><List<Char>> (source)

Turns Expect<CharArray> into Expect<List<Char>>.

The transformation as such is not reflected in reporting. Use feature(CharArray::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("charArrAsList") fun <ERROR CLASS><CharArray>.asList(assertionCreator: <ERROR CLASS><List<Char>>.() -> Unit): <ERROR CLASS><CharArray> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(CharArray::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("shortArrAsList") fun <ERROR CLASS><ShortArray>.asList(): <ERROR CLASS><List<Short>> (source)

Turns Expect<ShortArray> into Expect<List<Short>>.

The transformation as such is not reflected in reporting. Use feature(ShortArray::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("shortArrAsList") fun <ERROR CLASS><ShortArray>.asList(assertionCreator: <ERROR CLASS><List<Short>>.() -> Unit): <ERROR CLASS><ShortArray> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(ShortArray::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("intArrAsList") fun <ERROR CLASS><IntArray>.asList(): <ERROR CLASS><List<Int>> (source)

Turns Expect<IntArray> into Expect<List<Int>>.

The transformation as such is not reflected in reporting. Use feature(IntArray::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("intArrAsList") fun <ERROR CLASS><IntArray>.asList(assertionCreator: <ERROR CLASS><List<Int>>.() -> Unit): <ERROR CLASS><IntArray> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(IntArray::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("longArrAsList") fun <ERROR CLASS><LongArray>.asList(): <ERROR CLASS><List<Long>> (source)

Turns Expect<LongArray> into Expect<List<Double>>.

The transformation as such is not reflected in reporting. Use feature(LongArray::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("longArrAsList") fun <ERROR CLASS><LongArray>.asList(assertionCreator: <ERROR CLASS><List<Long>>.() -> Unit): <ERROR CLASS><LongArray> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(LongArray::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("floatArrAsList") fun <ERROR CLASS><FloatArray>.asList(): <ERROR CLASS><List<Float>> (source)

Turns Expect<FloatArray> into Expect<List<Float>>.

The transformation as such is not reflected in reporting. Use feature(FloatArray::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("floatArrAsList") fun <ERROR CLASS><FloatArray>.asList(assertionCreator: <ERROR CLASS><List<Float>>.() -> Unit): <ERROR CLASS><FloatArray> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(FloatArray::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("doubleArrAsList") fun <ERROR CLASS><DoubleArray>.asList(): <ERROR CLASS><List<Double>> (source)

Turns Expect<DoubleArray> into Expect<List<Double>>.

The transformation as such is not reflected in reporting. Use feature(DoubleArray::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("doubleArrAsList") fun <ERROR CLASS><DoubleArray>.asList(assertionCreator: <ERROR CLASS><List<Double>>.() -> Unit): <ERROR CLASS><DoubleArray> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(DoubleArray::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("boolArrAsList") fun <ERROR CLASS><BooleanArray>.asList(): <ERROR CLASS><List<Boolean>> (source)

Turns Expect<BooleanArray> into Expect<List<Boolean>>.

The transformation as such is not reflected in reporting. Use feature(BooleanArray::asList) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0

@JvmName("boolArrAsList") fun <ERROR CLASS><BooleanArray>.asList(assertionCreator: <ERROR CLASS><List<Boolean>>.() -> Unit): <ERROR CLASS><BooleanArray> (source)

Expects that the subject of the assertion holds all assertions the given assertionCreator creates for the subject as List.

The transformation as such is not reflected in reporting. Use feature(BooleanArray::asList, assertionCreator) if you want to show the transformation in reporting.

Return
The newly created Expect for the transformed subject.

Since
0.9.0