teamsiso/src/tests
Zac Gaetano 7ef6b8055e
Some checks failed
CI / build-and-test (push) Failing after 28s
IN-CALL pill shows meeting title from Teams' window text
The IN-CALL pill now reads 'IN CALL · Weekly Standup' (or 'IN CALL' if Teams' window doesn't expose a meeting title), so operators using auto-hide know WHICH meeting they're in without restoring the Teams window.

Implementation: TeamsLauncher.GetActiveWindowTitle uses EnumWindows + GetWindowTextW to read every Teams top-level window title (hidden windows too — title bar text is accessible even with SW_HIDE), picks the longest as a heuristic for 'most informative' (Teams creates several windows per process; the call window has the meaningful title). MainViewModel.ExtractMeetingTitle strips the ' | Microsoft Teams' / ' - Microsoft Teams' suffix variations and clamps overly long titles to 50 chars with an ellipsis.

10 new unit tests for ExtractMeetingTitle covering: standard formats with both separators, bare 'Microsoft Teams' (returns empty so the pill stays at 'IN CALL'), long-title truncation, outer-whitespace trimming, unrecognized formats passing through.

169/169 tests passing.
2026-05-10 20:47:43 -04:00
..
TeamsISO.App.Tests IN-CALL pill shows meeting title from Teams' window text 2026-05-10 20:47:43 -04:00
TeamsISO.Engine.IntegrationTests test(ndi): end-to-end pipeline round-trip with framerate normalization 2026-05-08 00:39:23 -04:00
TeamsISO.Engine.Tests Audio peak: high-water mark across UI poll interval 2026-05-10 14:04:04 -04:00
.gitkeep chore: add empty TeamsISO solution 2026-05-07 15:07:58 +00:00