22 #define GETTEXT_DOMAIN "wesnoth-test"
25 #include <boost/test/unit_test.hpp>
32 std::string actual =
"#define Macro\n"
37 "{Macro}{Macro}{Macro}\n";
38 std::string expected =
"";
39 for(
int i = 0;
i < 6; ++
i) {
40 expected +=
"[A][/A]";
48 std::string actual =
"#define MACRO\n"
51 std::string expected =
"a=\"abc\"";
55 BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_SUITE(filesystem)
BOOST_AUTO_TEST_CASE(macro_define_noArgument_ParseAsExpected)
void check_wml_equivalence(const std::string &a, const std::string &b)
Assert two WML strings are equivalent.
Tool to check if two WML string are equivalent.