-
Notifications
You must be signed in to change notification settings - Fork 665
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
test(planning_test_utils): add ASSART_NO_THROW_WITH_ERROR_MSG macro #3695
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3695 +/- ##
==========================================
+ Coverage 14.55% 15.55% +0.99%
==========================================
Files 1409 1303 -106
Lines 99287 92685 -6602
Branches 29347 29349 +2
==========================================
- Hits 14455 14420 -35
+ Misses 69245 62682 -6563
+ Partials 15587 15583 -4
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
b81a4eb
to
e09d02e
Compare
awesome!
error is like this
so it's a little bit annoying so by changing this
I could get an error like below.
|
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
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.
LGTM!!!
…utowarefoundation#3695) * test(planning_test_utils): add ASSART_NO_THROW_WITH_ERROR_MSG macro Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * update for behavior_velocity_planner Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> * fix for exception error msg Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com> --------- Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Description
since ASSERT_NO_THROW in gtest masks the exception message, I redefine it with error message.
Before
After
Tests performed
run colcon test for planning packages
Effects on system behavior
None
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.