Skip to content

Commit

Permalink
build(autoware_behavior_path_external_request_lane_change_module): re…
Browse files Browse the repository at this point in the history
…vert clang-tidy fixes for naming functions

Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve committed Apr 18, 2024
1 parent d36cc3a commit 90eac3d
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
using ::behavior_path_planner::BehaviorPathPlannerNode;
using planning_test_utils::PlanningInterfaceTestManager;

std::shared_ptr<PlanningInterfaceTestManager> generate_test_manager()
std::shared_ptr<PlanningInterfaceTestManager> generateTestManager()
{
auto test_manager = std::make_shared<PlanningInterfaceTestManager>();

Expand All @@ -40,7 +40,7 @@ std::shared_ptr<PlanningInterfaceTestManager> generate_test_manager()
return test_manager;
}

std::shared_ptr<BehaviorPathPlannerNode> generate_node()
std::shared_ptr<BehaviorPathPlannerNode> generateNode()
{
auto node_options = rclcpp::NodeOptions{};
const auto planning_test_utils_dir =
Expand Down Expand Up @@ -74,7 +74,7 @@ std::shared_ptr<BehaviorPathPlannerNode> generate_node()
return std::make_shared<BehaviorPathPlannerNode>(node_options);
}

void publish_mandatory_topics(
void publishMandatoryTopics(
const std::shared_ptr<PlanningInterfaceTestManager> & test_manager,
const std::shared_ptr<BehaviorPathPlannerNode> & test_target_node)
{
Expand All @@ -96,10 +96,10 @@ void publish_mandatory_topics(
TEST(PlanningModuleInterfaceTest, NodeTestWithExceptionRoute)
{
rclcpp::init(0, nullptr);
auto test_manager = generate_test_manager();
auto test_target_node = generate_node();
auto test_manager = generateTestManager();
auto test_target_node = generateNode();

publish_mandatory_topics(test_manager, test_target_node);
publishMandatoryTopics(test_manager, test_target_node);

// test for normal trajectory
ASSERT_NO_THROW_WITH_ERROR_MSG(test_manager->testWithBehaviorNominalRoute(test_target_node));
Expand All @@ -114,9 +114,9 @@ TEST(PlanningModuleInterfaceTest, NodeTestWithOffTrackEgoPose)
{
rclcpp::init(0, nullptr);

auto test_manager = generate_test_manager();
auto test_target_node = generate_node();
publish_mandatory_topics(test_manager, test_target_node);
auto test_manager = generateTestManager();
auto test_target_node = generateNode();
publishMandatoryTopics(test_manager, test_target_node);

// test for normal trajectory
ASSERT_NO_THROW_WITH_ERROR_MSG(test_manager->testWithBehaviorNominalRoute(test_target_node));
Expand Down

0 comments on commit 90eac3d

Please sign in to comment.