Repository navigation
test: add unit tests for deepin-draw coverage gaps - #300
Conversation
Reviewer's GuideTestsAdd deep-copy tests for the remaining graphics-unit types and their null-source cleanup branches.
Add serialization tests for legacy and current graphics data formats plus graphics-unit stream operators.
Exercise cut-widget edit, button, and size-adjustment callbacks, including their boundary behavior.
Cover text-tool font-size keyboard handling and combo-box menu delegate style-option branches.
Test blur-tool Z-value save and restore behavior and blur-enabled item selection.
Test file-handler image color-space loading and path conversion/control behavior.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Add 6 test files covering previously uncovered code paths: 1. test_sitemdata_deepcopy_ext.cpp (15 tests) 2. test_sitemdata_serialization_ext.cpp (17 tests) 3. test_ccutwidget_lambdas.cpp (14 tests) 4. test_ctexttool_fontkb.cpp (6 tests) 5. test_cmasicotool_zvalue.cpp (9 tests) 6. test_filehander_colorspace.cpp (11 tests) Issue: V-9255 Log: add unit tests for 5 lcov coverage gap areas
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lzwind, wyu71 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 |
Add 6 test files covering previously uncovered code paths:
Issue: V-9255
Log: add unit tests for 5 lcov coverage gap areas
Summary by Sourcery
Increase unit-test coverage for previously uncovered drawing, editing, serialization, styling, and file-handling code paths.
Enhancements:
Tests: