Home
last modified time | relevance | path

Searched refs:jobToJoin (Results 1 – 3 of 3) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DAtomicCancellationCommonTest.kt97 val jobToJoin = launch { // not yet complete in testJobJoinCancellable() constant
100 assertEquals(false, jobToJoin.isCompleted) in testJobJoinCancellable()
104 assertEquals(true, jobToJoin.isCompleted) in testJobJoinCancellable()
110 jobToJoin.join() // suspends in testJobJoinCancellable()
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/
DAtomicCancellationTest.kt121 val jobToJoin = launch { // not yet complete in <lambda>() constant
124 assertEquals(false, jobToJoin.isCompleted) in <lambda>()
128 assertEquals(true, jobToJoin.isCompleted) in <lambda>()
135 jobToJoin.onJoin { expectUnreached() } in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/
DThreadSafeHeapStressTest.kt44 val jobToJoin = launch(Dispatchers.Default) { in <lambda>() constant
63 jobToJoin.join() in <lambda>()