Skip to content

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

Open
nicolas-slusarenko wants to merge 14 commits intomainfrom
migrating_from_gtest_to_catch2
Open

Migration completed of testing unit from GTest to Catch2.#3
nicolas-slusarenko wants to merge 14 commits intomainfrom
migrating_from_gtest_to_catch2

Conversation

@nicolas-slusarenko
Copy link
Copy Markdown

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

@enricoliscio
Copy link
Copy Markdown

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

find_package(catkin REQUIRED)
find_package(catkin REQUIRED COMPONENTS
dr_ros
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

@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