Functions | Variables
test_param.cpp File Reference
#include <catch_ros/catch.hpp>
#include "../../src/launch/launch_config.h"
#include "param_utils.h"
Include dependency graph for test_param.cpp:

Go to the source code of this file.

Functions

 checkTypedParam< std::string > (params,"/param1", XmlRpc::XmlRpcValue::TypeString,"hello")
 
 checkTypedParam< std::string > (params,"/racecar/test_node/private_param", XmlRpc::XmlRpcValue::TypeString,"hello again")
 
config evaluateParameters ()
 
config parseString (R"EOF( <launch> <group ns="/"> <param name="param1" value="hello" /> </group> <node name="test_node" pkg="rosmon_core" type="abort" ns="/racecar"> <param name="private_param" value="hello again" /> </node> </launch> )EOF")
 
 TEST_CASE ("global_param","[param]")
 
 TEST_CASE ("param_types","[param]")
 
 TEST_CASE ("param command","[param]")
 
 TEST_CASE ("param failing command","[param]")
 
 TEST_CASE ("param textfile","[param]")
 
 TEST_CASE ("param textfile does not exist","[param]")
 
 TEST_CASE ("param binfile","[param]")
 
 TEST_CASE ("scoped params","[param]")
 
 TEST_CASE ("wrong param types","[param]")
 
 TEST_CASE ("invalid param input combinations","[param]")
 
 TEST_CASE ("invalid param names","[param]")
 

Variables

auto & params = config.parameters()
 

Function Documentation

checkTypedParam< std::string > ( params  ,
"/param1"  ,
XmlRpc::XmlRpcValue::TypeString  ,
"hello"   
)
checkTypedParam< std::string > ( params  ,
"/racecar/test_node/private_param"  ,
XmlRpc::XmlRpcValue::TypeString  ,
"hello again"   
)
config evaluateParameters ( )
config parseString ( R"EOF( <launch> <group ns="/"> <param name="param1" value="hello" /> </group> <node name="test_node" pkg="rosmon_core" type="abort" ns="/racecar"> <param name="private_param" value="hello again" /> </node> </launch> )EOF"  )
TEST_CASE ( "global_param"  ,
""  [param] 
)

Definition at line 12 of file test_param.cpp.

TEST_CASE ( "param_types"  ,
""  [param] 
)

Definition at line 33 of file test_param.cpp.

TEST_CASE ( "param command ,
""  [param] 
)

Definition at line 80 of file test_param.cpp.

TEST_CASE ( "param failing command ,
""  [param] 
)

Definition at line 103 of file test_param.cpp.

TEST_CASE ( "param textfile"  ,
""  [param] 
)

Definition at line 113 of file test_param.cpp.

TEST_CASE ( "param textfile does not exist"  ,
""  [param] 
)

Definition at line 129 of file test_param.cpp.

TEST_CASE ( "param binfile"  ,
""  [param] 
)

Definition at line 146 of file test_param.cpp.

TEST_CASE ( "scoped params ,
""  [param] 
)

Definition at line 176 of file test_param.cpp.

TEST_CASE ( "wrong param types"  ,
""  [param] 
)

Definition at line 226 of file test_param.cpp.

TEST_CASE ( "invalid param input combinations"  ,
""  [param] 
)

Definition at line 265 of file test_param.cpp.

TEST_CASE ( "invalid param names"  ,
""  [param] 
)

Definition at line 283 of file test_param.cpp.

Variable Documentation

auto& params = config.parameters()

Definition at line 220 of file test_param.cpp.



rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12