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

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

Build:
DEFAULT BRANCH: main
Ran 16 May 2026 12:34AM UTC
Files 72
Run time 2s
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

16 May 2026 12:29AM UTC coverage: 53.917% (+0.08%) from 53.836%
25947860170.1

push

github

web-flow
test: add UserInfo and ProfileInit unit test suites (#1492)

* test: add UserInfo and ProfileInit unit test suites

tst_userinfo (17 tests): covers fullyValid(), marginallyValid() and
isValid() for all relevant GPG validity codes (f, u, m, -, n, ?)
plus default field values. Uses QTEST_APPLESS_MAIN — no Qt event
loop or display needed.

tst_profileinit (7 tests): covers ProfileInit::needsInit() for
non-existent paths, empty path, dir without .gpg-id, dir with
.gpg-id, and the before/after transition.

Also fixes ProfileInit::needsInit() to return false for an empty
path argument. Previously, QDir("") resolved to the current
working directory, causing a spurious true return.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* test: fix QTEST_APPLESS_MAIN → QTEST_MAIN; add QVERIFY2 messages

QTEST_APPLESS_MAIN does not create a QApplication, so the test runner's
--platform offscreen argument was rejected as unknown.  Replace with
QTEST_MAIN in both tst_userinfo and tst_profileinit so the platform
plugin argument is accepted on headless CI.

Also improve all bare QVERIFY() calls to QVERIFY2() with descriptive
failure messages, and replace the hardcoded /nonexistent/path with a
temp-dir-based absent path for portability.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* style: clang-format tst_profileinit and tst_userinfo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

3627 of 6727 relevant lines covered (53.92%)

35.32 hits per line

Source Files on job 25947860170.1
  • Tree
  • List 72
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25947860170
  • aea9e996 on github
  • Prev Job for on main (#25946865980.1)
  • Next Job for on main (#25948802763.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