mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 09:50:16 +08:00
4f0f733f4d
* [console] Fixed classLoaders of JvmPlugin cannot getResource(classes of global dependencies), fix #2535 * [core/utils/jvm] new fun: addAll(Enumeration) * [console] modify DynLibClassLoader.tryFastOrStrictResolveResource to tryFastOrStrictResolveResources * [console] remove allClassesAsResources field * [console] add var to control whether class files of mirai dependencies could be load as resources * [console/integration-test] modify loader test * [console] dump new apis * [console] rename JvmPluginClasspath.openMiraiDependenciesClassResource and standardize its KDoc * [console] modify the KDoc of JvmPluginClasspath.shouldResolveConsoleSystemResource * [console/integration-test] improve resources loading test cases * [console/integration-test] modify assert to assertTrue |
||
---|---|---|
.. | ||
MCITSelfTestPlugin | ||
mirai-plugin-compatibility | ||
never-override-jdk-modules | ||
plugin-dep-dependon-dep-issue-2054 | ||
plugin-depend-on-other | ||
plugin-dynamic-dependencies-download | ||
plugin-resolve-self-dependencies-over-console-ones | ||
plugin-use-console-deps-fallback | ||
service-loader | ||
.gitignore | ||
README.md | ||
tester.template.gradle.kts |
Integration Test - Sub Testers
Integration Test 的测试插件, 放置在本文件夹内的全部插件均为 console 内部测试用插件
如果您不是正在修改 mirai-console, 则不需要阅读此文件及此模块
创建新测试插件只需要在本文件夹创建新的目录, 然后重载 (Reimport gradle projects)
如果需要添加新的依赖, 请在 IntegrationTest/build.gradle.kts
添加相关依赖 (使用 testApi
) 并标注哪个测试框架使用此依赖, 为何使用此依赖
如果需要自定义 build.gradle.kts
, 请在 IDEA 右键 build.gradle.kts
并选择 Git > Add File