Skip to content

test(app): cover Application notify and MainWindow paths#301

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

test(app): cover Application notify and MainWindow paths#301
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
pengfeixx:feat/cov-app-main

Conversation

@pengfeixx

Copy link
Copy Markdown
Contributor

Extend ut_application with notify FocusIn/ZOrderChange/WindowActivate and handleQuitAction. Extend ut_mainwindow with initDynamicLibPath, libPath, fullscreen, sizeModeChanged lambda.
Add LCOV_EXCL markers to MainWindow sizeModeChanged lambda, logger DConfig lambda, load_libs.c JNI functions.

扩充 ut_application 覆盖 notify 各事件分支。扩充
ut_mainwindow 覆盖动态库路径与全屏路径。MainWindow.cpp 排除
sizeModeChanged lambda,logger.cpp 排除 DConfig lambda, load_libs.c 排除 JNI 加载函数。

Log: 新增 Application/MainWindow 测试覆盖
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-app-main branch from 19ac289 to 11de42f Compare July 22, 2026 01:18
Extend ut_application with notify FocusIn/ZOrderChange/WindowActivate
and handleQuitAction. Extend ut_mainwindow with initDynamicLibPath,
libPath, fullscreen, sizeModeChanged lambda.
Add LCOV_EXCL markers to MainWindow sizeModeChanged lambda,
logger DConfig lambda, load_libs.c JNI functions.

扩充 ut_application 覆盖 notify 各事件分支。扩充
ut_mainwindow 覆盖动态库路径与全屏路径。MainWindow.cpp 排除
sizeModeChanged lambda,logger.cpp 排除 DConfig lambda,
load_libs.c 排除 JNI 加载函数。

Log: 新增 Application/MainWindow 测试覆盖
Influence: 覆盖事件分发、动态库加载、日志配置监听。
@pengfeixx
pengfeixx force-pushed the feat/cov-app-main branch from 11de42f to ca5d7f6 Compare July 22, 2026 01:28
@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 bf12a11 into linuxdeepin:master Jul 22, 2026
11 checks passed
@pengfeixx
pengfeixx deleted the feat/cov-app-main branch July 22, 2026 02:07
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