Skip to content

Commit

Permalink
Remove default depth values in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Martín Rico <[email protected]>
  • Loading branch information
fmrico committed Aug 6, 2024
1 parent 2c40fc2 commit 14c7ae3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ 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");
ASSERT_EQ(info.size(), 1u);
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");
Expand Down Expand Up @@ -110,15 +110,15 @@ 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");
ASSERT_EQ(info.size(), 1u);
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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ 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");
ASSERT_EQ(info.size(), 1u);
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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ 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");
ASSERT_EQ(info.size(), 1u);
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");
Expand Down

0 comments on commit 14c7ae3

Please sign in to comment.