-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migration completed of testing unit from GTest to Catch2. #3
base: main
Are you sure you want to change the base?
Conversation
I don't think I am the right reviewer, I don't know this repository. |
@@ -7,13 +7,16 @@ set(CMAKE_CXX_EXTENSIONS OFF) | |||
|
|||
add_compile_options(-Wall -Wextra -Wpedantic -Werror) | |||
|
|||
find_package(catkin REQUIRED) | |||
find_package(catkin REQUIRED COMPONENTS | |||
dr_ros |
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.
Why are these added?
test/geometry.cpp
Outdated
return RUN_ALL_TESTS(); | ||
namespace { | ||
void requireEqual(float const & a, float const & b) | ||
{ |
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.
No newline.
test/polynomial.cpp
Outdated
return RUN_ALL_TESTS(); | ||
namespace { | ||
void requireEqual(float const & a, float const & b) | ||
{ |
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.
No newline.
Some small comments, but looks good in general. The tests seem to fail though: https://buildbot.fizyr.com/#/builders/234/builds/684 |
test/resource.cpp
Outdated
TEST(ResourceTest, localFileUrl) { | ||
ASSERT_EQ("/test.file", rosUrlToPath("file:///test.file")); | ||
TEST_CASE("ResourceTest -- packageUrl", "packageUrl") { | ||
std::cout << "first:" << ros::package::getPath("dr_ros") << "\n"; |
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.
This seems unintended?
@ekrikelis please check this issue in Buildbot. |
Migration completed of testing unit from GTest to Catch2.
Submitted for your review @enricoliscio