Skip to content

test: verify file open succeeds in storemodel tests#821

Merged
annejan merged 1 commit intomainfrom
fix/test-file-open-verification
Mar 28, 2026
Merged

test: verify file open succeeds in storemodel tests#821
annejan merged 1 commit intomainfrom
fix/test-file-open-verification

Conversation

@nogeenhenk
Copy link
Copy Markdown
Contributor

Summary

  • Replace (void)f.open() with QVERIFY(f.open()) to properly verify file operations succeed in tests
  • Improve variable naming (f, f1, f2 → passwordA, passwordB, passwordFile, testFile, file)
  • Fixes 4 AI code quality findings in tst_storemodel.cpp

Replace (void)f.open() with QVERIFY(f.open()) to properly verify
file operations succeed. Also improve variable naming (f, f1, f2
to passwordA, passwordB, passwordFile, testFile, file).
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 18.404%. remained the same
when pulling 9417c24 on fix/test-file-open-verification
into 20f7d3e on main.

@annejan annejan merged commit 94bbe81 into main Mar 28, 2026
16 of 17 checks passed
@annejan annejan deleted the fix/test-file-open-verification branch March 28, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants