test_defaultsMissing.cpp
Go to the documentation of this file.
1 #include <gtest/gtest.h>
2 #include <ros/ros.h>
3 #include <rosparam_handler/DefaultsMissingParameters.h>
4 
5 typedef rosparam_handler::DefaultsMissingParameters ParamType;
6 typedef rosparam_handler::DefaultsMissingConfig ConfigType;
7 
8 TEST(RosparamHandler, DefaultsMissing) {
9  ParamType testParams(ros::NodeHandle("~"));
10  ASSERT_THROW(testParams.fromParamServer(), std::runtime_error);
11 }
rosparam_handler::DefaultsMissingConfig ConfigType
TEST(RosparamHandler, DefaultsMissing)
rosparam_handler::DefaultsMissingParameters ParamType
rosparam_handler::DefaultsParameters ParamType


rosparam_handler
Author(s): Claudio Bandera
autogenerated on Mon Jun 10 2019 14:48:10