Package-level declarations

Types

Link copied to clipboard
sealed interface VarArgMatcher : ArgMatcher<Any?>

Wildcard vararg matcher that checks a subset of varargs. It can occur only once. To provide your own implementation use Base.

Functions

Link copied to clipboard

Matches any sequence of varargs.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ArgMatchersScope.varargsAll(noinline predicate: (T) -> Boolean): Array<T>

Matches a sequence of varargs with all elements satisfying the given predicate.

Link copied to clipboard
inline fun <T> ArgMatchersScope.varargsAny(noinline predicate: (T) -> Boolean): Array<T>

Matches a sequence of varargs with any element satisfying the given predicate.

Link copied to clipboard
inline fun ArgMatchersScope.varargsBooleanAll(noinline predicate: (Boolean) -> Boolean): BooleanArray
Link copied to clipboard
inline fun ArgMatchersScope.varargsBooleanAny(noinline predicate: (Boolean) -> Boolean): BooleanArray
Link copied to clipboard
inline fun ArgMatchersScope.varargsByteAll(noinline predicate: (Byte) -> Boolean): ByteArray

varargsAll variant for ByteArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsByteAny(noinline predicate: (Byte) -> Boolean): ByteArray

varargsAny variant for ByteArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsCharAll(noinline predicate: (Short) -> Boolean): CharArray

varargsAll variant for CharArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsCharAny(noinline predicate: (Short) -> Boolean): CharArray

varargsAny variant for CharArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsDoubleAll(noinline predicate: (Double) -> Boolean): DoubleArray

varargsAll variant for DoubleArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsDoubleAny(noinline predicate: (Double) -> Boolean): DoubleArray

varargsAny variant for DoubleArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsFloatAll(noinline predicate: (Float) -> Boolean): FloatArray

varargsAll variant for FloatArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsFloatAny(noinline predicate: (Float) -> Boolean): FloatArray

varargsAny variant for FloatArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsIntAll(noinline predicate: (Int) -> Boolean): IntArray

varargsAll variant for IntArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsIntAny(noinline predicate: (Int) -> Boolean): IntArray

varargsAny variant for IntArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsLongAll(noinline predicate: (Long) -> Boolean): LongArray

varargsAll variant for LongArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsLongAny(noinline predicate: (Long) -> Boolean): LongArray

varargsAny variant for LongArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsShortAll(noinline predicate: (Short) -> Boolean): ShortArray

varargsAll variant for ShortArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsShortAny(noinline predicate: (Short) -> Boolean): ShortArray

varargsAny variant for ShortArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsUByteAll(noinline predicate: (UByte) -> Boolean): UByteArray

varargsAll variant for UByteArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsUByteAny(noinline predicate: (UByte) -> Boolean): UByteArray

varargsAny variant for UByteArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsUIntAll(noinline predicate: (UInt) -> Boolean): IntArray

varargsAll variant for UIntArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsUIntAny(noinline predicate: (UInt) -> Boolean): IntArray

varargsAny variant for UIntArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsULongAll(noinline predicate: (ULong) -> Boolean): ULongArray

varargsAll variant for ULongArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsULongAny(noinline predicate: (ULong) -> Boolean): ULongArray

varargsAny variant for ULongArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsUShortAll(noinline predicate: (UShort) -> Boolean): UShortArray

varargsAll variant for UShortArray.

Link copied to clipboard
inline fun ArgMatchersScope.varargsUShortAny(noinline predicate: (UShort) -> Boolean): UShortArray

varargsAny variant for UShortArray.