16#define GETTEXT_DOMAIN "wesnoth-test"
18#include <boost/test/unit_test.hpp>
20#include <boost/algorithm/string/predicate.hpp>
31 constexpr auto schema_path =
"src/tests/wml/schema/test_schema_self_validator/test_schema_super_self_reference.cfg";
33 BOOST_CHECK_EXCEPTION(
35 return boost::algorithm::contains(
e.dev_message,
"Inheritance loop super=main found");
43 constexpr auto schema_path =
"src/tests/wml/schema/test_schema_self_validator/test_schema_super_cycle.cfg";
45 BOOST_CHECK_EXCEPTION(
47 return boost::algorithm::contains(
e.dev_message,
"Inheritance loop super=main/first found");
51BOOST_AUTO_TEST_SUITE_END()
Realization of serialization/validator.hpp abstract validator.
One of the realizations of serialization/validator.hpp abstract validator.
Helper class, don't construct this directly.
BOOST_AUTO_TEST_SUITE(filesystem)
BOOST_AUTO_TEST_CASE(test_schema_super_self_reference)
bool strict_validation_enabled
Add a special kind of assert to validate whether the input from WML doesn't contain any problems that...