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

BrakeTestRequiredIntegrationTest checks if the chain ModbusServerMock -> ModbusReadClient -> ModbusAdapterBrakeTest functions properly. More...

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

Public Member Functions

 MOCK_METHOD2 (modbusWrite, bool(WriteModbusRegister::Request &, WriteModbusRegister::Response &))
 

Protected Attributes

ros::ServiceServer modbus_service_
 
ros::NodeHandle nh_
 
ros::NodeHandle nh_priv_ {"~"}
 

Detailed Description

BrakeTestRequiredIntegrationTest checks if the chain ModbusServerMock -> ModbusReadClient -> ModbusAdapterBrakeTest functions properly.

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

Definition at line 71 of file integrationtest_brake_test_required.cpp.

Member Function Documentation

◆ MOCK_METHOD2()

prbt_hardware_support::BrakeTestRequiredIntegrationTest::MOCK_METHOD2 ( modbusWrite  ,
bool(WriteModbusRegister::Request &, WriteModbusRegister::Response &)   
)

Member Data Documentation

◆ modbus_service_

ros::ServiceServer prbt_hardware_support::BrakeTestRequiredIntegrationTest::modbus_service_
protected
Initial value:
{
&BrakeTestRequiredIntegrationTest::modbusWrite,
this)
}

Definition at line 81 of file integrationtest_brake_test_required.cpp.

◆ nh_

ros::NodeHandle prbt_hardware_support::BrakeTestRequiredIntegrationTest::nh_
protected

Definition at line 77 of file integrationtest_brake_test_required.cpp.

◆ nh_priv_

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

Definition at line 78 of file integrationtest_brake_test_required.cpp.


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


prbt_hardware_support
Author(s):
autogenerated on Tue Feb 25 2020 03:19:31