Skip to content

Improve tests: remove empty initTestCase, add type checks, fix mkdir pattern#840

Merged
annejan merged 1 commit intomainfrom
fix/test-improvements
Mar 29, 2026
Merged

Improve tests: remove empty initTestCase, add type checks, fix mkdir pattern#840
annejan merged 1 commit intomainfrom
fix/test-improvements

Conversation

@nogeenhenk
Copy link
Copy Markdown
Contributor

Summary

  • Remove empty initTestCase() from 5 test files (executor, filecontent, model, simpletransaction, util)
  • Add type validation before toString() in dataRemovesGpgExtension test
  • Fix mkdir pattern to verify directory exists after mkdir (removes || QDir(...).exists())

Testing

  • All tests pass

@nogeenhenk nogeenhenk force-pushed the fix/test-improvements branch 2 times, most recently from 2580d38 to 84e0c70 Compare March 29, 2026 19:22
@coveralls
Copy link
Copy Markdown

coveralls commented Mar 29, 2026

Coverage Status

coverage: 18.335%. remained the same
when pulling 3f74fbf on fix/test-improvements
into 189f491 on main.

…pattern

- Remove empty initTestCase() from 5 test files
- Add type validation before toString() (canConvert<QString> for Qt5/6 compat)
- Fix mkdir pattern to check directory exists after mkdir
@nogeenhenk nogeenhenk force-pushed the fix/test-improvements branch from 84e0c70 to 3f74fbf Compare March 29, 2026 19:27
@annejan annejan merged commit 9a69568 into main Mar 29, 2026
15 of 16 checks passed
@annejan annejan deleted the fix/test-improvements branch March 29, 2026 19:32
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