Commit Graph

12 Commits

Author SHA1 Message Date
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
Karlatemp
e25e604c79
Copy modules as maven module 2022-05-24 17:30:58 +08:00
Karlatemp
72d248f1e6
Fix DynLibClassLoader class resolving logic 2022-05-23 18:26:33 +08:00
Him188
0da75d31b9 Fix readStringListFromEnv when no env specified 2022-05-08 09:48:10 +01:00
Karlatemp
8250c3da65
Using PlatformClassLoader to resolve java.*; fix #2009 2022-05-04 16:36:13 +08:00
Him188
556c805448 console IT: Do not delete entire test sandbox, keep libraries 2022-04-24 16:15:17 +01:00
Him188
4acd74974a Migrate deprecated usages and cleanup code 2022-04-13 13:08:14 +01:00
Karlatemp
884e7a3ee4
Nested modules in console integration test 2022-03-30 08:48:28 +08:00
Karlatemp
6f24035154
Update mirai-console.integration-test 2022-01-15 19:17:04 +08:00
Him188
ecc4425463 Move KClass.createInstance to mirai-core-utils and optimize TestPointPluginImpl.<init> 2021-12-23 01:37:11 +00:00
Karlatemp
dda61f5a5d
Fix exception catch 2021-12-19 00:45:13 +08:00
微莹·纤绫
8d6b4b4970
[CONSOLE] Integration Test (#1741)
* [CONSOLE] Realtime Test Unit

* Rename to IntegrationTest; IDEA Debugging support

* External Plugins support

* Simply redesign
2021-12-18 22:59:43 +08:00