aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-orchestration-helpers.el
Commit message (Collapse)AuthorAgeFilesLines
* test: cover marker end-pos, variable-pitch restore, young/overdue queue branchesCraig Jennings2026-05-051-0/+22
| | | | | | | | | | | I extended three existing test files with cases that hit branches the suite was missing: `org-drill--show-end-message' with a live-marker end-pos (jumps to the marker), `org-drill--restore-display' for the variable-pitch-on / variable-pitch-off / text-scale paths, and `org-drill-pop-next-pending-entry' for the young-mature and overdue branches in the queue priority cond. Coverage moved from 87.0% to 87.8%.
* test: cover orchestration helpers extracted during refactorCraig Jennings2026-05-051-0/+245
I added 16 ERT tests for the helpers carved out of org-drill and org-drill-merge-buffers in the recent refactor pass: prepare-fresh-session, queues-empty-p, collect-entries, show-resume-hint, show-end-message, build-dest-id-table, copy-scheduling-to-marker, and strip-unmatched-dest-entries. The clean-completion test for show-end-message binds org-drill-save-buffers-after-drill-sessions-p to nil so the dispatcher doesn't trip save-some-buffers' interactive prompt under batch ERT.