kotest-assertions-core / io.kotest.matchers.concurrent / java.lang.Thread

Extensions for java.lang.Thread

shouldBeAlive

fun Thread.shouldBeAlive(): Unit

shouldBeBlocked

fun Thread.shouldBeBlocked(): Unit

shouldBeDaemon

fun Thread.shouldBeDaemon(): Unit

shouldBeTerminated

fun Thread.shouldBeTerminated(): Unit

shouldNotBeAlive

fun Thread.shouldNotBeAlive(): Unit

shouldNotBeBlocked

fun Thread.shouldNotBeBlocked(): Unit

shouldNotBeDaemon

fun Thread.shouldNotBeDaemon(): Unit

shouldNotBeTerminated

fun Thread.shouldNotBeTerminated(): Unit