Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
prbt_hardware_support::OperationModeSetupTest Class Reference

Test the operation_mode_setup_executor_node. More...

Inheritance diagram for prbt_hardware_support::OperationModeSetupTest:
Inheritance graph
[legend]

Public Member Functions

void SetUp () override
 

Protected Types

using GetSpeedOverride = pilz_msgs::GetSpeedOverride
 
using OperationModes = pilz_msgs::OperationModes
 

Protected Member Functions

testing::AssertionResult isSpeedOverrideEqualTo (const double &expected_speed_override)
 

Protected Attributes

ControllerMock controller_mock_
 
ros::ServiceClient get_speed_override_client_
 
ros::NodeHandle nh_
 
ros::Publisher operation_mode_pub_
 

Detailed Description

Test the operation_mode_setup_executor_node.

Complement the unittest of the operation_mode_setup_executor by covering the respective node.

Definition at line 90 of file integrationtest_operation_mode_setup.cpp.

Member Typedef Documentation

◆ GetSpeedOverride

using prbt_hardware_support::OperationModeSetupTest::GetSpeedOverride = pilz_msgs::GetSpeedOverride
protected

Definition at line 99 of file integrationtest_operation_mode_setup.cpp.

◆ OperationModes

using prbt_hardware_support::OperationModeSetupTest::OperationModes = pilz_msgs::OperationModes
protected

Definition at line 98 of file integrationtest_operation_mode_setup.cpp.

Member Function Documentation

◆ isSpeedOverrideEqualTo()

testing::AssertionResult prbt_hardware_support::OperationModeSetupTest::isSpeedOverrideEqualTo ( const double &  expected_speed_override)
protected

Definition at line 121 of file integrationtest_operation_mode_setup.cpp.

◆ SetUp()

void prbt_hardware_support::OperationModeSetupTest::SetUp ( )
override

Definition at line 111 of file integrationtest_operation_mode_setup.cpp.

Member Data Documentation

◆ controller_mock_

ControllerMock prbt_hardware_support::OperationModeSetupTest::controller_mock_
protected

Definition at line 106 of file integrationtest_operation_mode_setup.cpp.

◆ get_speed_override_client_

ros::ServiceClient prbt_hardware_support::OperationModeSetupTest::get_speed_override_client_
protected

Definition at line 108 of file integrationtest_operation_mode_setup.cpp.

◆ nh_

ros::NodeHandle prbt_hardware_support::OperationModeSetupTest::nh_
protected

Definition at line 105 of file integrationtest_operation_mode_setup.cpp.

◆ operation_mode_pub_

ros::Publisher prbt_hardware_support::OperationModeSetupTest::operation_mode_pub_
protected

Definition at line 107 of file integrationtest_operation_mode_setup.cpp.


The documentation for this class was generated from the following file:


prbt_hardware_support
Author(s):
autogenerated on Wed Nov 25 2020 03:10:38