From 4643e7331a56908da46d44cd2a356d8a3efc05c7 Mon Sep 17 00:00:00 2001 From: Anastasia Katsman Date: Thu, 12 Dec 2024 14:59:50 +0100 Subject: [PATCH] [rdct-tests] more consistent naming # Conflicts: # community/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/DistributedTestHost.kt GitOrigin-RevId: a5b024a7a7389b882ecc03344733b19b4434c2be --- .../com/intellij/remoteDev/tests/impl/DistributedTestHost.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/DistributedTestHost.kt b/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/DistributedTestHost.kt index 018f5818579b..470fca3a3522 100644 --- a/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/DistributedTestHost.kt +++ b/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/DistributedTestHost.kt @@ -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