Repository navigation
test: add unit tests for 5 lcov coverage gap areas (V-9047) - #299
Conversation
Reviewer's GuideTestsRead the application coverage tests together: they exercise filename validation, picture limits, and the empty-path loading branch.
Read the export-dialog tests together: they cover sizing branches, alert handling, and tip-label timer behavior.
Read the file-loading tests together: they exercise real PNG, JPG, and DDF inputs, including repeated and mixed loads.
Read the page lifecycle tests and their test-harness cleanup together: they cover null-context fallbacks and page behavior while repairing duplicate-tab and page-state issues.
Read the wheel-event tests together to check the expected scroll and zoom behavior.
Read the tab-bar menu test changes with the page-state cleanup changes: the persistent menu lifetime adjustment affects later menu tests.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
8827ba9 to
f73076d
Compare
Add 58 Test cases across 5 test files covering previously unhit line blocks identified by lcov: 1. test_application_coverage_ext.cpp (12 tests) 2. test_page_nullctx_dtors.cpp (14 tests) 3. test_drawboard_loadfiles_ext.cpp (5 tests) 4. test_cexportimagedialog_ext2.cpp (22 tests) 5. test_pageview_wheelevent_ext.cpp (5 tests) Issue: V-9047 Log: add unit tests for 5 lcov coverage gap areas
f73076d to
cd3bfa9
Compare
|
[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 58 Test cases across 5 test files covering previously
unhit line blocks identified by lcov:
Issue: V-9047
Log: add unit tests for 5 lcov coverage gap areas
Summary by Sourcery
Increase unit-test coverage for identified application, page, file-loading, image-export, and view-interaction gaps while stabilizing shared test cleanup and state management.
Enhancements:
Tests: