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 unit tests for coverage into foxy #1397

Conversation

brawner
Copy link
Contributor

@brawner brawner commented Oct 8, 2020

More tests and minor code fixes for backporting into foxy. This will be rebased and merged into #1383 before ultimate rebase and merging onto foxy.

Coverage PRs: #1358, #1359, #1360, #1361, #1363, #1347, #1355

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

brawner commented Oct 8, 2020

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

Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

LGTM, cppcheck timeout on macos

@brawner brawner force-pushed the brawner/rclcpp-backport-tests-part8 branch from c7cde75 to a3dd124 Compare October 9, 2020 18:35
ahcorde and others added 8 commits October 9, 2020 11:41
* Improved test_subscription_options

Signed-off-by: ahcorde <ahcorde@gmail.com>

* used RCLCPP_EXPECT_THROW_EQ in test_subcription_options

Signed-off-by: ahcorde <ahcorde@gmail.com>

* make linters happy

Signed-off-by: ahcorde <ahcorde@gmail.com>
* Covered resolve_use_intra_process

Signed-off-by: ahcorde <ahcorde@gmail.com>

* used RCLCPP_EXPECT_THROW_EQ in test_subscription_throws_intraprocess

Signed-off-by: ahcorde <ahcorde@gmail.com>
Make sure to #include what is used, and also fix a typo
in a test.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
This gets us to 96% line coverage.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
* Add missing tests API
* Reformat style error throw
* Add internal errors tests

Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
* Change value used as max representation
* Add coverage tests time
* Add call to detach clock
* Add tests time
* Add duration construction tests
* Add const qualifier to constants
* Add check clock stays the same
* Make operator RCLCPP_PUBLIC
* Add tests exceptions duration
* Fix division by 0 on windows

Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
* Add test for ParameterService

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

* Address PR feedback

Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner brawner force-pushed the brawner/rclcpp-backport-tests-part9 branch from 31f2614 to 741c6af Compare October 9, 2020 18:42
@brawner brawner changed the base branch from brawner/rclcpp-backport-tests-part8 to brawner/rclcpp-backport-tests-part1 October 9, 2020 18:42
@brawner brawner merged commit 1d67840 into brawner/rclcpp-backport-tests-part1 Oct 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the brawner/rclcpp-backport-tests-part9 branch October 9, 2020 18:45
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.

4 participants