Skip to content

test: add GTest for frame, applets and dock modules - #1730

Open
MyLeeJiEun wants to merge 1 commit into
linuxdeepin:masterfrom
MyLeeJiEun:test/dde-shell-gtest
Open

test: add GTest for frame, applets and dock modules#1730
MyLeeJiEun wants to merge 1 commit into
linuxdeepin:masterfrom
MyLeeJiEun:test/dde-shell-gtest

Conversation

@MyLeeJiEun

Copy link
Copy Markdown
Contributor

合并 #1703 / #1707 / #1710 三个 PR,为 dde-shell 补充 frame / applets / dock 三个模块的 GTest 单元测试。

内容

  • frame: pluginmetadata / appletdata / appletitemmodel / proxymodel / pluginfactory / dstypes / applet / appletproxy / dsutility
  • applets: categoryutils / itemspage
  • dock: hoverpreviewproxymodel / globals / dockiteminfo / windowmanager / trayitempositionmanager

构建

  • 门控统一 BUILD_TESTING
  • 覆盖率目标: frame_coverage / applets_coverage / dock_coverage(gcov + lcov)
  • 三个模块测试 target 全部编译通过

@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 @MyLeeJiEun, your pull request is larger than the review limit of 150,000 diff characters

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: MyLeeJiEun

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

@deepin-ci-robot

Copy link
Copy Markdown

Hi @MyLeeJiEun. Thanks for your PR.

I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@MyLeeJiEun
MyLeeJiEun force-pushed the test/dde-shell-gtest branch 5 times, most recently from 7363add to 7c01e0c Compare September 10, 2026 08:14
@deepin-bot

deepin-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown

TAG Bot

New tag: 2.0.54
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1733

1. Add frame tests covering pluginmetadata/appletdata/models/pluginfactory/dstypes/applet/appletproxy/dsutility
2. Add applets tests covering categoryutils and itemspage
3. Add dock tests covering hoverpreviewproxymodel/globals/dockiteminfo/windowmanager/trayitempositionmanager
4. Gate tests behind BUILD_TESTING and add a unified coverage target plus per-module frame_coverage/applets_coverage/dock_coverage targets

Log: Add GTest for frame, applets and dock modules with a unified coverage target

test: 为 frame、applets 和 dock 模块补充 GTest 单元测试

1. 新增 frame 测试,覆盖 pluginmetadata/appletdata/models/pluginfactory/dstypes/applet/appletproxy/dsutility
2. 新增 applets 测试,覆盖 categoryutils 与 itemspage
3. 新增 dock 测试,覆盖 hoverpreviewproxymodel/globals/dockiteminfo/windowmanager/trayitempositionmanager
4. 以 BUILD_TESTING 门控测试,并新增统一 coverage 目标与 frame_coverage/applets_coverage/dock_coverage 子目标

Log: 为 frame、applets 和 dock 模块补充 GTest 测试与统一 coverage 目标
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants