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 in some tests for the strToDouble conversion. #109

Merged
merged 2 commits into from
Feb 21, 2018

Conversation

clalancette
Copy link
Contributor

Note that this only tests that some simple cases do the correct
thing. We can't reliably check the locale fixing
code because we can't depend on any particular locales being
installed on test machines.

This depends on ros/urdfdom_headers#42, so should not be merged until that one is.

Signed-off-by: Chris Lalancette [email protected]

Note that this only tests that some simple cases do the correct
thing.  We can't reliably check the locale fixing
code because we can't depend on any particular locales being
installed on test machines.

Signed-off-by: Chris Lalancette <[email protected]>
@@ -20,7 +20,9 @@ include_directories(${GTEST_INCLUDE_DIRS})

# unit test to fix geometry problems
set(tests
urdf_unit_test.cpp)
urdf_unit_test.cpp
urdf_double_convert.cpp
Copy link
Contributor

Choose a reason for hiding this comment

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

alphabetize the list please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, sorry. Done now.

@scpeters
Copy link
Contributor

In 0e14f00 I made a test commit that will use the stream-vector branch of urdfdom_headers in travis, just to confirm with CI

Signed-off-by: Chris Lalancette <[email protected]>
@scpeters
Copy link
Contributor

CI looks good on my test branch

@clalancette
Copy link
Contributor Author

I'm actually going to close this out and re-open to re-trigger Travis now that ros/urdfdom_headers#42 has been merged.

@clalancette clalancette reopened this Feb 21, 2018
@clalancette
Copy link
Contributor Author

The "push" one is failing, but that's because it ran before the urdfdom_headers PR was in. Since the other Travis CI looks good, I'm going to merge this. Thanks!

@clalancette clalancette merged commit 0f327a8 into master Feb 21, 2018
@clalancette clalancette deleted the strtodouble-tests branch February 21, 2018 20:22
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