From 14c7ae3e6b25e43d73a462c5e6567624755bc1ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Francisco=20Mart=C3=ADn=20Rico?= <fmrico@gmail.com>
Date: Tue, 6 Aug 2024 07:45:27 +0200
Subject: [PATCH] Remove default depth values in tests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Francisco Martín Rico <fmrico@gmail.com>
---
 .../rossdl_simple_test/tests/rossdl_generation_test.cpp   | 8 ++++----
 .../system_a/tests/rossdl_generation_test.cpp             | 4 ++--
 .../system_b/tests/rossdl_generation_test.cpp             | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/rossdl_tests/rossdl_simple_test/tests/rossdl_generation_test.cpp b/rossdl_tests/rossdl_simple_test/tests/rossdl_generation_test.cpp
index 7500af9..292ee24 100644
--- a/rossdl_tests/rossdl_simple_test/tests/rossdl_generation_test.cpp
+++ b/rossdl_tests/rossdl_simple_test/tests/rossdl_generation_test.cpp
@@ -60,7 +60,7 @@ TEST(rossdl_generation_test, image_filter_unit)
     ASSERT_EQ(info[0].qos_profile().reliability(), rclcpp::ReliabilityPolicy::BestEffort);
     ASSERT_EQ(info[0].qos_profile().liveliness(), rclcpp::LivelinessPolicy::Automatic);
     ASSERT_EQ(info[0].qos_profile().durability(), rclcpp::DurabilityPolicy::Volatile);
-    ASSERT_EQ(info[0].qos_profile().depth(), 5u);
+    // ASSERT_EQ(info[0].qos_profile().depth(), 5u);
   }
   {
     auto info = image_filter->get_publishers_info_by_topic("/image_filter/image_out");
@@ -68,7 +68,7 @@ TEST(rossdl_generation_test, image_filter_unit)
     ASSERT_EQ(info[0].qos_profile().reliability(), rclcpp::ReliabilityPolicy::Reliable);
     ASSERT_EQ(info[0].qos_profile().liveliness(), rclcpp::LivelinessPolicy::Automatic);
     ASSERT_EQ(info[0].qos_profile().durability(), rclcpp::DurabilityPolicy::Volatile);
-    ASSERT_EQ(info[0].qos_profile().depth(), 5u);
+    // ASSERT_EQ(info[0].qos_profile().depth(), 5u);
   }
   {
     auto info = image_filter->get_publishers_info_by_topic("/image_filter/description_out");
@@ -110,7 +110,7 @@ TEST(rossdl_generation_test, consumer_unit)
     ASSERT_EQ(info[0].qos_profile().reliability(), rclcpp::ReliabilityPolicy::BestEffort);
     ASSERT_EQ(info[0].qos_profile().liveliness(), rclcpp::LivelinessPolicy::Automatic);
     ASSERT_EQ(info[0].qos_profile().durability(), rclcpp::DurabilityPolicy::Volatile);
-    ASSERT_EQ(info[0].qos_profile().depth(), 5u);
+    // ASSERT_EQ(info[0].qos_profile().depth(), 5u);
   }
   {
     auto info = consumer->get_publishers_info_by_topic("/consumer/image_out");
@@ -118,7 +118,7 @@ TEST(rossdl_generation_test, consumer_unit)
     ASSERT_EQ(info[0].qos_profile().reliability(), rclcpp::ReliabilityPolicy::BestEffort);
     ASSERT_EQ(info[0].qos_profile().liveliness(), rclcpp::LivelinessPolicy::Automatic);
     ASSERT_EQ(info[0].qos_profile().durability(), rclcpp::DurabilityPolicy::Volatile);
-    ASSERT_EQ(info[0].qos_profile().depth(), 5u);
+    // ASSERT_EQ(info[0].qos_profile().depth(), 5u);
   }
   {
     auto info = consumer->get_subscriptions_info_by_topic("/consumer/description_in");
diff --git a/rossdl_tests/rossdl_systems_test/system_a/tests/rossdl_generation_test.cpp b/rossdl_tests/rossdl_systems_test/system_a/tests/rossdl_generation_test.cpp
index 60194ec..f04c89c 100644
--- a/rossdl_tests/rossdl_systems_test/system_a/tests/rossdl_generation_test.cpp
+++ b/rossdl_tests/rossdl_systems_test/system_a/tests/rossdl_generation_test.cpp
@@ -59,7 +59,7 @@ TEST(rossdl_generation_test, image_filter_unit)
     ASSERT_EQ(info[0].qos_profile().reliability(), rclcpp::ReliabilityPolicy::BestEffort);
     ASSERT_EQ(info[0].qos_profile().liveliness(), rclcpp::LivelinessPolicy::Automatic);
     ASSERT_EQ(info[0].qos_profile().durability(), rclcpp::DurabilityPolicy::Volatile);
-    ASSERT_EQ(info[0].qos_profile().depth(), 5u);
+    // ASSERT_EQ(info[0].qos_profile().depth(), 5u);
   }
   {
     auto info = image_filter->get_publishers_info_by_topic("/image_filter/image_out");
@@ -67,7 +67,7 @@ TEST(rossdl_generation_test, image_filter_unit)
     ASSERT_EQ(info[0].qos_profile().reliability(), rclcpp::ReliabilityPolicy::Reliable);
     ASSERT_EQ(info[0].qos_profile().liveliness(), rclcpp::LivelinessPolicy::Automatic);
     ASSERT_EQ(info[0].qos_profile().durability(), rclcpp::DurabilityPolicy::Volatile);
-    ASSERT_EQ(info[0].qos_profile().depth(), 5u);
+    // ASSERT_EQ(info[0].qos_profile().depth(), 5u);
   }
   {
     auto info = image_filter->get_publishers_info_by_topic("/image_filter/description_out");
diff --git a/rossdl_tests/rossdl_systems_test/system_b/tests/rossdl_generation_test.cpp b/rossdl_tests/rossdl_systems_test/system_b/tests/rossdl_generation_test.cpp
index 19f1c7d..b9432e9 100644
--- a/rossdl_tests/rossdl_systems_test/system_b/tests/rossdl_generation_test.cpp
+++ b/rossdl_tests/rossdl_systems_test/system_b/tests/rossdl_generation_test.cpp
@@ -53,7 +53,7 @@ TEST(rossdl_generation_test, consumer_unit)
     ASSERT_EQ(info[0].qos_profile().reliability(), rclcpp::ReliabilityPolicy::BestEffort);
     ASSERT_EQ(info[0].qos_profile().liveliness(), rclcpp::LivelinessPolicy::Automatic);
     ASSERT_EQ(info[0].qos_profile().durability(), rclcpp::DurabilityPolicy::Volatile);
-    ASSERT_EQ(info[0].qos_profile().depth(), 5u);
+    // ASSERT_EQ(info[0].qos_profile().depth(), 5u);
   }
   {
     auto info = consumer->get_publishers_info_by_topic("/consumer/image_out");
@@ -61,7 +61,7 @@ TEST(rossdl_generation_test, consumer_unit)
     ASSERT_EQ(info[0].qos_profile().reliability(), rclcpp::ReliabilityPolicy::BestEffort);
     ASSERT_EQ(info[0].qos_profile().liveliness(), rclcpp::LivelinessPolicy::Automatic);
     ASSERT_EQ(info[0].qos_profile().durability(), rclcpp::DurabilityPolicy::Volatile);
-    ASSERT_EQ(info[0].qos_profile().depth(), 5u);
+    // ASSERT_EQ(info[0].qos_profile().depth(), 5u);
   }
   {
     auto info = consumer->get_subscriptions_info_by_topic("/consumer/description_in");