Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some tests for atom_manager! macro #913

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

psychon
Copy link
Owner

@psychon psychon commented Jan 30, 2024

The atom_manager! macro generates some code that is currently untested. This commit adds a unit test that tests the success case of this code and also some error cases.

The atom_manager! macro generates some code that is currently untested.
This commit adds a unit test that tests the success case of this code
and also some error cases.

Signed-off-by: Uli Schlachter <[email protected]>
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 52 lines in your changes are missing coverage. Please review.

Comparison is base (4b60265) 12.80% compared to head (0aeb36a) 13.06%.

Files Patch % Lines
x11rb/tests/x11_utils.rs 61.48% 52 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #913      +/-   ##
==========================================
+ Coverage   12.80%   13.06%   +0.26%     
==========================================
  Files         191      190       -1     
  Lines      139850   136667    -3183     
==========================================
- Hits        17905    17859      -46     
+ Misses     121945   118808    -3137     
Flag Coverage Δ
tests 13.06% <61.48%> (+0.26%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@notgull notgull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mergify mergify bot merged commit 0fbfd89 into master Jan 30, 2024
23 checks passed
@mergify mergify bot deleted the atom_manager_tests branch January 30, 2024 20:23
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.

2 participants