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

IJHack / QtPass / 25193439988
55%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2026 11:02PM 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

30 Apr 2026 10:57PM UTC coverage: 28.015%. Remained the same
25193439988

push

github

web-flow
test(locale): improve diagnostics + cover failed-load state-clearing (#1364)

Two reviewer findings on the recently-merged locale test:

1. layoutDirection() used a bare QVERIFY for the load() call — when a
   row failed there was no way to tell which locale was at fault.
   Switched to QVERIFY2 with the locale id in the message, matching
   the pattern used by loadExactMatch / loadFallback.

2. loadIsIdempotent() only exercised the happy path (sequential
   successful loads). Added a loadUnknownAndCheckCleared helper that
   loads an unknown locale (tlh_KX) and asserts:
     - load() returns false
     - the previously-cached LTR/RTL value from the prior load() is
       gone (translate() must not return the stale value)
   This pins the documented QTranslator contract that "the previous
   translation is cleared regardless of whether the new translation
   was successfully loaded". Inserted between the ar_MA and nl_NL
   loads so an actual RTL value is in flight when the failed load
   should clear it.

Verified: 43/43 still pass; clang-format-17 (super-linter v7.1.0) clean.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

1854 of 6618 relevant lines covered (28.01%)

27.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25193439988.1 30 Apr 2026 11:02PM UTC 72
28.01
GitHub Action Run
Source Files on build 25193439988
  • Tree
  • List 72
  • Changed 2
  • Source Changed 2
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25193439988
  • 118b878b on github
  • Prev Build on main (#25193314916)
  • Next Build on main (#25195039303)
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