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

test: Add unit tests for RTType.hpp #3452

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

OmarDuran
Copy link
Contributor

Introduces unit test for RTTypes.hpp. The motivation is to test a failing dynamic cast with reference in apple clang 16.0.0 when NEW_TYPE==EXISTING_TYPE (see NEW_TYPE dynamicCast( EXISTING_TYPE & val )).

Other functions and structures are being tested RTTypes.hpp to augment the test coverage.

@OmarDuran OmarDuran self-assigned this Nov 18, 2024
@OmarDuran OmarDuran requested a review from CusiniM November 18, 2024 22:45
Comment on lines 79 to 80
m_node(),
m_group( "root", m_node ),
Copy link
Collaborator

Choose a reason for hiding this comment

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

do you need these 2?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess the wrapper constructor nees a group... But what's the conduit node for?

Copy link
Collaborator

Choose a reason for hiding this comment

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

ah... you need to make a Group.. okay I was hoping we could avoid that include.

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.83%. Comparing base (93f0252) to head (1c08e81).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3452      +/-   ##
===========================================
+ Coverage    56.82%   56.83%   +0.01%     
===========================================
  Files         1154     1158       +4     
  Lines        99984   100016      +32     
===========================================
+ Hits         56816    56848      +32     
  Misses       43168    43168              

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

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