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

[foxy backport] Backport various unit tests for coverage #1396

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Oct 8, 2020

This backports more PRs for coverage in foxy. This PR will be rebase and merged onto #1383 before final rebase and merging onto foxy.

A couple of the commits were slightly modified to remove tests for API that does not exist in foxy ( primarily a513dc6, c7cde75)

Coverage PRs: #1330, #1346, #1343, #1350, #1349, #1344, #1342, #1353

@brawner brawner requested a review from ahcorde October 8, 2020 22:28
@brawner
Copy link
Contributor Author

brawner commented Oct 8, 2020

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

@brawner brawner force-pushed the brawner/rclcpp-backport-tests-part7 branch from 6433853 to d6f1f34 Compare October 9, 2020 18:03
Blast545 and others added 8 commits October 9, 2020 11:34
* Add file to test graph_listener
* Add tests start graph listener
* Add tests errors run graph listener
* Add tests add/remove node
* Remove dynamic cast
* Remove repeated line
* Remove comment
* Add reset to avoid warning
* Add checks construction graph listener
* Add tests shutdown
* Change node_graph definition
* Remove test failing MacOS
* Remove test not working on Windows

Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
This gets this file up to 97% coverage.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
* Add tests for node_options API

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

* Remove c-style casts

Signed-off-by: Stephen Brawner <brawner@gmail.com>
This gets us to 100% line coverage.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
* Add in more tests for the utilities.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
* Complete coverage of Parameter and ParameterValue API

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

* Adding comments

Signed-off-by: Stephen Brawner <brawner@gmail.com>
* Test the remaining node public API

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

* Address PR feedback

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

* Add comment

Signed-off-by: Stephen Brawner <brawner@gmail.com>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@brawner brawner force-pushed the brawner/rclcpp-backport-tests-part8 branch from c7cde75 to a3dd124 Compare October 9, 2020 18:35
@brawner brawner changed the base branch from brawner/rclcpp-backport-tests-part7 to brawner/rclcpp-backport-tests-part1 October 9, 2020 18:35
@brawner brawner merged commit a339d73 into brawner/rclcpp-backport-tests-part1 Oct 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the brawner/rclcpp-backport-tests-part8 branch October 9, 2020 18:39
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.

None yet

4 participants