Fixing the unit test for the logging interface change in rcl.#582
Fixing the unit test for the logging interface change in rcl.#582nburek wants to merge 3 commits intoros2:masterfrom
Conversation
|
@nburek fyi if you put an entry like: |
|
@tfoote Cool, thanks for adding that to this set of reviews. I'll make sure to mark them with |
tfoote
left a comment
There was a problem hiding this comment.
This looks fine pending approval of the connected change.
ee354e0 to
14efb7b
Compare
|
Rebased on master. |
wjwwood
left a comment
There was a problem hiding this comment.
0e619a8 looks ok to me, though if we go through with reverting the signature change for the output handler as I suggested in the rcutils pr, then this pr also will go away.
I don't understand why the style changes are required. Maybe this just needs to be rebased?
| EXPECT_EQ(RCUTILS_LOG_SEVERITY_DEBUG, g_last_log_event.level); | ||
| EXPECT_EQ("name", g_last_log_event.name); | ||
| EXPECT_EQ("message 3", g_last_log_event.message); | ||
| EXPECT_EQ("[DEBUG] [name]: message 3", g_last_log_event.message); |
There was a problem hiding this comment.
Changes like this will probably go away after changes I suggested in rcutils.
|
This entire PR will probably be discarded after the change. I'll run tests to verify though and then close it out if it's no longer needed. |
That's ok, I just wanted to make sure it was ready if needed. |
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Connects to ros2/rcl#327
Summary
This change is part of a set of changes for new logging features. These changes include the following features:
rcutils
rcl
rclcpp
rc_logging_log4cxx
Remaining Feature Work
Links
https://discourse.ros.org/t/ros2-logging/6469
https://github.com/nburek/rc_logging_log4cxx
Pull requests for change
rclcpp: #582
rcl: ros2/rcl#327
rcutils: ros2/rcutils#127