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 tests bad type_support implementation #152

Merged
merged 5 commits into from
Oct 1, 2020

Conversation

Lobotuerk
Copy link
Contributor

This tests should add 10 lines of coverage to rmw_fastrtps_cpp
Signed-off-by: lobotuerk [email protected]

Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM pending green CI

Thanks for the extra lines @Lobotuerk !

@@ -150,6 +150,14 @@ TEST_F(CLASSNAME(TestSubscription, RMW_IMPLEMENTATION), create_with_bad_argument
EXPECT_EQ(nullptr, sub);
rmw_reset_error();

rosidl_message_type_support_t * non_implementation_ts = const_cast<rosidl_message_type_support_t *>(ts);
Copy link
Contributor

Choose a reason for hiding this comment

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

@Lobotuerk nit:

Suggested change
rosidl_message_type_support_t * non_implementation_ts = const_cast<rosidl_message_type_support_t *>(ts);
rosidl_message_type_support_t * non_const_ts = const_cast<rosidl_message_type_support_t *>(ts);

Same elsewhere.

test_rmw_implementation/test/test_subscription.cpp Outdated Show resolved Hide resolved
test_rmw_implementation/test/test_subscription.cpp Outdated Show resolved Hide resolved
Signed-off-by: lobotuerk <[email protected]>
Signed-off-by: lobotuerk <[email protected]>
Signed-off-by: lobotuerk <[email protected]>
@Lobotuerk
Copy link
Contributor Author

CI up rcl and test_rmw_implementation:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@hidmic
Copy link
Contributor

hidmic commented Sep 30, 2020

Another CI run:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Copy link
Contributor

@Blast545 Blast545 left a comment

Choose a reason for hiding this comment

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

LGTM

@hidmic
Copy link
Contributor

hidmic commented Oct 1, 2020

CI again after ros2/rmw_fastrtps#458:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@hidmic
Copy link
Contributor

hidmic commented Oct 1, 2020

Alright, all green ! Thanks @Lobotuerk !

@hidmic hidmic merged commit da37756 into master Oct 1, 2020
@delete-merged-branch delete-merged-branch bot deleted the lobotuerk/bad-type-support-tests branch October 1, 2020 22:32
ahcorde pushed a commit that referenced this pull request Oct 9, 2020
Signed-off-by: lobotuerk <[email protected]>
Co-authored-by: Michel Hidalgo <[email protected]>
ahcorde pushed a commit that referenced this pull request Oct 21, 2020
Signed-off-by: lobotuerk <[email protected]>
Co-authored-by: Michel Hidalgo <[email protected]>
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