Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
system_info_tests::SystemInfoTests Class Reference

Collection of tests checking the functionality of the SystemInfo class. More...

Inheritance diagram for system_info_tests::SystemInfoTests:
Inheritance graph
[legend]

Public Member Functions

void publishJointState ()
 
virtual void SetUp () override
 
virtual void TearDown () override
 

Protected Member Functions

void advertiseGetObjectService ()
 
 MOCK_METHOD2 (executeGetObject, bool(GetObject::Request &, GetObject::Response &))
 

Protected Attributes

ros::ServiceServer get_obj_service_
 
const std::vector< std::string > joint_names_ {"joint1", "joint2"}
 
std::thread publisher_thread_
 
ros::AsyncSpinner spinner_ {2}
 
std::atomic_bool terminate_ {false}
 

Detailed Description

Collection of tests checking the functionality of the SystemInfo class.

Definition at line 53 of file unittest_system_info.cpp.

Member Function Documentation

void system_info_tests::SystemInfoTests::advertiseGetObjectService ( )
protected

Definition at line 78 of file unittest_system_info.cpp.

system_info_tests::SystemInfoTests::MOCK_METHOD2 ( executeGetObject  ,
bool(GetObject::Request &, GetObject::Response &)   
)
protected
void system_info_tests::SystemInfoTests::publishJointState ( )

Definition at line 110 of file unittest_system_info.cpp.

void system_info_tests::SystemInfoTests::SetUp ( )
overridevirtual

Definition at line 86 of file unittest_system_info.cpp.

void system_info_tests::SystemInfoTests::TearDown ( )
overridevirtual

Definition at line 101 of file unittest_system_info.cpp.

Member Data Documentation

ros::ServiceServer system_info_tests::SystemInfoTests::get_obj_service_
protected

Definition at line 72 of file unittest_system_info.cpp.

const std::vector<std::string> system_info_tests::SystemInfoTests::joint_names_ {"joint1", "joint2"}
protected

Definition at line 71 of file unittest_system_info.cpp.

std::thread system_info_tests::SystemInfoTests::publisher_thread_
protected

Definition at line 73 of file unittest_system_info.cpp.

ros::AsyncSpinner system_info_tests::SystemInfoTests::spinner_ {2}
protected

Definition at line 69 of file unittest_system_info.cpp.

std::atomic_bool system_info_tests::SystemInfoTests::terminate_ {false}
protected

Definition at line 74 of file unittest_system_info.cpp.


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


prbt_hardware_support
Author(s):
autogenerated on Tue Feb 2 2021 03:50:18