<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chime/tests/test-chime-group-events-by-day.el, branch v0.7.0</title>
<subtitle>Emacs chimes, notifications, and modeline reminders so you don't miss events
</subtitle>
<id>https://git.cjennings.net/chime/atom?h=v0.7.0</id>
<link rel='self' href='https://git.cjennings.net/chime/atom?h=v0.7.0'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/chime/'/>
<updated>2026-04-22T12:19:41+00:00</updated>
<entry>
<title>test: add unit tests for chime--day-label-for-event-time</title>
<updated>2026-04-22T12:19:41+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-22T12:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/chime/commit/?id=8511cf43f2bf4ab2dc539fd28427e6c81c98b901'/>
<id>urn:sha1:8511cf43f2bf4ab2dc539fd28427e6c81c98b901</id>
<content type='text'>
Seven pure-function tests appended to the group-events-by-day file, covering Normal and Boundary cases.

Normal: event on the same calendar day as NOW returns "Today, ...". Event on the same calendar day as TOMORROW returns "Tomorrow, ...". Event three days out returns a weekday label and is neither Today nor Tomorrow.

Boundary: event at 00:00 on the NOW calendar day is Today. Event at 00:00 on the TOMORROW calendar day is Tomorrow. Event two calendar days out is not Tomorrow, gets a weekday label. Event on the previous calendar day is neither Today nor Tomorrow.

Since NOW and TOMORROW are function arguments, the tests use encode-time to build stable calendar values and skip the clock-mocking dance.
</content>
</entry>
<entry>
<title>test: pin group-events-by-day clock and add midnight edge cases</title>
<updated>2026-04-22T11:24:57+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-22T11:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/chime/commit/?id=86a06eb53c7a07b4b5c7ca889edad09042384cb4'/>
<id>urn:sha1:86a06eb53c7a07b4b5c7ca889edad09042384cb4</id>
<content type='text'>
The Normal and Boundary tests built events as fixed-minute offsets from real current-time. On late-night runs the +60 minute event in single-day crossed midnight and the test failed because events 1-2 landed "Today" while event 3 landed "Tomorrow". The intent of these Normal tests is routine grouping, not midnight behavior, so they should be deterministic.

Pin the clock with with-test-time using the established let-bind pattern. with-test-time re-evaluates BASE-TIME inside the mocked current-time lambda, so passing test-time-today-at directly would recurse, because the helper itself calls current-time.

Add two new Boundary tests that explicitly exercise the day-crossing logic at 23:50. One event at +5 minutes stays in Today and one at +20 minutes crosses into Tomorrow. These are the first tests in the file that actually target midnight behavior.

Drop stale "REFACTORED: Uses dynamic timestamps" annotations from docstrings since the behavior is documented at the file level.
</content>
</entry>
<entry>
<title>Extract test boilerplate into shared test-bootstrap.el</title>
<updated>2026-04-04T18:05:01+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-04T18:05:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/chime/commit/?id=6f32d5c8a32f78786a612d0105a32d6856fd87ea'/>
<id>urn:sha1:6f32d5c8a32f78786a612d0105a32d6856fd87ea</id>
<content type='text'>
All 50 test files that load chime.el repeated the same 8-line
initialization block (package-initialize, ert, dash, alert, async,
org-agenda, chime load). Replace with a single require of
test-bootstrap.el.

Also fix test-make-upcoming-item name collision between
test-chime-make-tooltip.el and test-chime--deduplicate-events-by-title.el.
</content>
</entry>
<entry>
<title>Update copyright years to 2026 across all source files</title>
<updated>2026-02-17T06:26:46+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-02-17T06:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/chime/commit/?id=d8131801bbc5a05ab2fa237b4b5b3fe52454cc36'/>
<id>urn:sha1:d8131801bbc5a05ab2fa237b4b5b3fe52454cc36</id>
<content type='text'>
Updated 41 files: chime.el, chime-debug.el, chime-org-contacts.el,
convert-org-contacts-birthdays.el, and all test/utility files.
</content>
</entry>
<entry>
<title>changed repositories</title>
<updated>2025-11-18T17:13:39+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2025-11-18T17:13:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/chime/commit/?id=4835fadabf243b33fb78557e45428055675e7300'/>
<id>urn:sha1:4835fadabf243b33fb78557e45428055675e7300</id>
<content type='text'>
</content>
</entry>
</feed>
