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

Migration completed of testing unit from GTest to Catch2. #3

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

nicolas-slusarenko
Copy link

Migration completed of testing unit from GTest to Catch2.
Submitted for your review @enricoliscio

@enricoliscio
Copy link

I don't think I am the right reviewer, I don't know this repository.

@nicolas-slusarenko nicolas-slusarenko requested review from hgaiser and removed request for enricoliscio August 22, 2019 07:55
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are these added?

return RUN_ALL_TESTS();
namespace {
void requireEqual(float const & a, float const & b)
{
Copy link
Contributor

Choose a reason for hiding this comment

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

No newline.

return RUN_ALL_TESTS();
namespace {
void requireEqual(float const & a, float const & b)
{
Copy link
Contributor

Choose a reason for hiding this comment

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

No newline.

@hgaiser
Copy link
Contributor

hgaiser commented Aug 22, 2019

Some small comments, but looks good in general. The tests seem to fail though: https://buildbot.fizyr.com/#/builders/234/builds/684

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";
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems unintended?

@enricoliscio
Copy link

@ekrikelis please check this issue in Buildbot.

@hsahin hsahin changed the base branch from master to main June 17, 2021 13:43
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