• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3  */
4 
5 /*
6  * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
7  */
8 package kotlinx.coroutines
9 
10 import kotlinx.coroutines.internal.*
11 
runMtTestnull12 actual fun TestBase.runMtTest(
13     expected: ((Throwable) -> Boolean)?,
14     unhandled: List<(Throwable) -> Boolean>,
15     block: suspend CoroutineScope.() -> Unit
16 ) {
17     if (!multithreadingSupported) return
18     return runTest(expected, unhandled, block)
19 }
20