mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[rdct-tests] more consistent naming
# Conflicts: # community/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/DistributedTestHost.kt GitOrigin-RevId: a5b024a7a7389b882ecc03344733b19b4434c2be
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8f8b2ae2d3
commit
4643e7331a
+2
-3
@@ -168,7 +168,7 @@ open class DistributedTestHost(coroutineScope: CoroutineScope) {
|
||||
|
||||
// Tell test we are running it inside an agent
|
||||
val agentInfo = AgentInfo(session.agentInfo, session.testClassName, session.testMethodName)
|
||||
val (actionsMap, dimensionRequests) = testClassObject.initAgent(agentInfo)
|
||||
val (actionsMap, getComponentDataRequests) = testClassObject.initAgent(agentInfo)
|
||||
|
||||
// Play test method
|
||||
val testMethod = testClass.getMethod(session.testMethodName)
|
||||
@@ -234,8 +234,7 @@ open class DistributedTestHost(coroutineScope: CoroutineScope) {
|
||||
|
||||
session.runNextActionGetComponentData.setSuspendPreserveClientId { _, parameters ->
|
||||
val actionTitle = parameters.title
|
||||
val queue = dimensionRequests[actionTitle]
|
||||
?: error("There is no Action with name '$actionTitle', something went terribly wrong")
|
||||
val queue = getComponentDataRequests[actionTitle] ?: error("There is no Action with name '$actionTitle', something went terribly wrong")
|
||||
val action = queue.remove()
|
||||
val timeout = action.timeout
|
||||
|
||||
|
||||
Reference in New Issue
Block a user