Home
last modified time | relevance | path

Searched refs:testTimeoutMs (Results 1 – 2 of 2) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/junit4/
DCoroutinesTimeout.kt39 private val testTimeoutMs: Long, constant in kotlinx.coroutines.debug.junit4.CoroutinesTimeout
45 public constructor(testTimeoutMs: Long, cancelOnTimeout: Boolean = false) : this(
46 testTimeoutMs,
52 require(testTimeoutMs > 0) { "Expected positive test timeout, but had $testTimeoutMs" } in <lambda>()
94 CoroutinesTimeoutStatement(base, description, testTimeoutMs, cancelOnTimeout)
DCoroutinesTimeoutStatement.kt15 private val testTimeoutMs: Long, constant
37 testResult.get(testTimeoutMs, TimeUnit.MILLISECONDS) in evaluate()
50 if (testTimeoutMs % 1000 == 0L) in handleTimeout()
52 else "$testTimeoutMs milliseconds" in handleTimeout()
82 val exception = TestTimedOutException(testTimeoutMs, TimeUnit.MILLISECONDS) in createTimeoutException()