Classes | Functions
hwi_update_test.cpp File Reference
#include <hardware_interface/robot_hw.h>
#include <controller_interface/controller_base.h>
#include <controller_manager_msgs/SwitchController.h>
#include <controller_manager/controller_loader_interface.h>
#include <controller_manager/controller_manager.h>
#include <ros/ros.h>
#include <gmock/gmock.h>
#include <memory>
#include <functional>
Include dependency graph for hwi_update_test.cpp:

Go to the source code of this file.

Classes

class  ControllerLoaderMock
 
class  ControllerManagerTest
 
class  ControllerMock
 
class  RobotHWMock
 

Functions

int main (int argc, char **argv)
 
 TEST_F (ControllerManagerTest, NoSwitchTest)
 
 TEST_F (ControllerManagerTest, SwitchOnlyTest)
 
 TEST_F (ControllerManagerTest, SwitchControllersTest)
 
 TEST_F (ControllerManagerTest, SwitchControllersAbortTest)
 
 TEST_F (ControllerManagerTest, SwitchControllersTimeoutTest)
 
 TEST_F (ControllerManagerTest, ControllerUpdatesTest)
 
 TEST_F (ControllerManagerTest, SwitchControllersAsapTest)
 
 TEST_F (ControllerManagerTest, SwitchControllersAsapAbortTest)
 
 TEST_F (ControllerManagerTest, SwitchControllersAsapTimeoutTest)
 
void update (std::shared_ptr< controller_manager::ControllerManager > cm, const ros::TimerEvent &e)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 491 of file hwi_update_test.cpp.

◆ TEST_F() [1/9]

TEST_F ( ControllerManagerTest  ,
NoSwitchTest   
)

Definition at line 173 of file hwi_update_test.cpp.

◆ TEST_F() [2/9]

TEST_F ( ControllerManagerTest  ,
SwitchOnlyTest   
)

Definition at line 182 of file hwi_update_test.cpp.

◆ TEST_F() [3/9]

TEST_F ( ControllerManagerTest  ,
SwitchControllersTest   
)

Definition at line 201 of file hwi_update_test.cpp.

◆ TEST_F() [4/9]

TEST_F ( ControllerManagerTest  ,
SwitchControllersAbortTest   
)

Definition at line 241 of file hwi_update_test.cpp.

◆ TEST_F() [5/9]

TEST_F ( ControllerManagerTest  ,
SwitchControllersTimeoutTest   
)

Definition at line 272 of file hwi_update_test.cpp.

◆ TEST_F() [6/9]

TEST_F ( ControllerManagerTest  ,
ControllerUpdatesTest   
)

Definition at line 307 of file hwi_update_test.cpp.

◆ TEST_F() [7/9]

TEST_F ( ControllerManagerTest  ,
SwitchControllersAsapTest   
)

Definition at line 358 of file hwi_update_test.cpp.

◆ TEST_F() [8/9]

TEST_F ( ControllerManagerTest  ,
SwitchControllersAsapAbortTest   
)

Definition at line 406 of file hwi_update_test.cpp.

◆ TEST_F() [9/9]

TEST_F ( ControllerManagerTest  ,
SwitchControllersAsapTimeoutTest   
)

Definition at line 455 of file hwi_update_test.cpp.

◆ update()

void update ( std::shared_ptr< controller_manager::ControllerManager cm,
const ros::TimerEvent e 
)

Definition at line 168 of file hwi_update_test.cpp.



controller_manager
Author(s): Wim Meeussen, Mathias Lüdtke
autogenerated on Mon Feb 28 2022 23:30:17