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

Stop1IntegrationTest checks if the chain ModbusServerMock -> ModbusReadClient -> RunPermittedModbusAdapter -> ManipulatorMock functions properly. More...

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

Public Member Functions

bool serviceCallStub (const std::string &barrier_name, const std_srvs::Trigger::Response &res_exp, std_srvs::Trigger::Request &, std_srvs::Trigger::Response &res)
 
void SetUp () override
 
void TearDown () override
 

Protected Attributes

ManipulatorMock manipulator
 
ros::NodeHandle nh_
 
ros::NodeHandle nh_priv_ { "~" }
 

Detailed Description

Stop1IntegrationTest checks if the chain ModbusServerMock -> ModbusReadClient -> RunPermittedModbusAdapter -> ManipulatorMock functions properly.

Note
the test is derived from testing::AsyncTest which allows the asynchronous processes to re-sync

Definition at line 73 of file integrationtest_stop1.cpp.

Member Function Documentation

◆ serviceCallStub()

bool prbt_hardware_support::Stop1IntegrationTest::serviceCallStub ( const std::string &  barrier_name,
const std_srvs::Trigger::Response &  res_exp,
std_srvs::Trigger::Request &  ,
std_srvs::Trigger::Response &  res 
)
inline

Definition at line 80 of file integrationtest_stop1.cpp.

◆ SetUp()

void prbt_hardware_support::Stop1IntegrationTest::SetUp ( )
override

Definition at line 96 of file integrationtest_stop1.cpp.

◆ TearDown()

void prbt_hardware_support::Stop1IntegrationTest::TearDown ( )
override

Definition at line 101 of file integrationtest_stop1.cpp.

Member Data Documentation

◆ manipulator

ManipulatorMock prbt_hardware_support::Stop1IntegrationTest::manipulator
protected

Definition at line 90 of file integrationtest_stop1.cpp.

◆ nh_

ros::NodeHandle prbt_hardware_support::Stop1IntegrationTest::nh_
protected

Definition at line 92 of file integrationtest_stop1.cpp.

◆ nh_priv_

ros::NodeHandle prbt_hardware_support::Stop1IntegrationTest::nh_priv_ { "~" }
protected

Definition at line 93 of file integrationtest_stop1.cpp.


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


prbt_hardware_support
Author(s):
autogenerated on Mon Feb 28 2022 23:14:34