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

[core] 2 tests renamed #1726

Merged
merged 2 commits into from
Sep 3, 2024
Merged

[core] 2 tests renamed #1726

merged 2 commits into from
Sep 3, 2024

Conversation

rex-schilasky
Copy link
Contributor

Description

See title

@rex-schilasky rex-schilasky added the cherry-pick-to-NONE Don't cherry-pick these changes label Sep 2, 2024
@rex-schilasky rex-schilasky requested a review from Peguen September 2, 2024 15:22
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

@@ -50,7 +50,7 @@ class EcalTest : public ::testing::TestWithParam<TestParams>
}
};

TEST_P(EcalTest, GetPublisherIDsReturnsCorrectNumber)
TEST_P(TestFixture, GetPublisherIDsReturnsCorrectNumber)
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
TEST_P(TestFixture, GetPublisherIDsReturnsCorrectNumber)
TEST_P(TestFixture /*unused*/, GetPublisherIDsReturnsCorrectNumber /*unused*/)

@@ -88,7 +88,7 @@
ASSERT_EQ(pub_ids2.size(), 0);
}

TEST_P(EcalTest, PublisherEventCallbackIsTriggered)
TEST_P(TestFixture, PublisherEventCallbackIsTriggered)
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
TEST_P(TestFixture, PublisherEventCallbackIsTriggered)
TEST_P(TestFixture /*unused*/, PublisherEventCallbackIsTriggered /*unused*/)

@@ -50,7 +50,7 @@ class EcalTest : public ::testing::TestWithParam<TestParams>
}
};

TEST_P(EcalTest, GetSubscriberIDsReturnsCorrectNumber)
TEST_P(TestFixture, GetSubscriberIDsReturnsCorrectNumber)
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
TEST_P(TestFixture, GetSubscriberIDsReturnsCorrectNumber)
TEST_P(TestFixture /*unused*/, GetSubscriberIDsReturnsCorrectNumber /*unused*/)

@@ -88,7 +88,7 @@
ASSERT_EQ(sub_ids2.size(), 0);
}

TEST_P(EcalTest, SubscriberEventCallbackIsTriggered)
TEST_P(TestFixture, SubscriberEventCallbackIsTriggered)
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
TEST_P(TestFixture, SubscriberEventCallbackIsTriggered)
TEST_P(TestFixture /*unused*/, SubscriberEventCallbackIsTriggered /*unused*/)

@rex-schilasky rex-schilasky merged commit 2ed1a46 into master Sep 3, 2024
20 checks passed
@rex-schilasky rex-schilasky deleted the hotfix/test_renamings branch September 3, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-to-NONE Don't cherry-pick these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants