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

Increase test coverage of rclcpp_lifecycle to 96% #1298

Merged
merged 5 commits into from
Sep 18, 2020

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Sep 10, 2020

This PR increases the test coverage of rclcpp_lifecycle to about 96% across both the include and src directories.

It directly depends on #1297

patch.hpp contributes about 50% of the additions and that's pretty much unmodified except where indicated.
Signed-off-by: Stephen Brawner brawner@gmail.com

@brawner brawner self-assigned this Sep 10, 2020
* \tparam ID Numerical identifier of the patch. Ought to be unique.
* \tparam ArgTx Argument types.
*/
template<size_t ID, typename ReturnT,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only part of this file that's changed. It just adds the required overload.

@brawner brawner force-pushed the brawner/rclcpp_lifecycle-test-coverage branch from 9c2380c to 2b64712 Compare September 11, 2020 19:13
@brawner brawner changed the base branch from brawner/rclcpp_lifecycle-catch-exception-destructor to master September 11, 2020 19:17
@brawner brawner force-pushed the brawner/rclcpp_lifecycle-test-coverage branch from 2b64712 to 20c93d5 Compare September 11, 2020 19:19
Copy link
Contributor

@Blast545 Blast545 left a comment

Choose a reason for hiding this comment

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

LGTM, left a couple of questions

rclcpp_lifecycle/test/test_lifecycle_node.cpp Show resolved Hide resolved
rclcpp_lifecycle/test/test_lifecycle_node.cpp Show resolved Hide resolved
rclcpp_lifecycle/test/test_lifecycle_node.cpp Show resolved Hide resolved
rclcpp_lifecycle/test/test_lifecycle_node.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@Blast545 Blast545 left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner
Copy link
Contributor Author

brawner commented Sep 17, 2020

Testing --packages-select rclcpp_lifecycle

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner brawner force-pushed the brawner/rclcpp_lifecycle-test-coverage branch from 6d6032d to fe55d01 Compare September 18, 2020 01:12
@brawner
Copy link
Contributor Author

brawner commented Sep 18, 2020

Once more, this time with feeling

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@brawner
Copy link
Contributor Author

brawner commented Sep 18, 2020

All green. Rpr job has the cppcheck warning which requires a new release of mimick_vendor, otherwise it looks good.

@brawner brawner merged commit 14c53e1 into master Sep 18, 2020
@delete-merged-branch delete-merged-branch bot deleted the brawner/rclcpp_lifecycle-test-coverage branch September 18, 2020 17:41
ahcorde pushed a commit that referenced this pull request Oct 22, 2020
* Increase test coverage of rclcpp_lifecycle to 96%

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* PR Fixup

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* test_depend

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* rcutils test_depend

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* More windows warnings

Signed-off-by: Stephen Brawner <brawner@gmail.com>
ahcorde pushed a commit that referenced this pull request Nov 3, 2020
* Increase test coverage of rclcpp_lifecycle to 96%

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* PR Fixup

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* test_depend

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* rcutils test_depend

Signed-off-by: Stephen Brawner <brawner@gmail.com>

* More windows warnings

Signed-off-by: Stephen Brawner <brawner@gmail.com>
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