 JMR-devandClaude Opus 4.8
|
b165f72e3a
|
test(coverage): high-value branch-coverage additions
Add focused JVM unit tests that close real (non-coroutine) branch gaps in
pure logic already >=95% line-covered (issue #289):
- richtext/RichTextEditing: removeLink, applyLink/styleAt/isStyled edges,
quote/ordered marker detection+removal, remap* null branches.
- richtext/RichTextHtmlParser: new suite driving parseCssColor/parseFontSizePt/
parseInlineStyles/parseBaseStyle/parseTextAlign/extractHref/unescape and the
parser's malformed/stray/unclosed-tag edges.
- ui/compose/ComposeViewModel + ui/mailbox/MailboxViewModel: nav-arg blanks,
signature-swap rebuild, autosave content detection, refresh/selection edges.
- data/repository/MailRepositoryImpl: non-selectable role folder, cancelOutboxMessage.
- data/repository/AccountRepositoryImpl: reorderAccounts.
- mail/HtmlToText, data/SignatureBlock, reporting/AppLog, reporting/DiagnosticsCollector.
Test-only; no production changes.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-04 01:36:31 -05:00 |
|