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

IJHack / QtPass / 25833365376
55%

Build:
DEFAULT BRANCH: main
Ran 14 May 2026 12:03AM UTC
Jobs 1
Files 72
Run time 1min
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 11:57PM UTC coverage: 44.752% (+11.9%) from 32.872%
25833365376

push

github

web-flow
test(configdialog): widget tests for the public useX setting-loaders (#1481)

* test(configdialog): widget tests for the public useX setting-loaders

ConfigDialog is the main Settings dialog (1311 lines, 61 methods) and
was untested. Most of its public-facing surface is a family of small
"load setting into UI" methods (useSelection, useAutoclear, useGit,
useOtp, useGrepSearch, usePwgen, useTemplate, useAutoclearPanel) plus
the constructor — all reachable in isolation with a nullptr MainWindow
parent.

Ten widget tests in a new tests/auto/configdialog/ subdirectory:

- constructionDoesNotCrash: smoke that the constructor's setting-load
  / widget-wiring path completes without dereferencing the parent.
- useSelectionTogglesCheckbox / useAutoclearTogglesCheckbox /
  useAutoclearPanelTogglesCheckbox: the three clipboard-side setters
  flow through to their checkboxes.
- useGitTogglesCheckbox / useOtpTogglesCheckbox /
  useGrepSearchTogglesCheckbox / useTemplateTogglesCheckbox: same
  pattern for the feature-toggle checkboxes.
- usePwgenTogglesCheckbox: covers both branches — usePwgen(true) is
  clamped to false when pwgenPath is empty (can't use a tool that isn't
  configured), and flows through normally when pwgenPath is set.

Deliberately out of scope (need a real MainWindow / Pass singleton):
- genKey() — tunnels to mainWindow->generateKeyPair()
- on_pushButtonGenerateKey_clicked() — drives KeygenDialog
- setProfiles() / profile-table flows
- Settings persistence (on_accepted is already covered indirectly via
  the tst_util sshAuthSockOverrideStatus tests from #1469)

Privately-scoped helpers like setGitPath() / usePass() / setGroupBoxState()
also can't be tested from outside without a friend declaration; left
alone for now.

Build clean, 11/11 configdialog tests pass.

Wired into tests/auto/auto.pro SUBDIRS and .gitignore.

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

* test(configdialog): QVERIFY2 with descriptive messages fo... (continued)

3010 of 6726 relevant lines covered (44.75%)

29.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25833365376.1 14 May 2026 12:03AM UTC 72
44.75
GitHub Action Run
Source Files on build 25833365376
  • Tree
  • List 72
  • Changed 7
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25833365376
  • 587cb9e7 on github
  • Prev Build on main (#25832943073)
  • Next Build on main (#25833777519)
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