aboutsummaryrefslogtreecommitdiff
path: root/tests/test-media-utils.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 15:03:39 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 15:03:39 -0500
commitf11426433afc005cb4a5bce88afbb533d7444792 (patch)
tree66341d0bf2743891de1efad30c4db152a1739169 /tests/test-media-utils.el
parent657be463851bb4e75c1ed0639c0a9fda44180b15 (diff)
downloaddotemacs-f11426433afc005cb4a5bce88afbb533d7444792.tar.gz
dotemacs-f11426433afc005cb4a5bce88afbb533d7444792.zip
test(elfeed): cover extract-stream-url and process-entries helpers
elfeed-config had only the youtube-feed-format helper under test; cj/extract-stream-url and cj/elfeed-process-entries were untested despite having clear error/boundary paths. Added characterization + Normal/Boundary/Error coverage: extract-stream-url returns the trimmed URL on success, nil on non-URL output or nonzero exit, and signals when yt-dlp is absent; process-entries applies the action per selected entry and marks read, errors when nothing is selected, skips entries with no link, catches per-entry action errors by default, and propagates them under skip-error-handling. yt-dlp (call-process) and the elfeed-search API are stubbed at the boundary.
Diffstat (limited to 'tests/test-media-utils.el')
0 files changed, 0 insertions, 0 deletions