summaryrefslogtreecommitdiff
path: root/tests/test-music-config--valid-file-p.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-16 18:16:38 -0600
committerCraig Jennings <c@cjennings.net>2025-11-16 18:16:38 -0600
commit94b4241d6cd4e38cab9581a30fffa23b616aa469 (patch)
treee81e7ea360f2ff7f9be0399e3b45984e9c4669c1 /tests/test-music-config--valid-file-p.el
parentda0bd6883a4032054aef4b59c338f60796a0fd99 (diff)
test(calendar-sync): Add unit tests for UTC conversion function
Added 5 dedicated unit tests for calendar-sync--convert-utc-to-local function that was extracted during refactoring: - test-calendar-sync--convert-utc-to-local-basic-conversion Tests standard UTC to local time conversion - test-calendar-sync--convert-utc-to-local-midnight-boundary Tests day boundary handling (UTC midnight → previous day in some timezones) - test-calendar-sync--convert-utc-to-local-preserves-minutes Verifies minute component preservation during conversion - test-calendar-sync--convert-utc-to-local-returns-five-elements Validates return format and element types - test-calendar-sync--convert-utc-to-local-end-of-day Tests near end-of-day conversion (potential rollover to next day) Test coverage increased from 51 to 56 tests, all passing. The extracted function now has both direct unit tests (isolation) and indirect integration tests (via calendar-sync--parse-timestamp). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'tests/test-music-config--valid-file-p.el')
0 files changed, 0 insertions, 0 deletions