test: update unit tests and enable Debug-only build#330
Conversation
Re-enable test directory with Debug build guard, update test code to use new DSchedule API, disable segfault-prone setDragPixmap test. 重新启用测试目录并限制仅在 Debug 模式构建,更新测试代码适配 新的 DSchedule 接口,禁用导致段错误的 setDragPixmap 测试用例。 Log: 更新单元测试代码,仅在Debug模式构建测试 Influence: Release构建不再包含测试代码,加快构建速度;Debug模式下可正常执行单元测试。
There was a problem hiding this comment.
Sorry @pengfeixx, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
deepin pr auto review这份 Git Diff 主要涉及对 以下是对该 Diff 的详细代码审查意见,分为语法逻辑、代码质量、代码性能和代码安全四个方面: 一、 语法与逻辑
二、 代码质量
三、 代码性能
四、 代码安全
总结该 Diff 成功地将停滞已久的单元测试与最新重构的业务代码进行了对齐,工作量和难度都较大。重新开启 Debug 模式下的测试构建是非常正确的决定。但需要注意:
|
|
Note |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lzwind, pengfeixx The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
TAG Bot New tag: 6.5.41 |
Re-enable test directory with Debug build guard, update test code to use new DSchedule API, disable segfault-prone setDragPixmap test.
重新启用测试目录并限制仅在 Debug 模式构建,更新测试代码适配
新的 DSchedule 接口,禁用导致段错误的 setDragPixmap 测试用例。
Log: 更新单元测试代码,仅在Debug模式构建测试
Influence: Release构建不再包含测试代码,加快构建速度;Debug模式下可正常执行单元测试。