mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
- No additional wait in case of failure the first time. It is always better to set correct timeouts from the start. - Add ActionName utils GitOrigin-RevId: d27f24efdaf82e4ea47b951555c80dcd06228221
24 lines
735 B
Kotlin
24 lines
735 B
Kotlin
package com.intellij.remoteDev.tests
|
|
|
|
import com.intellij.openapi.components.service
|
|
import org.jetbrains.annotations.ApiStatus
|
|
|
|
/**
|
|
* Connects different IDE agents during test session
|
|
*/
|
|
@ApiStatus.Internal
|
|
interface DistributedTestBridge {
|
|
|
|
companion object {
|
|
fun getInstance() : DistributedTestBridge = service()
|
|
}
|
|
|
|
/**
|
|
* This method sends calls into every connected protocol to ensure all events which
|
|
* this process sent into protocol were successfully received on the other side
|
|
* Use this method after a test to preserve correct order of messages
|
|
* in protocol `IDE` <-> `IDE` because test framework works via
|
|
* different protocol `IDE` <-> `Test Process`
|
|
*/
|
|
suspend fun syncProtocolEvents()
|
|
} |