java.lang.Thread |
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 |