mirai/mirai-console/backend/integration-test/src
Eritque arcus 4408750847
mark plugin disabled when it throw exception during enable process (#2022)
* Fix bootstrap when no env specified

* add PluginWithExceptionTest

* Add exceptedExceptionMessage in MCIT(Throwable or Exception may not work?)

* Using red color show disabled plugins in /status command

* Catch exception during enable process

* Count plugins without disabled plugins

* Revert "Fix bootstrap when no env specified"

This reverts commit ff9bb180fd6687c5da27b8a38da2658a1b26ad93.

* format

* format

* halt plugin enable process when mirai failed to enable it dependencies.

* Update mirai-console/backend/mirai-console/src/internal/plugin/PluginManagerImpl.kt hint

Co-authored-by: Him188 <Him188@mamoe.net>

* rename tmp to dependsOn

* Revert changes of PluginManagerImpl

* Plugin callback executions assertions

* Improve & Fix Logic

* Fix PluginDependOnErrorPlugin

* Update err msg

* move dependencies check from JvmPluginInternal.kt to BuiltInJvmPluginLoaderImpl.kt

* typo

* don't throw err caused by dependencies fail

Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Karlatemp <kar@kasukusakura.com>
2022-06-13 19:45:39 +01:00
..
AbstractTestPoint.kt [CONSOLE] Integration Test (#1741) 2021-12-18 22:59:43 +08:00
AbstractTestPointAsPlugin.kt mark plugin disabled when it throw exception during enable process (#2022) 2022-06-13 19:45:39 +01:00
IntegrationTestBootstrap.kt mark plugin disabled when it throw exception during enable process (#2022) 2022-06-13 19:45:39 +01:00
MiraiConsoleIntegrationTestLauncher.kt console IT: Do not delete entire test sandbox, keep libraries 2022-04-24 16:15:17 +01:00
utils.kt mark plugin disabled when it throw exception during enable process (#2022) 2022-06-13 19:45:39 +01:00