mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[rdct-tests]: rename shutdown -> closeProjectAndExitApp && shutdown -> exitApp
- comment about the fact it also closes the project GitOrigin-RevId: c6cd02e81403feef3d9422fca27d3bf283ed288c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9d2c0d7e81
commit
b7fea7d2ed
+5
-3
@@ -211,10 +211,12 @@ open class DistributedTestHost(coroutineScope: CoroutineScope) {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
session.shutdown.adviseOn(lifetime, Dispatchers.Default.asRdScheduler) {
|
||||
/**
|
||||
* Includes closing the project
|
||||
*/
|
||||
session.exitApp.adviseOn(lifetime, Dispatchers.Default.asRdScheduler) {
|
||||
lifetime.launch(Dispatchers.EDT + ModalityState.any().asContextElement() + NonCancellable) {
|
||||
LOG.info("Shutting down the application...")
|
||||
LOG.info("Exiting the application...")
|
||||
app.exit(true, true, false)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ object DistributedTestModel : Ext(TestRoot) {
|
||||
field("debugCategories", immutableList(string))
|
||||
property("ready", bool.nullable)
|
||||
signal("sendException", RdTestSessionException).async
|
||||
signal("shutdown", void).async
|
||||
signal("exitApp", void).async
|
||||
signal("showNotification", string)
|
||||
call("closeProject", void, bool).async
|
||||
call("closeProjectIfOpened", void, bool).async
|
||||
|
||||
Reference in New Issue
Block a user