mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-24 22:40:11 +08:00
* add: api dump * feat: Member.level * add: api dump * rename: level to rank * feat: rank show * feat: honor flag * fix: honor flag index * feat: record and chart * feat: flag and docs * add: api dump * fix: active * fix: honor * fix: active * fix: rebase * fix: docs * feat: MemberActive * fix: for review * feat: other notification * remove: low level api * add: since and api dump * add: since * for: review * add: event sync * fix: name and docs * fix: api dump * fix: for review * add: ActiveRank, MemberMedal close #2233 * fix: active for review * improve public API for inlined GroupHonorType * Change `@since 2.13.0` to `@since 2.13` * dump api changes * implement mock framework for Active * change `GroupActive.flush` to `GroupActive.refresh` * improve docs for GroupActive * remove unnecessary expect/actual for MemberActive * change property names in GroupInfo * check permission in MockGroupActiveImpl * optimize member names in CommonGroupActiveImpl * fix error checking * dump api Co-authored-by: Him188 <Him188@mamoe.net> |
||
---|---|---|
.. | ||
src | ||
test | ||
build.gradle.kts | ||
README.md |
mirai-core-mock
mirai 模拟环境测试框架
模拟环境目前仅支持 JVM
src 架构
contact
- 与mirai-core-api
架构一致database
- 数据库, 用于存储一些临时的零碎数据resserver
- 资源服务userprofile
- 与UserProfile
相关的一些服务utils
- 工具类
test 架构
<toplevel>
与 mirai-core-api 关系不大或者一些独立的组件的测试.mock
模拟的各个部分的测试, 每个测试都继承MockBotTestBase