Classes | Namespaces | Functions | Variables
integrationtest_operation_mode.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <memory>
#include <string>
#include <ros/ros.h>
#include <modbus/modbus.h>
#include <pilz_msgs/OperationModes.h>
#include <pilz_testutils/async_test.h>
#include <prbt_hardware_support/pilz_modbus_server_mock.h>
#include <prbt_hardware_support/ros_test_helper.h>
#include <prbt_hardware_support/modbus_api_definitions.h>
#include <prbt_hardware_support/modbus_api_spec.h>
Include dependency graph for integrationtest_operation_mode.cpp:

Go to the source code of this file.

Classes

class  prbt_hardware_support::OperationModeIntegrationTest
 OperationModeIntegrationTest checks if the chain ModbusServerMock -> ModbusReadClient -> ModbusAdapterOperationMode functions properly. More...
 
class  prbt_hardware_support::OperationModeSubscriberMock
 Redirects callbacks of a ros::Subscriber to a mock method. More...
 

Namespaces

 prbt_hardware_support
 

Functions

int main (int argc, char *argv[])
 
 prbt_hardware_support::MATCHER_P (IsExpectedOperationMode, exp_mode, "unexpected operation mode")
 
 prbt_hardware_support::TEST_F (OperationModeIntegrationTest, testOperationModeRequestAnnouncement)
 

Variables

static const std::string prbt_hardware_support::OPERATION_MODE_CALLBACK_EVENT { "operation_mode_callback_event" }
 
static constexpr int prbt_hardware_support::OPERATION_MODE_QUEUE_SIZE { 1 }
 
static const std::string prbt_hardware_support::TOPIC_OPERATION_MODE { "/prbt/operation_mode" }
 

Function Documentation

◆ main()

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

Definition at line 219 of file integrationtest_operation_mode.cpp.



prbt_hardware_support
Author(s):
autogenerated on Wed Nov 25 2020 03:10:38