The Battle for Wesnoth  1.19.0-dev
Macros | Functions
test_schema_validator.cpp File Reference
#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"
Include dependency graph for test_schema_validator.cpp:

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)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-test"

Definition at line 16 of file test_schema_validator.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

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() [2/9]

BOOST_AUTO_TEST_CASE ( test_super_cycle  )

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( test_super_cycle_crashes_on_unknown_key  )

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( test_super_cycle_mandatory  )

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( test_super_cycle_only_if_used  )

Definition at line 53 of file test_schema_validator.cpp.

References preprocess_file(), read(), and game_config::wesnoth_version.

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( test_super_mandatory  )

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( test_super_mandatory_missing  )

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( test_super_missing  )

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( test_super_missing_only_if_used  )