Skip to content

test(sidebar): cover delegate sizeHint and bookmark/notes widgets#305

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
pengfeixx:feat/cov-sidebar-delegates
Jul 22, 2026
Merged

test(sidebar): cover delegate sizeHint and bookmark/notes widgets#305
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
pengfeixx:feat/cov-sidebar-delegates

Conversation

@pengfeixx

Copy link
Copy Markdown
Contributor

Extend ut_bookmarkwidget fixing duplicate testnextPage. Extend ut_noteswidget with deleteNoteItem and pageUp. Add sizeHint tests to ut_notesdelegate, ut_searchresdelegate, ut_thumbnaildelegate.

修复 ut_bookmarkwidget 中重复的 testnextPage。扩充
ut_noteswidget 覆盖 deleteNoteItem 和 pageUp。为三个 delegate 测试补充 sizeHint 用例。

Log: 新增 sidebar delegate/widget 测试覆盖
Influence: 覆盖书签、注释、搜索结果代理的绘制与尺寸计算。

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @pengfeixx, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@pengfeixx
pengfeixx force-pushed the feat/cov-sidebar-delegates branch from b07a57c to b6b9111 Compare July 22, 2026 01:21
Extend ut_bookmarkwidget fixing duplicate testnextPage. Extend
ut_noteswidget with deleteNoteItem and pageUp. Add sizeHint tests
to ut_notesdelegate, ut_searchresdelegate, ut_thumbnaildelegate.

修复 ut_bookmarkwidget 中重复的 testnextPage。扩充
ut_noteswidget 覆盖 deleteNoteItem 和 pageUp。为三个 delegate
测试补充 sizeHint 用例。

Log: 新增 sidebar delegate/widget 测试覆盖
Influence: 覆盖书签、注释、搜索结果代理的绘制与尺寸计算。
@pengfeixx
pengfeixx force-pushed the feat/cov-sidebar-delegates branch from b6b9111 to 9896609 Compare July 22, 2026 03:09
@deepin-ci-robot

Copy link
Copy Markdown

[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.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pengfeixx

Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot
deepin-bot Bot merged commit 7eca951 into linuxdeepin:master Jul 22, 2026
11 checks passed
@pengfeixx
pengfeixx deleted the feat/cov-sidebar-delegates branch July 22, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants