#include <catch_ros/catch.hpp>
#include "../../src/launch/launch_config.h"
#include "param_utils.h"
Go to the source code of this file.
|
| 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]") |
|
| TEST_CASE ("param whitespace","[param]") |
|
|
auto & | params = config.parameters() |
|
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] |
|
) |
| |
TEST_CASE |
( |
"param whitespace" |
, |
|
|
"" |
[param] |
|
) |
| |
auto& params = config.parameters() |