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