mirai/mirai-console/backend/integration-test/testers
ArgonarioD 4f0f733f4d
修复JvmPlugin无法通过自己的classLoader以getResource的方法获取全局依赖的class文件 (#2536)
* [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
2023-03-12 22:37:47 +08:00
..
MCITSelfTestPlugin Plugin dependencies automatic download system 2022-02-21 21:20:35 +08:00
mirai-plugin-compatibility improve console it project structs 2022-06-22 17:14:21 +08:00
never-override-jdk-modules Hard linking jdk builtin modules; fix #2141; fix #2126 2022-07-08 13:08:34 +08:00
plugin-dep-dependon-dep-issue-2054 Fix private dependencies resolving; fix #2108 2022-06-22 17:43:09 +08:00
plugin-depend-on-other Resources & ServiceLoader resolving 2022-03-30 08:48:41 +08:00
plugin-dynamic-dependencies-download Using PlatformClassLoader to resolve java.*; fix #2009 2022-05-04 16:36:13 +08:00
plugin-resolve-self-dependencies-over-console-ones Rename Access to Classpath 2022-05-24 17:00:30 +08:00
plugin-use-console-deps-fallback Upgrade to Ktor 2.0.2, use CIO engine for linux targets; Remove ktor-client-okhttp from mirai-core-api jvmBaseMain 2022-07-20 00:30:16 +08:00
service-loader 修复JvmPlugin无法通过自己的classLoader以getResource的方法获取全局依赖的class文件 (#2536) 2023-03-12 22:37:47 +08:00
.gitignore [CONSOLE] Integration Test (#1741) 2021-12-18 22:59:43 +08:00
README.md [CONSOLE] Integration Test (#1741) 2021-12-18 22:59:43 +08:00
tester.template.gradle.kts Nested modules in console integration test 2022-03-30 08:48:28 +08:00

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