From 8a53dd9562cf4457c8fd4886bd2762498d7a531c Mon Sep 17 00:00:00 2001 From: Olivier Stasse <olivier.stasse@laas.fr> Date: Wed, 29 Nov 2023 02:20:20 +0100 Subject: [PATCH] [test] Minor modifications on test_ros_interpreter. --- tests/test_ros_interpreter.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_ros_interpreter.cpp b/tests/test_ros_interpreter.cpp index 5ad5523..1129125 100644 --- a/tests/test_ros_interpreter.cpp +++ b/tests/test_ros_interpreter.cpp @@ -43,6 +43,7 @@ class TestRosInterpreter : public ::testing::Test { // delete the ros node ros_clean(); } + /** * @brief Node name */ @@ -271,7 +272,6 @@ TEST_F(TestRosInterpreter, test_call_run_script_standarderror) { TEST_F(TestRosInterpreter, test_call_run_script_ros_publish) { /* Setup. */ - // Create the ros python interpreter. RosPythonInterpreterServer rpi; rpi.start_ros_service(); @@ -284,6 +284,7 @@ TEST_F(TestRosInterpreter, test_call_run_script_ros_publish) { std::string standard_error = ""; start_run_python_script_ros_service(file_name, result); - /* Tests. */ + /* Tests the result. */ ASSERT_EQ(result, ""); + } -- GitLab