Skip to content

[foxy backport] Backport various unit tests part for coverage part 4-ish#1390

Merged
brawner merged 4 commits intobrawner/rclcpp-backport-tests-part1from
brawner/rclcpp-backport-tests-part4
Oct 7, 2020
Merged

[foxy backport] Backport various unit tests part for coverage part 4-ish#1390
brawner merged 4 commits intobrawner/rclcpp-backport-tests-part1from
brawner/rclcpp-backport-tests-part4

Conversation

@brawner
Copy link
Copy Markdown
Contributor

@brawner brawner commented Oct 7, 2020

This continues the PRs for coverage. They are unchanged except for the commit for #1322, where I had to make a small change in test_node_graph.cpp for API compatibility (count_graph_users() is not const in foxy)

Coverage PRs: #1322, #1321, #1326, #1325

@brawner brawner requested a review from ahcorde October 7, 2020 00:22
@brawner
Copy link
Copy Markdown
Contributor Author

brawner commented Oct 7, 2020

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

Copy link
Copy Markdown
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, just adding test files

@brawner brawner force-pushed the brawner/rclcpp-backport-tests-part3 branch from 93f8947 to fc83d32 Compare October 7, 2020 18:37
brawner and others added 4 commits October 7, 2020 11:39
…rs (#1322)

* Increase coverage of node_interfaces, including with mocking rcl errors

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

* PR Fixup

Signed-off-by: Stephen Brawner <brawner@gmail.com>
* Add basic tests context access
* Add expected interrupt_guard get/release
* Add mocking utilities to rclcpp
* Add tests interrupt_guard_condition
* Add tests ini/fini error context
* Add destructor test error
* Create context directly in block* Use scope exit to clean context

Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
* Add coverage for missing API (except executors

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

* PR Fixup

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

* Do not check state

Signed-off-by: Stephen Brawner <brawner@gmail.com>
* Increase coverage of publisher/subscription API

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

* PR Feedback

Signed-off-by: Stephen Brawner <brawner@gmail.com>
@brawner brawner force-pushed the brawner/rclcpp-backport-tests-part4 branch from c803e13 to e54e237 Compare October 7, 2020 18:40
@brawner brawner changed the base branch from brawner/rclcpp-backport-tests-part3 to brawner/rclcpp-backport-tests-part1 October 7, 2020 18:40
@brawner
Copy link
Copy Markdown
Contributor Author

brawner commented Oct 7, 2020

Rebase and merging onto #1383 so that can act as the ultimate feature branch.

@brawner brawner merged commit bad0460 into brawner/rclcpp-backport-tests-part1 Oct 7, 2020
@delete-merged-branch delete-merged-branch bot deleted the brawner/rclcpp-backport-tests-part4 branch October 7, 2020 18:41
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