Classes | Namespaces | Typedefs | Functions
unittest_operation_mode_setup_executor.cpp File Reference
#include <functional>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <ros/time.h>
#include <std_srvs/SetBool.h>
#include <pilz_msgs/GetSpeedOverride.h>
#include <prbt_hardware_support/OperationModes.h>
#include <prbt_hardware_support/operation_mode_setup_executor.h>
#include <prbt_hardware_support/operation_mode_setup_executor_node_service_calls.h>
Include dependency graph for unittest_operation_mode_setup_executor.cpp:

Go to the source code of this file.

Classes

class  operation_mode_setup_executor_tests::MonitorCartesianSpeedServiceMock
 
class  operation_mode_setup_executor_tests::OperationModeSetupExecutorTest
 
class  operation_mode_setup_executor_tests::OperationModeSetupExecutorTestSpeedOverride
 

Namespaces

 operation_mode_setup_executor_tests
 

Typedefs

typedef ::testing::NiceMock< OperationModeSetupExecutorTestSpeedOverride > operation_mode_setup_executor_tests::OperationModeSetupExecutorTestSpeedOverrideNice
 

Functions

 operation_mode_setup_executor_tests::INSTANTIATE_TEST_CASE_P (SpeedOverrideModeTests, OperationModeSetupExecutorTestSpeedOverrideNice, ::testing::Values(std::pair< OperationModes::_value_type, double >(OperationModes::UNKNOWN, 0.0), std::pair< OperationModes::_value_type, double >(OperationModes::T1, 0.1), std::pair< OperationModes::_value_type, double >(OperationModes::AUTO, 1.0)),)
 
int main (int argc, char *argv[])
 
 operation_mode_setup_executor_tests::MATCHER_P (IsSpeedMonitoringSettingCorrect, active_flag, "")
 
 operation_mode_setup_executor_tests::TEST_F (OperationModeSetupExecutorTest, testUpdateOperationMode)
 
 operation_mode_setup_executor_tests::TEST_F (OperationModeSetupExecutorTest, testUpdateOperationModeSameMode)
 
 operation_mode_setup_executor_tests::TEST_F (OperationModeSetupExecutorTest, testUpdateOperationModeSameTime)
 
 operation_mode_setup_executor_tests::TEST_F (OperationModeSetupExecutorTest, testUpdateOperationModeUnknownMode)
 
 operation_mode_setup_executor_tests::TEST_F (OperationModeSetupExecutorTest, testMonitorCartesianSpeedSrvSuccess)
 Tests the correct behavior in case the MonitorCartesianSpeed service succeeds. More...
 
 operation_mode_setup_executor_tests::TEST_F (OperationModeSetupExecutorTest, testMonitorCartesianSpeedSrvFailure)
 Tests the correct behavior in case the MonitorCartesianSpeed service fails. More...
 
 operation_mode_setup_executor_tests::TEST_P (OperationModeSetupExecutorTestSpeedOverrideNice, testSpeedOverride)
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 304 of file unittest_operation_mode_setup_executor.cpp.



prbt_hardware_support
Author(s):
autogenerated on Thu Nov 19 2020 03:11:51