kotest-assertions-core / io.kotest.matchers.concurrent

Package io.kotest.matchers.concurrent

Extensions for External Classes

java.lang.Thread

Functions

beAlive

fun beAlive(): Matcher<Thread>

beBlocked

fun beBlocked(): Matcher<Thread>

beDaemon

fun beDaemon(): Matcher<Thread>

beTerminated

fun beTerminated(): Matcher<Thread>

shouldCompleteWithin

fun <A> shouldCompleteWithin(timeout: Long, unit: TimeUnit, thunk: () -> A): Unit

shouldTimeout

fun <A> shouldTimeout(timeout: Long, unit: TimeUnit, thunk: () -> A): Unit