You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: expand configdialog and keygendialog test suites (#1501)
* test: expand gpgkeystate and storemodel test suites
gpgkeystate: 23 → 27 tests — adds edge cases not previously covered:
empty input returns an empty list; pub record without any uid record
is still included; orphan sub/ssb records without a pub parent are
ignored; short colon-separated lines (fewer than GPG_MIN_FIELDS) are
silently skipped.
storemodel: 31 → 34 tests — adds:
setStore() updates the value returned by getStore(); data() with
Qt::EditRole does not strip the .gpg suffix (only DisplayRole does);
a non-.gpg file whose name matches the regex filter is accepted by
filterAcceptsRow (documents that the model does not restrict to .gpg
only at the filter layer).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* test: expand configdialog and keygendialog test suites
- tst_configdialog: 9 → 14 tests — adds coverage for useTrayIcon
(skipped if no tray), useQrencode, setPwgenPath (value + empty-
disables-checkbox), and setPasswordConfiguration/getPasswordConfiguration
round-trip
- tst_keygendialog: 6 → 10 tests — adds empty-passphrase no-protection
path, second-passphrase change triggering state update, clearing
first passphrase disabling buttonBox, and simultaneous name+email
template update
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* style: apply clang-format to configdialog and keygendialog tests
Fix three clang-format violations introduced in the previous commit:
- tst_configdialog: collapse two short QVERIFY2 calls onto single lines
- tst_keygendialog: wrap an over-length QVERIFY2 message string
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix: apply CodeRabbit auto-fixes
Fixed 1 file(s) based on 1 unresolved review comment.
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
0 commit comments