ThreadTestingUtils

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Fail with RuntimeException instead of InterruptedException if that happens.
Link copied to clipboard
Ignore the InterruptedException if that happens, instead of throwing.
Link copied to clipboard
open fun runOnBackgroundThread(latch: TimeOutSemaphore, runnable: Runnable)
Runs a given runnable on a background thread