<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-media-utils.el, branch load-graph-classify-start</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-start</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-start'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-24T20:31:07+00:00</updated>
<entry>
<title>test: cover markdown-html filter and media-player selector</title>
<updated>2026-05-24T20:31:07+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-24T20:31:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=c6a81743f95638bc8275bea1b590f4ca9f7cbc39'/>
<id>urn:sha1:c6a81743f95638bc8275bea1b590f4ca9f7cbc39</id>
<content type='text'>
Two real-logic gaps from the refreshed coverage backlog. cj/markdown-html (markdown-config) is the impatient-mode filter that wraps a source buffer's text in the strapdown HTML shell — tested for normal content and an empty buffer. cj/select-media-player (media-utils) was the one untested function there — tested that choosing an available player updates cj/default-media-player and that a non-matching selection leaves it unchanged. Both mock at the boundary (completing-read, the source buffer).
</content>
</entry>
<entry>
<title>test(media-utils): cover player discovery and play/download commands</title>
<updated>2026-05-23T08:42:53+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-23T08:42:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=14896ac779ec2b63af4eb7bf1930cf40a6b9988b'/>
<id>urn:sha1:14896ac779ec2b63af4eb7bf1930cf40a6b9988b</id>
<content type='text'>
media-utils.el had no tests. I added eight: cj/get-available-media-players filtering by executable-find, cj/media-play-it building a direct command versus the yt-dlp -g stream-URL wrap (plus the missing-player error), and cj/yt-dl-it erroring when yt-dlp or tsp is absent and queueing through tsp + yt-dlp when both are present. Every external boundary is mocked, so nothing launches.
</content>
</entry>
</feed>
