-
Notifications
You must be signed in to change notification settings - Fork 48
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 node construction/destruction API test coverage. #112
Add node construction/destruction API test coverage. #112
Conversation
API documentation is a bit vague. Tests fail for all main RMW implementations, either in a SIGSEGV or a SIGABRT. |
7bcced2
to
9edb819
Compare
Depends on #113. |
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
fd4b69c
to
4e223d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Warnings in Mac OSX seem unrelated.
EXPECT_EQ(nullptr, node); | ||
rmw_reset_error(); | ||
|
||
const char * const invalid_name = "foo bar"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: instead of invalid_name, rename to 'name_with_spaces' to communicate why it's an invalid name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in ab555d2.
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
ab555d2
to
23decd6
Compare
@ros-pull-request-builder retest this please. |
1 similar comment
@ros-pull-request-builder retest this please. |
Alright, all green! Merging. |
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
First stab at testing
rmw_create_node()
andrmw_destroy_node()
.