moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
#include <gtest/gtest.h>
#include <pluginlib/class_loader.hpp>
#include <moveit/robot_model/robot_model.h>
#include <moveit/robot_model_loader/robot_model_loader.h>
#include <pilz_industrial_motion_planner/planning_context_loader.h>
#include "test_utils.h"
#include <rclcpp/rclcpp.hpp>
Go to the source code of this file.
Classes | |
class | PlanningContextLoadersTest |
Functions | |
INSTANTIATE_TEST_SUITE_P (InstantiationName, PlanningContextLoadersTest, ::testing::Values(std::vector< std::string >{ "pilz_industrial_motion_planner/PlanningContextLoaderPTP", "PTP" }, std::vector< std::string >{ "pilz_industrial_motion_planner/PlanningContextLoaderLIN", "LIN" }, std::vector< std::string >{ "pilz_industrial_motion_planner/PlanningContextLoaderCIRC", "CIRC" })) | |
TEST_P (PlanningContextLoadersTest, GetAlgorithm) | |
Test getAlgorithm returns PTP. | |
TEST_P (PlanningContextLoadersTest, LoadContext) | |
Check that load Context returns initialized shared pointer. | |
int | main (int argc, char **argv) |
INSTANTIATE_TEST_SUITE_P | ( | InstantiationName | , |
PlanningContextLoadersTest | , | ||
::testing::Values(std::vector< std::string >{ "pilz_industrial_motion_planner/PlanningContextLoaderPTP", "PTP" }, std::vector< std::string >{ "pilz_industrial_motion_planner/PlanningContextLoaderLIN", "LIN" }, std::vector< std::string >{ "pilz_industrial_motion_planner/PlanningContextLoaderCIRC", "CIRC" }) | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 176 of file unittest_planning_context_loaders.cpp.
TEST_P | ( | PlanningContextLoadersTest | , |
GetAlgorithm | |||
) |
Test getAlgorithm returns PTP.
Definition at line 129 of file unittest_planning_context_loaders.cpp.
TEST_P | ( | PlanningContextLoadersTest | , |
LoadContext | |||
) |
Check that load Context returns initialized shared pointer.
Definition at line 138 of file unittest_planning_context_loaders.cpp.