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 ()
 
void SetUp () override
 
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 52 of file unittest_system_info.cpp.

Member Function Documentation

◆ advertiseGetObjectService()

void system_info_tests::SystemInfoTests::advertiseGetObjectService ( )
protected

Definition at line 76 of file unittest_system_info.cpp.

◆ MOCK_METHOD2()

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

◆ publishJointState()

void system_info_tests::SystemInfoTests::publishJointState ( )

Definition at line 106 of file unittest_system_info.cpp.

◆ SetUp()

void system_info_tests::SystemInfoTests::SetUp ( )
override

Definition at line 82 of file unittest_system_info.cpp.

◆ TearDown()

void system_info_tests::SystemInfoTests::TearDown ( )
override

Definition at line 97 of file unittest_system_info.cpp.

Member Data Documentation

◆ get_obj_service_

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

Definition at line 71 of file unittest_system_info.cpp.

◆ joint_names_

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

Definition at line 70 of file unittest_system_info.cpp.

◆ publisher_thread_

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

Definition at line 72 of file unittest_system_info.cpp.

◆ spinner_

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

Definition at line 68 of file unittest_system_info.cpp.

◆ terminate_

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

Definition at line 73 of file unittest_system_info.cpp.


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


prbt_support
Author(s):
autogenerated on Mon Feb 28 2022 23:14:45