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

test(nebula_tests): remove designated initializers #92

Merged

Conversation

mojomex
Copy link
Collaborator

@mojomex mojomex commented Nov 16, 2023

PR Type

  • Improvement

Related Links

Description

This PR gets rid of the designated initializers in the nebula_tests package which caused compiler warnings as this feature is only supported from C++20 onward.

Also made tiny changes to other parts of the tests that raised warnings (unused parameters etc.). There are now no warnings at all when compiling the tests.

Review Procedure

colcon build --packages-up-to nebula_tests
colcon test --event-handlers console_cohesion+ --packages-select nebula_tests

Remarks

Pre-Review Checklist for the PR Author

PR Author should check the checkboxes below when creating the PR.

  • Assign PR to reviewer

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

  • Commits are properly organized and messages are according to the guideline
  • (Optional) Unit tests have been written for new behavior
  • PR title describes the changes

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

  • All open points are addressed and tracked via issues or tickets

CI Checks

  • Build and test for PR: Required to pass before the merge.

@mojomex mojomex requested a review from amc-nu November 16, 2023 03:06
@mojomex mojomex self-assigned this Nov 16, 2023
@mojomex mojomex requested a review from drwnz November 16, 2023 03:06
Copy link
Collaborator

@drwnz drwnz left a comment

Choose a reason for hiding this comment

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

LGTM!

@drwnz drwnz merged commit 735138f into tier4:main Nov 16, 2023
7 checks passed
@mojomex mojomex deleted the hesai-unit-tests-no-designated-initializers branch November 16, 2023 03:13
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.

2 participants