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

Increase test coverage (backport #856) #865

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 27, 2023

This is an automatic backport of pull request #856 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

@christophfroehlich
Copy link
Contributor

Needs #769 to build.

@christophfroehlich christophfroehlich force-pushed the mergify/bp/humble/pr-856 branch 2 times, most recently from 3230583 to 97110df Compare December 6, 2023 10:28
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cb1ddfb) 45.27% compared to head (fc9f7a3) 46.40%.

❗ Current head fc9f7a3 differs from pull request most recent head 18761ad. Consider uploading reports for the commit 18761ad to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           humble     #865      +/-   ##
==========================================
+ Coverage   45.27%   46.40%   +1.13%     
==========================================
  Files          40       40              
  Lines        3722     3713       -9     
  Branches     1780     1769      -11     
==========================================
+ Hits         1685     1723      +38     
+ Misses        809      764      -45     
+ Partials     1228     1226       -2     
Flag Coverage Δ
unittests 46.40% <ø> (+1.13%) ⬆️

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

see 11 files with indirect coverage changes

auto cmd_if_conf = range_broadcaster_->command_interface_configuration();
ASSERT_THAT(cmd_if_conf.names, IsEmpty());
auto state_if_conf = range_broadcaster_->state_interface_configuration();
ASSERT_THAT(state_if_conf.names, SizeIs(1lu));
Copy link
Member

Choose a reason for hiding this comment

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

Maybe in the future it also makes sense to check for the type to be NONE. What do you think @christophfroehlich ?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure about the implications, where this information is used etc. But yes, why not

Copy link
Member

Choose a reason for hiding this comment

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

I think you can have type as ALL and not specify any names. So, the controller manager gets you access to all interfaces. That's the case for joint state broadcaster when no joints are specified I guess. Well this is for future, for now the PR looks good to me

@christophfroehlich christophfroehlich force-pushed the mergify/bp/humble/pr-856 branch 2 times, most recently from b4af5f5 to 97d874c Compare December 10, 2023 10:59
@christophfroehlich christophfroehlich enabled auto-merge (squash) December 10, 2023 10:59
@christophfroehlich christophfroehlich force-pushed the mergify/bp/humble/pr-856 branch 2 times, most recently from c76aa40 to bf17f24 Compare December 11, 2023 20:10
@bmagyar bmagyar disabled auto-merge January 12, 2024 11:35
@bmagyar bmagyar merged commit 42766fe into humble Jan 12, 2024
12 of 13 checks passed
@bmagyar bmagyar deleted the mergify/bp/humble/pr-856 branch January 12, 2024 11:35
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