Main Page
Namespaces
Classes
Files
File List
File Members
test
xml
core_utils.h
Go to the documentation of this file.
1
// General test utilities
2
// Author: Max Schwarz <max.schwarz@ais.uni-bonn.de>
3
4
#ifndef CORE_UTILS_H
5
#define CORE_UTILS_H
6
7
#include <catch_ros/catch.hpp>
8
9
#include "../../src/launch/launch_config.h"
10
11
static
void
requireParsingException
(
const
std::string& input)
12
{
13
CAPTURE(input);
14
REQUIRE_THROWS_AS(
15
rosmon::launch::LaunchConfig
().
parseString
(input),
16
rosmon::launch::ParseException
17
);
18
}
19
20
#endif
rosmon::launch::LaunchConfig
Definition:
launch_config.h:152
requireParsingException
static void requireParsingException(const std::string &input)
Definition:
core_utils.h:11
parseString
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")
rosmon::launch::ParseException
Definition:
launch_config.h:28
rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12