4 #include <catch_ros/catch.hpp> 6 #include "../../src/launch/launch_config.h" 17 <env name="test" value="hello world" /> 19 <node name="test_node" pkg="rosmon_core" type="abort" /> 25 auto nodes = config.
nodes();
28 REQUIRE(nodes.size() == 1);
30 auto node = nodes.at(0);
32 auto env = node->extraEnvironment();
35 CHECK(
env.at(
"test") ==
"hello world");
const std::vector< Node::Ptr > & nodes() const
void evaluateParameters()
void parseString(const std::string &input, bool onlyArguments=false)
std::string env(const std::string &name)
TEST_CASE("env basic","[env]")