test: remove outdated ut sources superseded by restructured tests - #558
Conversation
There was a problem hiding this comment.
Sorry @pengfeixx, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 3 days and 19 hours by commenting @sourcery-ai review. Upgrade to get a review now.
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR deletes 117 files belonging to the superseded autotests and tests/src unit-test structure, including test implementations, harness code, fixtures, and theme resources; production editor code is unchanged, with replacement tests handled separately. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto reviewAI 代码审查报告
总体评分
审查结论代码审查通过 本次 PR 的目的是移除遗留的自动化测试脚本和过时的单元测试源码。PR 共涉及 117 个文件,全部为删除操作,未引入任何新增代码。删除范围覆盖 代码变更与提交信息声明的目的完全一致,属于合理的代码清理操作,未发现任何安全风险或质量问题。 漏洞统计漏洞对比统计:新增漏洞 0 个,减少漏洞 0 个,持平 0 个
四维度详细分析维度1:语法逻辑 ✓(25/25)
本次 PR 为纯删除操作,共删除 117 个文件,未引入任何新增代码。删除操作本身不涉及语法或逻辑问题:
维度2:代码质量 ✓(25/25)
维度3:代码性能 ✓(20/20)
维度4:代码安全 ✓(30/30)
变更文件清单
改进建议本次 PR 为纯删除操作,代码变更与提交目的一致,无需改进建议。
|
968ea9a to
574da63
Compare
Remove the outdated tests/src unit test sources and the obsolete lcov script, which are superseded by the restructured GTest suites. 移除被新 GTest 测试结构取代的 tests/src 旧单元测试代码及过时的 lcov 脚本。 Log: 清理旧单元测试代码 Influence: 仅删除已被取代的旧测试代码,不影响编辑器本体功能。
574da63 to
b906cf1
Compare
|
[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 |
内容
移除已被新测试结构取代的
tests/src/旧单元测试代码及过时的 lcov 脚本,共 116 个文件。说明
tests/src/stub.h的移除随其替代实现所在的 stub 相关 PR(test: add test stub headers and coverage report generator #559)一并提供,以保持 REUSE 许可证覆盖完整Summary by Sourcery
Remove the outdated unit-test sources and coverage tooling replaced by the restructured test suite.
Enhancements:
Tests:
tests/src/, including their fixtures and test support files.