16 #define GETTEXT_DOMAIN "wesnoth-test"
18 #include <boost/test/unit_test.hpp>
26 const char* doctext = R
"([test]
39 BOOST_CHECK(test_node);
40 BOOST_CHECK((*test_node)[
"a"] ==
"blah");
41 BOOST_CHECK((*test_node)[
"b"] ==
"blah");
42 BOOST_CHECK((*test_node)[
"c"] ==
"\\\\");
43 BOOST_CHECK((*test_node)[
"d"] ==
"\\\"\"");
44 BOOST_CHECK(node[
"blah"] ==
"blah");
45 BOOST_CHECK((*test_node)[
"e"] ==
"f");
49 BOOST_AUTO_TEST_SUITE_END()
node * child(const char *name)
node & set_attr(const char *key, const char *value)
BOOST_AUTO_TEST_SUITE(filesystem)
BOOST_AUTO_TEST_CASE(simple_wml_first_test)