mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
AT-3038: drop non-relevant code
GitOrigin-RevId: 91a84ffb0c9f5700fe7ad7dc74e2e68b8431c5d2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
387214181e
commit
e774d3e04c
@@ -266,15 +266,9 @@ open class LambdaTestHost(coroutineScope: CoroutineScope) {
|
||||
LOG.info("'$serializedLambda': received serialized lambda execution request")
|
||||
|
||||
val providedCoroutineContext = Dispatchers.Default + CoroutineName("Lambda task: SerializedLambda:${serializedLambda.stepName}")
|
||||
val requestFocusBeforeStart = false
|
||||
val clientId = providedCoroutineContext.clientId() ?: ClientId.current
|
||||
|
||||
withContext(providedCoroutineContext) {
|
||||
assert(ClientId.current == clientId) { "ClientId '${ClientId.current}' should equal $clientId one when test method starts" }
|
||||
if (!app.isHeadlessEnvironment && (requestFocusBeforeStart ?: isCurrentThreadEdt())) {
|
||||
requestFocus()
|
||||
}
|
||||
|
||||
assert(ClientId.current == clientId) { "ClientId '${ClientId.current}' should equal $clientId one when after request focus" }
|
||||
|
||||
val urls = serializedLambda.classPath.map { File(it).toURI().toURL() }
|
||||
|
||||
Reference in New Issue
Block a user