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

Tests need to include message types they are using #375

Merged
merged 2 commits into from
Aug 23, 2023
Merged

Conversation

mjcarroll
Copy link
Contributor

Many sensor tests didn't actually include the headers that they were using. This breaks with the new message generation (we are probably transitively including less).

@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

Merging #375 (b9bc317) into main (83f0e1f) will not change coverage.
The diff coverage is n/a.

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

@@           Coverage Diff           @@
##             main     #375   +/-   ##
=======================================
  Coverage   72.62%   72.62%           
=======================================
  Files          36       36           
  Lines        4947     4947           
=======================================
  Hits         3593     3593           
  Misses       1354     1354           
Files Changed Coverage Δ
src/BoundingBoxCameraSensor.cc 61.17% <ø> (ø)

Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

one boolean header missing, otherwise LGTM

@@ -19,7 +19,9 @@

#include <gz/msgs/image.pb.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

msgs::Boolean ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I can't really detect the things that are already pulled in transitively.

Signed-off-by: Michael Carroll <[email protected]>
@mjcarroll mjcarroll merged commit 31b87ef into main Aug 23, 2023
9 of 10 checks passed
@mjcarroll mjcarroll deleted the mjcarroll/iwyu branch August 23, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants