#include <boost/test/unit_test.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include "game_version.hpp"
#include "serialization/parser.hpp"
#include "serialization/preprocessor.hpp"
#include "serialization/schema_validator.hpp"
#include "wml_exception.hpp"
Go to the source code of this file.
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-test" |
Functions | |
BOOST_AUTO_TEST_CASE (test_super_cycle) | |
BOOST_AUTO_TEST_CASE (test_super_cycle_only_if_used) | |
BOOST_AUTO_TEST_CASE (test_super_cycle_crashes_on_unknown_key) | |
BOOST_AUTO_TEST_CASE (test_super_missing) | |
BOOST_AUTO_TEST_CASE (test_super_missing_only_if_used) | |
BOOST_AUTO_TEST_CASE (test_super_mandatory) | |
BOOST_AUTO_TEST_CASE (test_super_mandatory_missing) | |
BOOST_AUTO_TEST_CASE (test_super_cycle_mandatory) | |
BOOST_AUTO_TEST_CASE (test_schema_link_cycle) | |
#define GETTEXT_DOMAIN "wesnoth-test" |
Definition at line 16 of file test_schema_validator.cpp.
BOOST_AUTO_TEST_CASE | ( | test_schema_link_cycle | ) |
Definition at line 196 of file test_schema_validator.cpp.
References utils::contains(), and e.
BOOST_AUTO_TEST_CASE | ( | test_super_cycle | ) |
Definition at line 30 of file test_schema_validator.cpp.
References utils::contains(), e, preprocess_file(), read(), validator, and game_config::wesnoth_version.
BOOST_AUTO_TEST_CASE | ( | test_super_cycle_crashes_on_unknown_key | ) |
Definition at line 72 of file test_schema_validator.cpp.
References utils::contains(), e, preprocess_file(), read(), validator, and game_config::wesnoth_version.
BOOST_AUTO_TEST_CASE | ( | test_super_cycle_mandatory | ) |
Definition at line 177 of file test_schema_validator.cpp.
References preprocess_file(), read(), validator, and game_config::wesnoth_version.
BOOST_AUTO_TEST_CASE | ( | test_super_cycle_only_if_used | ) |
Definition at line 53 of file test_schema_validator.cpp.
References preprocess_file(), read(), validator, and game_config::wesnoth_version.
BOOST_AUTO_TEST_CASE | ( | test_super_mandatory | ) |
Definition at line 136 of file test_schema_validator.cpp.
References preprocess_file(), read(), validator, and game_config::wesnoth_version.
BOOST_AUTO_TEST_CASE | ( | test_super_mandatory_missing | ) |
Definition at line 155 of file test_schema_validator.cpp.
References utils::contains(), e, preprocess_file(), read(), validator, and game_config::wesnoth_version.
BOOST_AUTO_TEST_CASE | ( | test_super_missing | ) |
Definition at line 95 of file test_schema_validator.cpp.
References utils::contains(), e, preprocess_file(), read(), validator, and game_config::wesnoth_version.
BOOST_AUTO_TEST_CASE | ( | test_super_missing_only_if_used | ) |
Definition at line 117 of file test_schema_validator.cpp.
References preprocess_file(), read(), validator, and game_config::wesnoth_version.