MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
|
#include <gmock/gmock.h>
#include <moveit_studio_behavior_interface/shared_resources_node.hpp>
#include <moveit_studio_behavior_interface/test_behavior.hpp>
#include <moveit_studio_common/test_utils/ros_test.hpp>
Namespaces | |
moveit_studio | |
moveit_studio::test_utils | |
Macros | |
#define | INSTANTIATE_BEHAVIOR_WITHOUT_CONTEXT_PORT_NOT_SET_TESTS_(behavior_class, input_port_setter_generator, output_port_setter_generator, pre_tick_code) |
#define | INSTANTIATE_SYNC_BEHAVIOR_WITHOUT_CONTEXT_PORT_NOT_SET_TESTS(behavior_class, input_port_setter_generator, output_port_setter_generator) |
Automatically instantiates tests for the "input Behavior port not set" situation for synchronous Behaviors without context. More... | |
#define | INSTANTIATE_ASYNC_BEHAVIOR_WITHOUT_CONTEXT_PORT_NOT_SET_TESTS(behavior_class, input_port_setter_generator, output_port_setter_generator) |
Automatically instantiates tests for the "input Behavior port not set" situation for asynchronous Behaviors without context. More... | |
#define INSTANTIATE_ASYNC_BEHAVIOR_WITHOUT_CONTEXT_PORT_NOT_SET_TESTS | ( | behavior_class, | |
input_port_setter_generator, | |||
output_port_setter_generator | |||
) |
Automatically instantiates tests for the "input Behavior port not set" situation for asynchronous Behaviors without context.
One test is generated for each Behavior input port.
behavior_class | Class of the behavior under test. It cannot have namespace qualifiers. If those are needed, please use a using statement in the test file. |
input_port_setter_generator | A port setter map generator defining the expected input ports. |
output_port_setter_generator | A port setter map generator defining the expected output ports. |
#define INSTANTIATE_BEHAVIOR_WITHOUT_CONTEXT_PORT_NOT_SET_TESTS_ | ( | behavior_class, | |
input_port_setter_generator, | |||
output_port_setter_generator, | |||
pre_tick_code | |||
) |
#define INSTANTIATE_SYNC_BEHAVIOR_WITHOUT_CONTEXT_PORT_NOT_SET_TESTS | ( | behavior_class, | |
input_port_setter_generator, | |||
output_port_setter_generator | |||
) |
Automatically instantiates tests for the "input Behavior port not set" situation for synchronous Behaviors without context.
One test is generated for each Behavior input port.
behavior_class | Class of the behavior under test. It cannot have namespace qualifiers. If those are needed, please use a using statement in the test file. |
input_port_setter_generator | A port setter map generator defining the expected input ports. |
output_port_setter_generator | A port setter map generator defining the expected output ports. |