• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IJHack / QtPass / 25831288023 / 1
55%
main: 55%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 11:04PM UTC
Files 72
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 10:59PM UTC coverage: 31.891% (+2.8%) from 29.081%
25831288023.1

push

github

web-flow
test(keygendialog): widget tests for the GPG keygen dialog (#1476)

* chore: clang-format two over-long QVERIFY2 lines in tst_integration.cpp

CodeRabbit's auto-fix on #1471 captured the QFile::write() return value
and asserted it equals the payload size — sensible nit. The resulting
QVERIFY2 calls busted the 80-col limit and the super-linter is rejecting
unrelated PRs (#1474 head was 7430a355e) because clang-format runs over
the whole tree.

Reformat both calls — break after the condition, matches the style of
all the other QVERIFY2 sites added in earlier security PRs.

No semantic change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* test(keygendialog): widget tests for the GPG keygen dialog

KeygenDialog (the modal that fronts GPG key-pair generation) had zero
test coverage. Added six widget-level tests in a new tests/auto/
keygendialog/ subdirectory, modelled on the existing tests/auto/
importkeydialog/ pattern:

- constructionLoadsNonEmptyTemplate: dialog instantiates, plainTextEdit
  receives the default GPG batch template (covers both the ed25519 and
  RSA fallback paths via the shared Name-Real:/Name-Email: substring
  check).
- expertCheckboxTogglesTemplateEditor: toggling the "Expert" checkbox
  flips plainTextEdit between read-only/disabled and editable/enabled.
- nameTextUpdatesNameRealLine: typing in the Name field replaces the
  Name-Real: line in the template.
- emailTextUpdatesNameEmailLine: same for Name-Email:.
- matchingPassphrasesEnableButtonBox: identical text in both passphrase
  fields enables the OK button.
- mismatchedPassphrasesDisableButtonBox: differing passphrases disable
  OK.

The dialog is normally parented to ConfigDialog; tests pass nullptr to
sidestep ConfigDialog construction. The protected done() slot isn't
exercised — it dispatches into dialog->genKey() which dereferences the
ConfigDialog parent.

Build clean, 8/8 keygendialog tests pass, 46/46 ui tests still pass,
doxygen unchanged.

Wi... (continued)

2145 of 6726 relevant lines covered (31.89%)

27.83 hits per line

Source Files on job 25831288023.1
  • Tree
  • List 72
  • Changed 4
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25831288023
  • 2b2d6d0b on github
  • Prev Job for on main (#25829968971.1)
  • Next Job for on main (#25832154348.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc